2024-08-07 18:58:31 +03:00
{
2024-09-24 13:31:07 +03:00
"address" : "0xCDef8d6884557be4F68dC265b6bB2E3e52a6C9d6" ,
2024-08-07 18:58:31 +03:00
"abi" : [
{
"inputs" : [
{
"components" : [
{
"components" : [
{
"internalType" : "uint8" ,
"name" : "repairRewardPercentage" ,
"type" : "uint8"
} ,
{
"internalType" : "uint8" ,
"name" : "maxNumberOfSlashes" ,
"type" : "uint8"
} ,
{
"internalType" : "uint16" ,
"name" : "slashCriterion" ,
"type" : "uint16"
} ,
{
"internalType" : "uint8" ,
"name" : "slashPercentage" ,
"type" : "uint8"
}
] ,
"internalType" : "struct CollateralConfig" ,
"name" : "collateral" ,
"type" : "tuple"
} ,
{
"components" : [
{
"internalType" : "uint256" ,
"name" : "period" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "timeout" ,
"type" : "uint256"
} ,
{
"internalType" : "uint8" ,
"name" : "downtime" ,
"type" : "uint8"
} ,
{
"internalType" : "string" ,
"name" : "zkeyHash" ,
"type" : "string"
2024-09-24 13:31:07 +03:00
} ,
{
"internalType" : "uint8" ,
"name" : "downtimeProduct" ,
"type" : "uint8"
2024-08-07 18:58:31 +03:00
}
] ,
"internalType" : "struct ProofConfig" ,
"name" : "proofs" ,
"type" : "tuple"
}
] ,
"internalType" : "struct MarketplaceConfig" ,
"name" : "configuration" ,
"type" : "tuple"
} ,
{
"internalType" : "contract IERC20" ,
"name" : "token_" ,
"type" : "address"
} ,
{
"internalType" : "contract IGroth16Verifier" ,
"name" : "verifier" ,
"type" : "address"
}
] ,
"stateMutability" : "nonpayable" ,
"type" : "constructor"
} ,
{
"anonymous" : false ,
"inputs" : [
{
"indexed" : false ,
"internalType" : "SlotId" ,
"name" : "id" ,
"type" : "bytes32"
}
] ,
"name" : "ProofSubmitted" ,
"type" : "event"
} ,
{
"anonymous" : false ,
"inputs" : [
{
"indexed" : true ,
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
}
] ,
"name" : "RequestCancelled" ,
"type" : "event"
} ,
{
"anonymous" : false ,
"inputs" : [
{
"indexed" : true ,
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
}
] ,
"name" : "RequestFailed" ,
"type" : "event"
} ,
{
"anonymous" : false ,
"inputs" : [
{
"indexed" : true ,
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
}
] ,
"name" : "RequestFulfilled" ,
"type" : "event"
} ,
{
"anonymous" : false ,
"inputs" : [
{
"indexed" : true ,
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
} ,
{
"indexed" : false ,
"internalType" : "uint256" ,
"name" : "slotIndex" ,
"type" : "uint256"
}
] ,
"name" : "SlotFilled" ,
"type" : "event"
} ,
{
"anonymous" : false ,
"inputs" : [
{
"indexed" : true ,
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
} ,
{
"indexed" : false ,
"internalType" : "uint256" ,
"name" : "slotIndex" ,
"type" : "uint256"
}
] ,
"name" : "SlotFreed" ,
"type" : "event"
} ,
{
"anonymous" : false ,
"inputs" : [
{
"indexed" : false ,
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
} ,
{
"components" : [
{
"internalType" : "uint64" ,
"name" : "slots" ,
"type" : "uint64"
} ,
{
"internalType" : "uint256" ,
"name" : "slotSize" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "duration" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "proofProbability" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "reward" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "collateral" ,
"type" : "uint256"
} ,
{
"internalType" : "uint64" ,
"name" : "maxSlotLoss" ,
"type" : "uint64"
}
] ,
"indexed" : false ,
"internalType" : "struct Ask" ,
"name" : "ask" ,
"type" : "tuple"
} ,
{
"indexed" : false ,
"internalType" : "uint256" ,
"name" : "expiry" ,
"type" : "uint256"
}
] ,
"name" : "StorageRequested" ,
"type" : "event"
} ,
{
"inputs" : [ ] ,
"name" : "config" ,
"outputs" : [
{
"components" : [
{
"components" : [
{
"internalType" : "uint8" ,
"name" : "repairRewardPercentage" ,
"type" : "uint8"
} ,
{
"internalType" : "uint8" ,
"name" : "maxNumberOfSlashes" ,
"type" : "uint8"
} ,
{
"internalType" : "uint16" ,
"name" : "slashCriterion" ,
"type" : "uint16"
} ,
{
"internalType" : "uint8" ,
"name" : "slashPercentage" ,
"type" : "uint8"
}
] ,
"internalType" : "struct CollateralConfig" ,
"name" : "collateral" ,
"type" : "tuple"
} ,
{
"components" : [
{
"internalType" : "uint256" ,
"name" : "period" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "timeout" ,
"type" : "uint256"
} ,
{
"internalType" : "uint8" ,
"name" : "downtime" ,
"type" : "uint8"
} ,
{
"internalType" : "string" ,
"name" : "zkeyHash" ,
"type" : "string"
2024-09-24 13:31:07 +03:00
} ,
{
"internalType" : "uint8" ,
"name" : "downtimeProduct" ,
"type" : "uint8"
2024-08-07 18:58:31 +03:00
}
] ,
"internalType" : "struct ProofConfig" ,
"name" : "proofs" ,
"type" : "tuple"
}
] ,
"internalType" : "struct MarketplaceConfig" ,
"name" : "" ,
"type" : "tuple"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
} ,
{
"internalType" : "uint256" ,
"name" : "slotIndex" ,
"type" : "uint256"
} ,
{
"components" : [
{
"components" : [
{
"internalType" : "uint256" ,
"name" : "x" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "y" ,
"type" : "uint256"
}
] ,
"internalType" : "struct G1Point" ,
"name" : "a" ,
"type" : "tuple"
} ,
{
"components" : [
{
"components" : [
{
"internalType" : "uint256" ,
"name" : "real" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "imag" ,
"type" : "uint256"
}
] ,
"internalType" : "struct Fp2Element" ,
"name" : "x" ,
"type" : "tuple"
} ,
{
"components" : [
{
"internalType" : "uint256" ,
"name" : "real" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "imag" ,
"type" : "uint256"
}
] ,
"internalType" : "struct Fp2Element" ,
"name" : "y" ,
"type" : "tuple"
}
] ,
"internalType" : "struct G2Point" ,
"name" : "b" ,
"type" : "tuple"
} ,
{
"components" : [
{
"internalType" : "uint256" ,
"name" : "x" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "y" ,
"type" : "uint256"
}
] ,
"internalType" : "struct G1Point" ,
"name" : "c" ,
"type" : "tuple"
}
] ,
"internalType" : "struct Groth16Proof" ,
"name" : "proof" ,
"type" : "tuple"
}
] ,
"name" : "fillSlot" ,
"outputs" : [ ] ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
2024-09-24 13:31:07 +03:00
{
"inputs" : [
{
"internalType" : "SlotId" ,
"name" : "slotId" ,
"type" : "bytes32"
} ,
{
"internalType" : "address" ,
"name" : "rewardRecipient" ,
"type" : "address"
} ,
{
"internalType" : "address" ,
"name" : "collateralRecipient" ,
"type" : "address"
}
] ,
"name" : "freeSlot" ,
"outputs" : [ ] ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
2024-08-07 18:58:31 +03:00
{
"inputs" : [
{
"internalType" : "SlotId" ,
"name" : "slotId" ,
"type" : "bytes32"
}
] ,
"name" : "freeSlot" ,
"outputs" : [ ] ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "SlotId" ,
"name" : "slotId" ,
"type" : "bytes32"
}
] ,
"name" : "getActiveSlot" ,
"outputs" : [
{
"components" : [
{
"components" : [
{
"internalType" : "address" ,
"name" : "client" ,
"type" : "address"
} ,
{
"components" : [
{
"internalType" : "uint64" ,
"name" : "slots" ,
"type" : "uint64"
} ,
{
"internalType" : "uint256" ,
"name" : "slotSize" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "duration" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "proofProbability" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "reward" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "collateral" ,
"type" : "uint256"
} ,
{
"internalType" : "uint64" ,
"name" : "maxSlotLoss" ,
"type" : "uint64"
}
] ,
"internalType" : "struct Ask" ,
"name" : "ask" ,
"type" : "tuple"
} ,
{
"components" : [
{
"internalType" : "string" ,
"name" : "cid" ,
"type" : "string"
} ,
{
"internalType" : "bytes32" ,
"name" : "merkleRoot" ,
"type" : "bytes32"
}
] ,
"internalType" : "struct Content" ,
"name" : "content" ,
"type" : "tuple"
} ,
{
"internalType" : "uint256" ,
"name" : "expiry" ,
"type" : "uint256"
} ,
{
"internalType" : "bytes32" ,
"name" : "nonce" ,
"type" : "bytes32"
}
] ,
"internalType" : "struct Request" ,
"name" : "request" ,
"type" : "tuple"
} ,
{
"internalType" : "uint256" ,
"name" : "slotIndex" ,
"type" : "uint256"
}
] ,
"internalType" : "struct Marketplace.ActiveSlot" ,
"name" : "" ,
"type" : "tuple"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "SlotId" ,
"name" : "id" ,
"type" : "bytes32"
}
] ,
"name" : "getChallenge" ,
"outputs" : [
{
"internalType" : "bytes32" ,
"name" : "" ,
"type" : "bytes32"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "SlotId" ,
"name" : "slotId" ,
"type" : "bytes32"
}
] ,
"name" : "getHost" ,
"outputs" : [
{
"internalType" : "address" ,
"name" : "" ,
"type" : "address"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "SlotId" ,
"name" : "id" ,
"type" : "bytes32"
}
] ,
"name" : "getPointer" ,
"outputs" : [
{
"internalType" : "uint8" ,
"name" : "" ,
"type" : "uint8"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
}
] ,
"name" : "getRequest" ,
"outputs" : [
{
"components" : [
{
"internalType" : "address" ,
"name" : "client" ,
"type" : "address"
} ,
{
"components" : [
{
"internalType" : "uint64" ,
"name" : "slots" ,
"type" : "uint64"
} ,
{
"internalType" : "uint256" ,
"name" : "slotSize" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "duration" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "proofProbability" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "reward" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "collateral" ,
"type" : "uint256"
} ,
{
"internalType" : "uint64" ,
"name" : "maxSlotLoss" ,
"type" : "uint64"
}
] ,
"internalType" : "struct Ask" ,
"name" : "ask" ,
"type" : "tuple"
} ,
{
"components" : [
{
"internalType" : "string" ,
"name" : "cid" ,
"type" : "string"
} ,
{
"internalType" : "bytes32" ,
"name" : "merkleRoot" ,
"type" : "bytes32"
}
] ,
"internalType" : "struct Content" ,
"name" : "content" ,
"type" : "tuple"
} ,
{
"internalType" : "uint256" ,
"name" : "expiry" ,
"type" : "uint256"
} ,
{
"internalType" : "bytes32" ,
"name" : "nonce" ,
"type" : "bytes32"
}
] ,
"internalType" : "struct Request" ,
"name" : "" ,
"type" : "tuple"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "SlotId" ,
"name" : "id" ,
"type" : "bytes32"
}
] ,
"name" : "isProofRequired" ,
"outputs" : [
{
"internalType" : "bool" ,
"name" : "" ,
"type" : "bool"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "SlotId" ,
"name" : "slotId" ,
"type" : "bytes32"
} ,
{
"internalType" : "Periods.Period" ,
"name" : "period" ,
"type" : "uint256"
}
] ,
"name" : "markProofAsMissing" ,
"outputs" : [ ] ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "SlotId" ,
"name" : "slotId" ,
"type" : "bytes32"
}
] ,
"name" : "missingProofs" ,
"outputs" : [
{
"internalType" : "uint256" ,
"name" : "" ,
"type" : "uint256"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [ ] ,
"name" : "myRequests" ,
"outputs" : [
{
"internalType" : "RequestId[]" ,
"name" : "" ,
"type" : "bytes32[]"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [ ] ,
"name" : "mySlots" ,
"outputs" : [
{
"internalType" : "SlotId[]" ,
"name" : "" ,
"type" : "bytes32[]"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
}
] ,
"name" : "requestEnd" ,
"outputs" : [
{
"internalType" : "uint256" ,
"name" : "" ,
"type" : "uint256"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
}
] ,
"name" : "requestExpiry" ,
"outputs" : [
{
"internalType" : "uint256" ,
"name" : "" ,
"type" : "uint256"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
}
] ,
"name" : "requestState" ,
"outputs" : [
{
"internalType" : "enum RequestState" ,
"name" : "" ,
"type" : "uint8"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"components" : [
{
"internalType" : "address" ,
"name" : "client" ,
"type" : "address"
} ,
{
"components" : [
{
"internalType" : "uint64" ,
"name" : "slots" ,
"type" : "uint64"
} ,
{
"internalType" : "uint256" ,
"name" : "slotSize" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "duration" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "proofProbability" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "reward" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "collateral" ,
"type" : "uint256"
} ,
{
"internalType" : "uint64" ,
"name" : "maxSlotLoss" ,
"type" : "uint64"
}
] ,
"internalType" : "struct Ask" ,
"name" : "ask" ,
"type" : "tuple"
} ,
{
"components" : [
{
"internalType" : "string" ,
"name" : "cid" ,
"type" : "string"
} ,
{
"internalType" : "bytes32" ,
"name" : "merkleRoot" ,
"type" : "bytes32"
}
] ,
"internalType" : "struct Content" ,
"name" : "content" ,
"type" : "tuple"
} ,
{
"internalType" : "uint256" ,
"name" : "expiry" ,
"type" : "uint256"
} ,
{
"internalType" : "bytes32" ,
"name" : "nonce" ,
"type" : "bytes32"
}
] ,
"internalType" : "struct Request" ,
"name" : "request" ,
"type" : "tuple"
}
] ,
"name" : "requestStorage" ,
"outputs" : [ ] ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "SlotId" ,
"name" : "slotId" ,
"type" : "bytes32"
}
] ,
"name" : "slotState" ,
"outputs" : [
{
"internalType" : "enum SlotState" ,
"name" : "" ,
"type" : "uint8"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "SlotId" ,
"name" : "id" ,
"type" : "bytes32"
} ,
{
"components" : [
{
"components" : [
{
"internalType" : "uint256" ,
"name" : "x" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "y" ,
"type" : "uint256"
}
] ,
"internalType" : "struct G1Point" ,
"name" : "a" ,
"type" : "tuple"
} ,
{
"components" : [
{
"components" : [
{
"internalType" : "uint256" ,
"name" : "real" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "imag" ,
"type" : "uint256"
}
] ,
"internalType" : "struct Fp2Element" ,
"name" : "x" ,
"type" : "tuple"
} ,
{
"components" : [
{
"internalType" : "uint256" ,
"name" : "real" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "imag" ,
"type" : "uint256"
}
] ,
"internalType" : "struct Fp2Element" ,
"name" : "y" ,
"type" : "tuple"
}
] ,
"internalType" : "struct G2Point" ,
"name" : "b" ,
"type" : "tuple"
} ,
{
"components" : [
{
"internalType" : "uint256" ,
"name" : "x" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "y" ,
"type" : "uint256"
}
] ,
"internalType" : "struct G1Point" ,
"name" : "c" ,
"type" : "tuple"
}
] ,
"internalType" : "struct Groth16Proof" ,
"name" : "proof" ,
"type" : "tuple"
}
] ,
"name" : "submitProof" ,
"outputs" : [ ] ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"inputs" : [ ] ,
"name" : "token" ,
"outputs" : [
{
"internalType" : "contract IERC20" ,
"name" : "" ,
"type" : "address"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "SlotId" ,
"name" : "id" ,
"type" : "bytes32"
}
] ,
"name" : "willProofBeRequired" ,
"outputs" : [
{
"internalType" : "bool" ,
"name" : "" ,
"type" : "bool"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
}
] ,
"name" : "withdrawFunds" ,
"outputs" : [ ] ,
"stateMutability" : "nonpayable" ,
"type" : "function"
2024-09-24 13:31:07 +03:00
} ,
{
"inputs" : [
{
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
} ,
{
"internalType" : "address" ,
"name" : "withdrawRecipient" ,
"type" : "address"
}
] ,
"name" : "withdrawFunds" ,
"outputs" : [ ] ,
"stateMutability" : "nonpayable" ,
"type" : "function"
2024-08-07 18:58:31 +03:00
}
] ,
2024-09-24 13:31:07 +03:00
"transactionHash" : "0x898fc921a591df60f98aa65a2c808de094cf6a203f566310524ad69d50dfee06" ,
2024-08-07 18:58:31 +03:00
"receipt" : {
"to" : null ,
"from" : "0x3A39904B71595608524274BFD8c20FCfd9e77236" ,
2024-09-24 13:31:07 +03:00
"contractAddress" : "0xCDef8d6884557be4F68dC265b6bB2E3e52a6C9d6" ,
2024-08-07 18:58:31 +03:00
"transactionIndex" : 0 ,
2024-09-24 13:31:07 +03:00
"gasUsed" : "3589965" ,
2024-08-07 18:58:31 +03:00
"logsBloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ,
2024-09-24 13:31:07 +03:00
"blockHash" : "0x21f9b9b346ac6f2f5f745c8409dc659ab3ef20c72b32277cdd714f321365ba6a" ,
"transactionHash" : "0x898fc921a591df60f98aa65a2c808de094cf6a203f566310524ad69d50dfee06" ,
2024-08-07 18:58:31 +03:00
"logs" : [ ] ,
2024-09-24 13:31:07 +03:00
"blockNumber" : 1683237 ,
"cumulativeGasUsed" : "3589965" ,
2024-08-07 18:58:31 +03:00
"status" : 1 ,
"byzantium" : true
} ,
"args" : [
{
"collateral" : {
"repairRewardPercentage" : 10 ,
"maxNumberOfSlashes" : 2 ,
"slashCriterion" : 2 ,
"slashPercentage" : 20
} ,
"proofs" : {
"period" : 60 ,
"timeout" : 30 ,
"downtime" : 64 ,
2024-09-24 13:31:07 +03:00
"downtimeProduct" : 67 ,
"zkeyHash" : "afc470031923f60982f36932686665a55b88c4ef4ee4b7ae21e6dc6685cfae4b"
2024-08-07 18:58:31 +03:00
}
} ,
"0x34a22f3911De437307c6f4485931779670f78764" ,
2024-09-24 13:31:07 +03:00
"0x02dd582726F7507D7d0F8bD8bf8053d3006F9092"
2024-08-07 18:58:31 +03:00
] ,
2024-09-24 13:31:07 +03:00
"numDeployments" : 2 ,
"solcInputHash" : "3a588acfa01d533bd1d8c93ca5daf963" ,
"metadata" : "{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"repairRewardPercentage\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"maxNumberOfSlashes\",\"type\":\"uint8\"},{\"internalType\":\"uint16\",\"name\":\"slashCriterion\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"slashPercentage\",\"type\":\"uint8\"}],\"internalType\":\"struct CollateralConfig\",\"name\":\"collateral\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeout\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"downtime\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"zkeyHash\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"downtimeProduct\",\"type\":\"uint8\"}],\"internalType\":\"struct ProofConfig\",\"name\":\"proofs\",\"type\":\"tuple\"}],\"internalType\":\"struct MarketplaceConfig\",\"name\":\"configuration\",\"type\":\"tuple\"},{\"internalType\":\"contract IERC20\",\"name\":\"token_\",\"type\":\"address\"},{\"internalType\":\"contract IGroth16Verifier\",\"name\":\"verifier\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"SlotId\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ProofSubmitted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"RequestId\",\"name\":\"requestId\",\"type\":\"bytes32\"}],\"name\":\"RequestCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"RequestId\",\"name\":\"requestId\",\"type\":\"bytes32\"}],\"name\":\"RequestFailed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"RequestId\",\"name\":\"requestId\",\"type\":\"bytes32\"}],\"name\":\"RequestFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"RequestId\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slotIndex\",\"type\":\"uint256\"}],\"name\":\"SlotFilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"RequestId\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slotIndex\",\"type\":\"uint256\"}],\"name\":\"SlotFreed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"RequestId\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slots\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"slotSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"proofProbability\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"collateral\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"maxSlotLoss\",\"type\":\"uint64\"}],\"indexed\":false,\"internalType\":\"struct Ask\",\"name\":\"ask\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"}],\"name\":\"StorageRequested\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"config\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"repairRewardPercentage\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"maxNumberOfSlashes\",\"type\":\"uint8\"},{\"internalType\":\"uint16\",\"name\":\"slashCriterion\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"slashPercentage\",\"type\":\"uint8\"}],\"internalType\":\"struct CollateralConfig\",\"name\":\"collateral\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"},{\"internalType\":\"uint256\"
"bytecode" : " 0 x 60 c 0 6040523480156200001157600080 f d 5 b 50604051620040 e f 380380620040 e f 8339810160408190526200003491620004 f 1565 b 60208301518051608052816101004311620000965760405162461 b c d 60e51 b 815260206004820152601960248201527 f 496e73756666696369656 e 7420626 c 6 f 636 b 206865696768740000000000000060448201526064015 b 60405180910390 f d 5 b 81516000908155602083015160015560408301516002805460 f f 191660 f f 9092169190911790556060830151839190600390620000 d 4908262000691565 b 50608091909101516004909101805460 f f 191660 f f 928316179055600580546001600160 a 0 1 b 0 319166001600160 a 0 1 b 0 393841617905590841660 a 0 5284515160649116111590506200016 a 5760405162461 b c d 60e51 b 815260206004820152601560248201527 f 4 d 757374206265206 c 657373207468616e20313030000000000000000000000060448201526064016200008 d 565 b 606483600001516060015160 f f 161115620001 c 85760405162461 b c d 60e51 b 815260206004820152601560248201527 f 4 d 757374206265206 c 657373207468616e20313030000000000000000000000060448201526064016200008 d 565 b 82516060810151602090910151606491620001e3916200075 d 565 b 60 f f 161115620002365760405162461 b c d 60e51 b 815260206004820152601 d 60248201527 f 4 d 6178696 d 756 d 20736 c 617368696e672065786365656473203130302500000060448201526064016200008 d 565 b 82518051600 d 805460208085015160408087015160609788015160 f f 9081166401000000000260 f f 60201 b 1961 f f f f 90931662010000029290921664 f f f f f f 0 0 0 0 199482166101000261 f f f f 1990971698821698909817959095179290921695909517178355808801518051600e90815591810151600 f 5593840151601080549190931660 f f 19919091161790915592820151869391929190601190620002 d e 908262000691565 b 50608091909101516004909101805460 f f 191660 f f 909216919091179055506200078 f 9350505050565 b 634e487 b 7160e01 b 600052604160045260246000 f d 5 b 60405160 a 0 81016001600160401 b 0 38111828210171562000343576200034362000308565 b 60405290565 b 604080519081016001600160401 b 0 38111828210171562000343576200034362000308565 b 604051608081016001600160401 b 0 38111828210171562000343576200034362000308565 b 604051601 f 8201601 f 191681016001600160401 b 0 381118282101715620003 b e 57620003 b e 62000308565 b 604052919050565 b 805160 f f 81168114620003 d 857600080 f d 5 b 919050565 b 600060 a 0 8284031215620003 f 0 57600080 f d 5 b 620003 f a 6200031e565 b 905081518152602080830151818301526200041860408401620003 c 6565 b 604083015260608301516001600160401 b 0 3808211156200043857600080 f d 5 b 818501915085601 f 8301126200044 d 57600080 f d 5 b 81518181111562000462576200046262000308565 b 62000476601 f 8201601 f 1916850162000393565 b 915080825286848285010111156200048 d 57600080 f d 5 b 60005 b 81811015620004 a d 57838101850151838201860152840162000490565 b 50600084828401015250806060850152505050620004 c e 60808301620003 c 6565 b 608082015292915050565 b 80516001600160 a 0 1 b 0 381168114620003 d 857600080 f d 5 b 6000806000606084860312156200050757600080 f d 5 b 83516001600160401 b 0 3808211156200051 f 57600080 f d 5 b 9085019081870360 a 0 8112156200053557600080 f d 5 b 6200053 f 62000349565 b 60808212156200054e57600080 f d 5 b 620005586200036e565 b 91506200056584620003 c 6565 b 82526200057560208501620003 c 6565 b 6020830152604084015161 f f f f 811681146200059057600080 f d 5 b 6040830152620005 a 360608501620003 c 6565 b 606083015290815260808301519082821115620005 b f 57600080 f d 5 b 620005 c d 89838601620003 d d 565 b 602082015280965050505050620005e760208501620004 d 9565 b 9150620005 f 760408501620004 d 9565 b 90509250925092565 b 600181811 c 908216806200061557607 f 821691505 b 6020821081036200063657634e487 b 7160e01 b 600052602260045260246000 f d 5 b 50919050565 b 601 f 8211156200068 c 576000816000526020600020601 f 850160051 c 81016020861015620006675750805 b 601 f 850160051 c 820191505 b 81811015620006885782815560010162000673565 b 5050505 b 505050565 b 81516001600160401 b 0 3811115620006 a d 57620006 a d 62000308565 b 620006 c 581620006 b e 845462000600565 b 846200063 c 565 b 602080601 f 831160018114620006 f d 5760008415620006e45750858301515 b 600019600386901 b 1 c 1916600185901 b 17855562000688565 b 600085815260208120601 f 198616915 b 828110156200072e578886015182559484019460019091019084016200070 d 565 b 50858210156200074 d 5787850151600019600388901 b 60 f 8161 c 191681555 b 5050505050600190811 b 0 1905550565 b 60 f f 81811683821602908116908181146200078857634e487 b 7160e01 b 600052601160045260246000 f d 5 b 5092915050565 b 60805160 a 0 51613909620007e6600039600081816104060152818161167 c 0 152818161203 a 0 15281816120 d 90152818161224e015281816122 e d 0 15261250 f 0 152600081816129 c 60152612 b 3 d 0 1526139096000 f 3 f e 608060405234801561001057600080 f d 5 b
"deployedBytecode" : " 0 x 608060405234801561001057600080 f d 5 b 50600436106101985760003560e01 c 80639777 b 72 c 116100e3578063 c 0 c c 4 a d d 1161008 c 578063 f 752196 b 11610066578063 f 752196 b 146103 c 4578063 f b 1e61 c a 146103e4578063 f c 0 c 546 a 1461040457600080 f d 5 b 8063 c 0 c c 4 a d d 1461038 b 578063 c 5 d 433511461039e578063 e 8 a a 0 a 0 7146103 b 157600080 f d 5 b 8063 a 6 a f 384 b 116100 b d 578063 a 6 a f 384 b 14610338578063 b 396 d c 791461034 b 578063 b e 5 c d c 481461036 b 57600080 f d 5 b 80639777 b 72 c 146102 f a 578063 a 29 c 29 a 414610302578063 a 3 a 0 807e1461031557600080 f d 5 b 80634641 d c e 6116101455780636 b 0 0 c 8 c f 1161011 f 5780636 b 0 0 c 8 c f 1461028e5780636 e 2 b 54 e e 146102 d 257806379502 c 55146102e557600080 f d 5 b 80634641 d c e 61461024157806359 c c 89 e d 146102665780635 d a 738351461027957600080 f d 5 b 80630 a e f a a b e 116101765780630 a e f a a b e 146101 f 8578063329 b 5 a 0 b 1461020 b 578063458 d 2 b f 11461022e57600080 f d 5 b 806302 f a 8e651461019 d 57806305 b 90773146101 c 357806308695 f c d 146101e3575 b 600080 f d 5 b 6101 b 0 6101 a b 366004612 d 73565 b 61042 a 565 b 6040519081526020015 b 60405180910390 f 35 b 6101 d 66101 d 1366004612 d 73565 b 6104 a 1565 b 6040516101 b a 9190612 d a 2565 b 6101 f 66101 f 1366004612 d b c 565 b 6105 b 3565 b 0 0 5 b 6101 f 6610206366004612 d f 3565 b 610709565 b 6101 b 0 610219366004612 d 73565 b 60009081526014602052604090206005015490565 b 6101 b 0 61023 c 366004612 d 73565 b 6108e6565 b 61025461024 f 366004612 d 73565 b 6108 f f 565 b 60405160 f f 90911681526020016101 b a 565 b 6101 f 6610274366004612e48565 b 610912565 b 610281610 c 16565 b 6040516101 b a 9190612e7 f 565 b 6102 b a 61029 c 366004612 d 73565 b 6000908152601560205260409020600501546001600160 a 0 1 b 0 31690565 b 6040516001600160 a 0 1 b 0 390911681526020016101 b a 565 b 6101 f 66102e0366004612 d 73565 b 610 c 3 d 565 b 6102 e d 610 c 4 a 565 b 6040516101 b a 9190612 f 0 9565 b 610281610 d d 3565 b 6101 f 6610310366004612 d 73565 b 610 d f 2565 b 610328610323366004612 d 73565 b 610e62565 b 60405190151581526020016101 b a 565 b 6101 f 6610346366004612 f a 4565 b 610e97565 b 61035e610359366004612 d 73565 b 6111 e c 565 b 6040516101 b a 91906130 a d 565 b 61037e610379366004612 d 73565 b 6113 d 5565 b 6040516101 b a 91906130 d f 565 b 610328610399366004612 d 73565 b 6114 a 3565 b 6101 f 66103 a c 3660046130 f 3565 b 6114 b 6565 b 6101 f 66103 b f 366004613123565 b 6116 f 5565 b 6101 b 0 6103 d 2366004612 d 73565 b 60009081526008602052604090205490565 b 6103 f 76103 f 2366004612 d 73565 b 61182 a 565 b 6040516101 b a 9190613151565 b 7 f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6102 b a 565 b 60008181526014602052604081206004015481610446846104 a 1565 b 9050600081600481111561045 c 5761045 c 612 d 8 c 565 b 14806104795750600181600481111561047757610477612 d 8 c 565 b 145 b 15610485575092915050565 b 6104998261049460014261317 a 565 b 6119e1565 b 949350505050565 b 60008181526013602052604081205482906001600160 a 0 1 b 0 3166104 f e 5760405162461 b c d 60e51 b 815260206004820152600 f 60248201526e155 b 9 a d b 9 b d d d b 881 c 995 c 5 d 595 c d d 608 a 1 b 60448201526064015 b 60405180910390 f d 5 b 600083815260146020526040812090815460 f f 16600481111561052357610523612 d 8 c 565 b 148015610540575060008481526014602052604090206005015442115 b 1561054 f 5760029250506105 a d 565 b 6001815460 f f 16600481111561056757610567612 d 8 c 565 b 148061058857506000815460 f f 16600481111561058657610586612 d 8 c 565 b 145 b 80156105975750806004015442115 b 156105 a 65760039250506105 a d 565 b 5460 f f 1691505 b 50919050565 b 60016105 b e 836113 d 5565 b 60058111156105 c f 576105 c f 612 d 8 c 565 b 1461061 c 5760405162461 b c d 60e51 b 815260206004820152601960248201527 f 536 c 6 f 74206e6 f 7420616363657074696e672070726 f 6 f 66730000000000000060448201526064016104 f 5565 b 61062682826119 f 9565 b 6000828152601560209081526040808320600181015484526013909252909120600 d 5461 f f f f 620100009091041661066 a 8560009081526008602052604090205490565 b 61067491906131 a 3565 b 60000361070357600 d 54600682015460009160649161069e91640100000000900460 f f 16906131 b 7565 b 6106 a 891906131 c e 565 b 9050808360040160008282546106 b e 919061317 a 565 b 9091555050600 d 54600086815260086020526040902054610100820460 f f 169162010000900461 f f f f 16906106 f 391906131 c e 565 b 106107015761070185611 c 26565 b 505 b 50505050565 b 826000808281526015602052604090205460 f f 16600581111561072e5761072 e 612 d 8 c 565 b 0 361076 a 5760405162461 b c d 60e51 b 815260206004820152600 c 60248201526 b 536 c 6 f 74206973206672656560 a 0 1 b 60448201526064016104 f 5565 b 600084815260156020526040902060058101546001600160 a 0 1 b 0 31633146107 d 45760405162461 b c d 60e51 b 815260206004820152601960248201527 f 536 c 6 f 742066696 c 6 c 6564206279206 f 7468657220686 f 73740000000000000060448201526064016104 f 5565 b 60006107 d f 866113 d 5565 b 905060048160058111156107 f 5576107 f 5612 d
2024-08-07 18:58:31 +03:00
"devdoc" : {
"kind" : "dev" ,
"methods" : {
2024-09-24 13:31:07 +03:00
"fillSlot(bytes32,uint256,((uint256,uint256),((uint256,uint256),(uint256,uint256)),(uint256,uint256)))" : {
"params" : {
"proof" : "Groth16 proof procing possession of the slot data." ,
"requestId" : "RequestId identifying the request containing the slot to fill." ,
"slotIndex" : "Index of the slot in the request."
}
} ,
"freeSlot(bytes32)" : {
"details" : "The host that filled the slot must have initiated the transaction (msg.sender). This overload allows `rewardRecipient` and `collateralRecipient` to be optional." ,
"params" : {
"slotId" : "id of the slot to free"
}
} ,
"freeSlot(bytes32,address,address)" : {
"params" : {
"collateralRecipient" : "address to refund collateral to" ,
"rewardRecipient" : "address to send rewards to" ,
"slotId" : "id of the slot to free"
}
} ,
"getChallenge(bytes32)" : {
"params" : {
"id" : "Slot's ID for which the challenge should be calculated"
} ,
"returns" : {
"_0" : "Challenge for current Period that should be used for generation of proofs"
}
} ,
"getPointer(bytes32)" : {
"details" : "For more information see [timing of storage proofs](https://github.com/codex-storage/codex-research/blob/41c4b4409d2092d0a5475aca0f28995034e58d14/design/storage-proof-timing.md)" ,
"params" : {
"id" : "Slot's ID for which the pointer should be calculated"
} ,
"returns" : {
"_0" : "Uint8 pointer that is stable over current Period, ie an integer offset [0-255] of the last 256 blocks, pointing to a block that remains constant for the entire Period's duration."
}
} ,
"isProofRequired(bytes32)" : {
"params" : {
"id" : "Slot's ID for which the proof requirements should be checked. If the Slot's state is other than Filled, `false` is always returned."
} ,
"returns" : {
"_0" : "bool indicating if proof is required for current period"
}
} ,
"missingProofs(bytes32)" : {
"returns" : {
"_0" : "Number of missed proofs since Slot was Filled"
}
} ,
"willProofBeRequired(bytes32)" : {
"details" : "for more info about downtime see [timing of storage proofs](https://github.com/codex-storage/codex-research/blob/41c4b4409d2092d0a5475aca0f28995034e58d14/design/storage-proof-timing.md#pointer-downtime)" ,
"params" : {
"id" : "SlotId for which the proof requirements should be checked. If the Slot's state is other than Filled, `false` is always returned."
} ,
"returns" : {
"_0" : "bool"
}
} ,
2024-08-07 18:58:31 +03:00
"withdrawFunds(bytes32)" : {
2024-09-24 13:31:07 +03:00
"details" : "Request must be expired, must be in RequestStat e.New, and the transaction must originate from the depositer address." ,
2024-08-07 18:58:31 +03:00
"params" : {
"requestId" : "the id of the request"
}
2024-09-24 13:31:07 +03:00
} ,
"withdrawFunds(bytes32,address)" : {
"details" : "Request must be expired, must be in RequestState.New, and the transaction must originate from the depositer address." ,
"params" : {
"requestId" : "the id of the request" ,
"withdrawRecipient" : "address to return the remaining funds to"
}
2024-08-07 18:58:31 +03:00
}
} ,
"version" : 1
} ,
"userdoc" : {
"kind" : "user" ,
"methods" : {
2024-09-24 13:31:07 +03:00
"fillSlot(bytes32,uint256,((uint256,uint256),((uint256,uint256),(uint256,uint256)),(uint256,uint256)))" : {
"notice" : "Fills a slot. Reverts if an invalid proof of the slot data is provided."
} ,
"freeSlot(bytes32)" : {
"notice" : "Frees a slot, paying out rewards and returning collateral for finished or cancelled requests to the host that has filled the slot."
} ,
"freeSlot(bytes32,address,address)" : {
"notice" : "Frees a slot, paying out rewards and returning collateral for finished or cancelled requests."
} ,
"willProofBeRequired(bytes32)" : {
"notice" : "Proof Downtime specifies part of the Period when the proof is not required even if the proof should be required. This function returns true if the pointer is in downtime (hence no proof required now) and at the same time the proof will be required later on in the Period."
} ,
2024-08-07 18:58:31 +03:00
"withdrawFunds(bytes32)" : {
2024-09-24 13:31:07 +03:00
"notice" : "Withdraws remaining storage request funds back to the client that deposited them."
} ,
"withdrawFunds(bytes32,address)" : {
"notice" : "Withdraws storage request funds to the provided address."
2024-08-07 18:58:31 +03:00
}
} ,
"version" : 1
} ,
"storageLayout" : {
"storage" : [
{
2024-09-24 13:31:07 +03:00
"astId" : 4767 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_config" ,
"offset" : 0 ,
"slot" : "0" ,
2024-09-24 13:31:07 +03:00
"type" : "t_struct(ProofConfig)2220_storage"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 4770 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_verifier" ,
"offset" : 0 ,
2024-09-24 13:31:07 +03:00
"slot" : "5" ,
"type" : "t_contract(IGroth16Verifier)2403"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 4806 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_slotStarts" ,
"offset" : 0 ,
2024-09-24 13:31:07 +03:00
"slot" : "6" ,
"type" : "t_mapping(t_userDefinedValueType(SlotId)5353,t_uint256)"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 4811 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_probabilities" ,
"offset" : 0 ,
2024-09-24 13:31:07 +03:00
"slot" : "7" ,
"type" : "t_mapping(t_userDefinedValueType(SlotId)5353,t_uint256)"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 4816 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_missed" ,
"offset" : 0 ,
2024-09-24 13:31:07 +03:00
"slot" : "8" ,
"type" : "t_mapping(t_userDefinedValueType(SlotId)5353,t_uint256)"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 4824 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_received" ,
"offset" : 0 ,
2024-09-24 13:31:07 +03:00
"slot" : "9" ,
"type" : "t_mapping(t_userDefinedValueType(SlotId)5353,t_mapping(t_userDefinedValueType(Period)4624,t_bool))"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 4832 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_missing" ,
"offset" : 0 ,
2024-09-24 13:31:07 +03:00
"slot" : "10" ,
"type" : "t_mapping(t_userDefinedValueType(SlotId)5353,t_mapping(t_userDefinedValueType(Period)4624,t_bool))"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 5518 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_requestsPerClient" ,
"offset" : 0 ,
2024-09-24 13:31:07 +03:00
"slot" : "11" ,
2024-08-07 18:58:31 +03:00
"type" : "t_mapping(t_address,t_struct(Bytes32Set)1781_storage)"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 5523 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_slotsPerHost" ,
"offset" : 0 ,
2024-09-24 13:31:07 +03:00
"slot" : "12" ,
2024-08-07 18:58:31 +03:00
"type" : "t_mapping(t_address,t_struct(Bytes32Set)1781_storage)"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3023 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_config" ,
"offset" : 0 ,
2024-09-24 13:31:07 +03:00
"slot" : "13" ,
2024-08-07 18:58:31 +03:00
"type" : "t_struct(MarketplaceConfig)2199_storage"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3029 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_requests" ,
"offset" : 0 ,
2024-09-24 13:31:07 +03:00
"slot" : "19" ,
"type" : "t_mapping(t_userDefinedValueType(RequestId)5351,t_struct(Request)5366_storage)"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3035 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_requestContexts" ,
"offset" : 0 ,
2024-09-24 13:31:07 +03:00
"slot" : "20" ,
"type" : "t_mapping(t_userDefinedValueType(RequestId)5351,t_struct(RequestContext)3059_storage)"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3041 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_slots" ,
"offset" : 0 ,
2024-09-24 13:31:07 +03:00
"slot" : "21" ,
"type" : "t_mapping(t_userDefinedValueType(SlotId)5353,t_struct(Slot)3076_storage)"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3044 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_marketplaceTotals" ,
"offset" : 0 ,
2024-09-24 13:31:07 +03:00
"slot" : "22" ,
"type" : "t_struct(MarketplaceTotals)4619_storage"
2024-08-07 18:58:31 +03:00
}
] ,
"types" : {
"t_address" : {
"encoding" : "inplace" ,
"label" : "address" ,
"numberOfBytes" : "20"
} ,
"t_array(t_bytes32)dyn_storage" : {
"base" : "t_bytes32" ,
"encoding" : "dynamic_array" ,
"label" : "bytes32[]" ,
"numberOfBytes" : "32"
} ,
"t_bool" : {
"encoding" : "inplace" ,
"label" : "bool" ,
"numberOfBytes" : "1"
} ,
"t_bytes32" : {
"encoding" : "inplace" ,
"label" : "bytes32" ,
"numberOfBytes" : "32"
} ,
2024-09-24 13:31:07 +03:00
"t_contract(IGroth16Verifier)2403" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "contract IGroth16Verifier" ,
"numberOfBytes" : "20"
} ,
2024-09-24 13:31:07 +03:00
"t_enum(RequestState)5392" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "enum RequestState" ,
"numberOfBytes" : "1"
} ,
2024-09-24 13:31:07 +03:00
"t_enum(SlotState)5399" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "enum SlotState" ,
"numberOfBytes" : "1"
} ,
"t_mapping(t_address,t_struct(Bytes32Set)1781_storage)" : {
"encoding" : "mapping" ,
"key" : "t_address" ,
"label" : "mapping(address => struct EnumerableSet.Bytes32Set)" ,
"numberOfBytes" : "32" ,
"value" : "t_struct(Bytes32Set)1781_storage"
} ,
"t_mapping(t_bytes32,t_uint256)" : {
"encoding" : "mapping" ,
"key" : "t_bytes32" ,
"label" : "mapping(bytes32 => uint256)" ,
"numberOfBytes" : "32" ,
"value" : "t_uint256"
} ,
2024-09-24 13:31:07 +03:00
"t_mapping(t_userDefinedValueType(Period)4624,t_bool)" : {
2024-08-07 18:58:31 +03:00
"encoding" : "mapping" ,
2024-09-24 13:31:07 +03:00
"key" : "t_userDefinedValueType(Period)4624" ,
2024-08-07 18:58:31 +03:00
"label" : "mapping(Periods.Period => bool)" ,
"numberOfBytes" : "32" ,
"value" : "t_bool"
} ,
2024-09-24 13:31:07 +03:00
"t_mapping(t_userDefinedValueType(RequestId)5351,t_struct(Request)5366_storage)" : {
2024-08-07 18:58:31 +03:00
"encoding" : "mapping" ,
2024-09-24 13:31:07 +03:00
"key" : "t_userDefinedValueType(RequestId)5351" ,
2024-08-07 18:58:31 +03:00
"label" : "mapping(RequestId => struct Request)" ,
"numberOfBytes" : "32" ,
2024-09-24 13:31:07 +03:00
"value" : "t_struct(Request)5366_storage"
2024-08-07 18:58:31 +03:00
} ,
2024-09-24 13:31:07 +03:00
"t_mapping(t_userDefinedValueType(RequestId)5351,t_struct(RequestContext)3059_storage)" : {
2024-08-07 18:58:31 +03:00
"encoding" : "mapping" ,
2024-09-24 13:31:07 +03:00
"key" : "t_userDefinedValueType(RequestId)5351" ,
2024-08-07 18:58:31 +03:00
"label" : "mapping(RequestId => struct Marketplace.RequestContext)" ,
"numberOfBytes" : "32" ,
2024-09-24 13:31:07 +03:00
"value" : "t_struct(RequestContext)3059_storage"
2024-08-07 18:58:31 +03:00
} ,
2024-09-24 13:31:07 +03:00
"t_mapping(t_userDefinedValueType(SlotId)5353,t_mapping(t_userDefinedValueType(Period)4624,t_bool))" : {
2024-08-07 18:58:31 +03:00
"encoding" : "mapping" ,
2024-09-24 13:31:07 +03:00
"key" : "t_userDefinedValueType(SlotId)5353" ,
2024-08-07 18:58:31 +03:00
"label" : "mapping(SlotId => mapping(Periods.Period => bool))" ,
"numberOfBytes" : "32" ,
2024-09-24 13:31:07 +03:00
"value" : "t_mapping(t_userDefinedValueType(Period)4624,t_bool)"
2024-08-07 18:58:31 +03:00
} ,
2024-09-24 13:31:07 +03:00
"t_mapping(t_userDefinedValueType(SlotId)5353,t_struct(Slot)3076_storage)" : {
2024-08-07 18:58:31 +03:00
"encoding" : "mapping" ,
2024-09-24 13:31:07 +03:00
"key" : "t_userDefinedValueType(SlotId)5353" ,
2024-08-07 18:58:31 +03:00
"label" : "mapping(SlotId => struct Marketplace.Slot)" ,
"numberOfBytes" : "32" ,
2024-09-24 13:31:07 +03:00
"value" : "t_struct(Slot)3076_storage"
2024-08-07 18:58:31 +03:00
} ,
2024-09-24 13:31:07 +03:00
"t_mapping(t_userDefinedValueType(SlotId)5353,t_uint256)" : {
2024-08-07 18:58:31 +03:00
"encoding" : "mapping" ,
2024-09-24 13:31:07 +03:00
"key" : "t_userDefinedValueType(SlotId)5353" ,
2024-08-07 18:58:31 +03:00
"label" : "mapping(SlotId => uint256)" ,
"numberOfBytes" : "32" ,
"value" : "t_uint256"
} ,
"t_string_storage" : {
"encoding" : "bytes" ,
"label" : "string" ,
"numberOfBytes" : "32"
} ,
2024-09-24 13:31:07 +03:00
"t_struct(Ask)5381_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct Ask" ,
"members" : [
{
2024-09-24 13:31:07 +03:00
"astId" : 5368 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "slots" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_uint64"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 5370 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "slotSize" ,
"offset" : 0 ,
"slot" : "1" ,
"type" : "t_uint256"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 5372 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "duration" ,
"offset" : 0 ,
"slot" : "2" ,
"type" : "t_uint256"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 5374 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "proofProbability" ,
"offset" : 0 ,
"slot" : "3" ,
"type" : "t_uint256"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 5376 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "reward" ,
"offset" : 0 ,
"slot" : "4" ,
"type" : "t_uint256"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 5378 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "collateral" ,
"offset" : 0 ,
"slot" : "5" ,
"type" : "t_uint256"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 5380 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "maxSlotLoss" ,
"offset" : 0 ,
"slot" : "6" ,
"type" : "t_uint64"
}
] ,
"numberOfBytes" : "224"
} ,
"t_struct(Bytes32Set)1781_storage" : {
"encoding" : "inplace" ,
"label" : "struct EnumerableSet.Bytes32Set" ,
"members" : [
{
"astId" : 1780 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_inner" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_struct(Set)1587_storage"
}
] ,
"numberOfBytes" : "64"
} ,
"t_struct(CollateralConfig)2209_storage" : {
"encoding" : "inplace" ,
"label" : "struct CollateralConfig" ,
"members" : [
{
"astId" : 2202 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "repairRewardPercentage" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_uint8"
} ,
{
"astId" : 2204 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "maxNumberOfSlashes" ,
"offset" : 1 ,
"slot" : "0" ,
"type" : "t_uint8"
} ,
{
"astId" : 2206 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "slashCriterion" ,
"offset" : 2 ,
"slot" : "0" ,
"type" : "t_uint16"
} ,
{
"astId" : 2208 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "slashPercentage" ,
"offset" : 4 ,
"slot" : "0" ,
"type" : "t_uint8"
}
] ,
"numberOfBytes" : "32"
} ,
2024-09-24 13:31:07 +03:00
"t_struct(Content)5386_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct Content" ,
"members" : [
{
2024-09-24 13:31:07 +03:00
"astId" : 5383 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "cid" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_string_storage"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 5385 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "merkleRoot" ,
"offset" : 0 ,
"slot" : "1" ,
"type" : "t_bytes32"
}
] ,
"numberOfBytes" : "64"
} ,
"t_struct(MarketplaceConfig)2199_storage" : {
"encoding" : "inplace" ,
"label" : "struct MarketplaceConfig" ,
"members" : [
{
"astId" : 2195 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "collateral" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_struct(CollateralConfig)2209_storage"
} ,
{
"astId" : 2198 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "proofs" ,
"offset" : 0 ,
"slot" : "1" ,
2024-09-24 13:31:07 +03:00
"type" : "t_struct(ProofConfig)2220_storage"
2024-08-07 18:58:31 +03:00
}
] ,
2024-09-24 13:31:07 +03:00
"numberOfBytes" : "192"
2024-08-07 18:58:31 +03:00
} ,
2024-09-24 13:31:07 +03:00
"t_struct(MarketplaceTotals)4619_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct Marketplace.MarketplaceTotals" ,
"members" : [
{
2024-09-24 13:31:07 +03:00
"astId" : 4616 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "received" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_uint256"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 4618 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "sent" ,
"offset" : 0 ,
"slot" : "1" ,
"type" : "t_uint256"
}
] ,
"numberOfBytes" : "64"
} ,
2024-09-24 13:31:07 +03:00
"t_struct(ProofConfig)2220_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct ProofConfig" ,
"members" : [
{
"astId" : 2211 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "period" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_uint256"
} ,
{
"astId" : 2213 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "timeout" ,
"offset" : 0 ,
"slot" : "1" ,
"type" : "t_uint256"
} ,
{
"astId" : 2215 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "downtime" ,
"offset" : 0 ,
"slot" : "2" ,
"type" : "t_uint8"
} ,
{
"astId" : 2217 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "zkeyHash" ,
"offset" : 0 ,
"slot" : "3" ,
"type" : "t_string_storage"
2024-09-24 13:31:07 +03:00
} ,
{
"astId" : 2219 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "downtimeProduct" ,
"offset" : 0 ,
"slot" : "4" ,
"type" : "t_uint8"
2024-08-07 18:58:31 +03:00
}
] ,
2024-09-24 13:31:07 +03:00
"numberOfBytes" : "160"
2024-08-07 18:58:31 +03:00
} ,
2024-09-24 13:31:07 +03:00
"t_struct(Request)5366_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct Request" ,
"members" : [
{
2024-09-24 13:31:07 +03:00
"astId" : 5355 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "client" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_address"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 5358 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "ask" ,
"offset" : 0 ,
"slot" : "1" ,
2024-09-24 13:31:07 +03:00
"type" : "t_struct(Ask)5381_storage"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 5361 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "content" ,
"offset" : 0 ,
"slot" : "8" ,
2024-09-24 13:31:07 +03:00
"type" : "t_struct(Content)5386_storage"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 5363 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "expiry" ,
"offset" : 0 ,
"slot" : "10" ,
"type" : "t_uint256"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 5365 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "nonce" ,
"offset" : 0 ,
"slot" : "11" ,
"type" : "t_bytes32"
}
] ,
"numberOfBytes" : "384"
} ,
2024-09-24 13:31:07 +03:00
"t_struct(RequestContext)3059_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct Marketplace.RequestContext" ,
"members" : [
{
2024-09-24 13:31:07 +03:00
"astId" : 3047 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "state" ,
"offset" : 0 ,
"slot" : "0" ,
2024-09-24 13:31:07 +03:00
"type" : "t_enum(RequestState)5392"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3049 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "slotsFilled" ,
"offset" : 0 ,
"slot" : "1" ,
"type" : "t_uint256"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3052 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "expiryFundsWithdraw" ,
"offset" : 0 ,
"slot" : "2" ,
"type" : "t_uint256"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3054 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "startedAt" ,
"offset" : 0 ,
"slot" : "3" ,
"type" : "t_uint256"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3056 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "endsAt" ,
"offset" : 0 ,
"slot" : "4" ,
"type" : "t_uint256"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3058 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "expiresAt" ,
"offset" : 0 ,
"slot" : "5" ,
"type" : "t_uint256"
}
] ,
"numberOfBytes" : "192"
} ,
"t_struct(Set)1587_storage" : {
"encoding" : "inplace" ,
"label" : "struct EnumerableSet.Set" ,
"members" : [
{
"astId" : 1582 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_values" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_array(t_bytes32)dyn_storage"
} ,
{
"astId" : 1586 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_indexes" ,
"offset" : 0 ,
"slot" : "1" ,
"type" : "t_mapping(t_bytes32,t_uint256)"
}
] ,
"numberOfBytes" : "64"
} ,
2024-09-24 13:31:07 +03:00
"t_struct(Slot)3076_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct Marketplace.Slot" ,
"members" : [
{
2024-09-24 13:31:07 +03:00
"astId" : 3062 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "state" ,
"offset" : 0 ,
"slot" : "0" ,
2024-09-24 13:31:07 +03:00
"type" : "t_enum(SlotState)5399"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3065 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "requestId" ,
"offset" : 0 ,
"slot" : "1" ,
2024-09-24 13:31:07 +03:00
"type" : "t_userDefinedValueType(RequestId)5351"
2024-08-07 18:58:31 +03:00
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3068 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "filledAt" ,
"offset" : 0 ,
"slot" : "2" ,
"type" : "t_uint256"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3070 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "slotIndex" ,
"offset" : 0 ,
"slot" : "3" ,
"type" : "t_uint256"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3073 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "currentCollateral" ,
"offset" : 0 ,
"slot" : "4" ,
"type" : "t_uint256"
} ,
{
2024-09-24 13:31:07 +03:00
"astId" : 3075 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "host" ,
"offset" : 0 ,
"slot" : "5" ,
"type" : "t_address"
}
] ,
"numberOfBytes" : "192"
} ,
"t_uint16" : {
"encoding" : "inplace" ,
"label" : "uint16" ,
"numberOfBytes" : "2"
} ,
"t_uint256" : {
"encoding" : "inplace" ,
"label" : "uint256" ,
"numberOfBytes" : "32"
} ,
"t_uint64" : {
"encoding" : "inplace" ,
"label" : "uint64" ,
"numberOfBytes" : "8"
} ,
"t_uint8" : {
"encoding" : "inplace" ,
"label" : "uint8" ,
"numberOfBytes" : "1"
} ,
2024-09-24 13:31:07 +03:00
"t_userDefinedValueType(Period)4624" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "Periods.Period" ,
"numberOfBytes" : "32"
} ,
2024-09-24 13:31:07 +03:00
"t_userDefinedValueType(RequestId)5351" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "RequestId" ,
"numberOfBytes" : "32"
} ,
2024-09-24 13:31:07 +03:00
"t_userDefinedValueType(SlotId)5353" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "SlotId" ,
"numberOfBytes" : "32"
}
}
}
}