2024-08-07 18:58:31 +03:00
{
2024-11-26 11:43:22 +02:00
"address" : "0xAB03b6a58C5262f530D54146DA2a552B1C0F7648" ,
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"
2024-10-08 15:27:06 +03:00
} ,
{
"components" : [
{
"internalType" : "uint8" ,
"name" : "maxReservations" ,
"type" : "uint8"
}
] ,
"internalType" : "struct SlotReservationsConfig" ,
"name" : "reservations" ,
"type" : "tuple"
2024-08-07 18:58:31 +03:00
}
] ,
"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"
} ,
2024-10-08 15:27:06 +03:00
{
"anonymous" : false ,
"inputs" : [
{
"indexed" : true ,
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
} ,
{
"indexed" : false ,
"internalType" : "uint256" ,
"name" : "slotIndex" ,
"type" : "uint256"
}
] ,
"name" : "SlotReservationsFull" ,
"type" : "event"
} ,
2024-08-07 18:58:31 +03:00
{
"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"
} ,
2024-10-08 15:27:06 +03:00
{
"inputs" : [
{
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
} ,
{
"internalType" : "uint256" ,
"name" : "slotIndex" ,
"type" : "uint256"
}
] ,
"name" : "canReserveSlot" ,
"outputs" : [
{
"internalType" : "bool" ,
"name" : "" ,
"type" : "bool"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
2024-08-07 18:58:31 +03:00
{
"inputs" : [ ] ,
2024-11-25 20:27:00 +02:00
"name" : "configuration" ,
2024-08-07 18:58:31 +03:00
"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"
2024-10-08 15:27:06 +03:00
} ,
{
"components" : [
{
"internalType" : "uint8" ,
"name" : "maxReservations" ,
"type" : "uint8"
}
] ,
"internalType" : "struct SlotReservationsConfig" ,
"name" : "reservations" ,
"type" : "tuple"
2024-08-07 18:58:31 +03:00
}
] ,
"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"
} ,
2024-10-08 15:27:06 +03:00
{
"inputs" : [
{
"internalType" : "RequestId" ,
"name" : "requestId" ,
"type" : "bytes32"
} ,
{
"internalType" : "uint256" ,
"name" : "slotIndex" ,
"type" : "uint256"
}
] ,
"name" : "reserveSlot" ,
"outputs" : [ ] ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
2024-08-07 18:58:31 +03:00
{
"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-11-26 11:43:22 +02:00
"transactionHash" : "0x843fa3e4fa0998932d199d36a84f826b98b438df57b270650e9bb9f4a1555d4d" ,
2024-08-07 18:58:31 +03:00
"receipt" : {
"to" : null ,
"from" : "0x3A39904B71595608524274BFD8c20FCfd9e77236" ,
2024-11-26 11:43:22 +02:00
"contractAddress" : "0xAB03b6a58C5262f530D54146DA2a552B1C0F7648" ,
2024-08-07 18:58:31 +03:00
"transactionIndex" : 0 ,
2024-11-25 20:27:00 +02:00
"gasUsed" : "3845908" ,
2024-08-07 18:58:31 +03:00
"logsBloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ,
2024-11-26 11:43:22 +02:00
"blockHash" : "0x82f6fa49bc02de898ea985aeddf904c8cee2a758e81e8f003f79a13ced079979" ,
"transactionHash" : "0x843fa3e4fa0998932d199d36a84f826b98b438df57b270650e9bb9f4a1555d4d" ,
2024-08-07 18:58:31 +03:00
"logs" : [ ] ,
2024-11-26 11:43:22 +02:00
"blockNumber" : 2222689 ,
2024-11-25 20:27:00 +02:00
"cumulativeGasUsed" : "3845908" ,
2024-08-07 18:58:31 +03:00
"status" : 1 ,
"byzantium" : true
} ,
"args" : [
{
"collateral" : {
"repairRewardPercentage" : 10 ,
"maxNumberOfSlashes" : 2 ,
"slashCriterion" : 2 ,
"slashPercentage" : 20
} ,
"proofs" : {
2024-11-26 11:43:22 +02:00
"period" : 120 ,
2024-08-07 18:58:31 +03:00
"timeout" : 30 ,
"downtime" : 64 ,
2024-09-24 13:31:07 +03:00
"downtimeProduct" : 67 ,
"zkeyHash" : "afc470031923f60982f36932686665a55b88c4ef4ee4b7ae21e6dc6685cfae4b"
2024-10-08 15:27:06 +03:00
} ,
"reservations" : {
"maxReservations" : 3
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-11-26 11:43:22 +02:00
"numDeployments" : 6 ,
2024-11-25 20:27:00 +02:00
"solcInputHash" : "6c0b1ecc717fd79335563520a885156c" ,
"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\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"maxReservations\",\"type\":\"uint8\"}],\"internalType\":\"struct SlotReservationsConfig\",\"name\":\"reservations\",\"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\":true,\"internalType\":\"RequestId\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slotIndex\",\"type\":\"uint256\"}],\"name\":\"SlotReservationsFull\",\"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\":[{\"internalType\":\"RequestId\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"slotIndex\"
"bytecode" : " 0 x 60 c 0 6040523480156200001157600080 f d 5 b 506040516200454 b 3803806200454 b 833981016040819052620000349162000571565 b 602083015180516040850151516001805460 f f 191660 f f 909216919091179055608052816101004311620000 a f 5760405162461 b c d 60e51 b 815260206004820152601960248201527 f 496e73756666696369656 e 7420626 c 6 f 636 b 206865696768740000000000000060448201526064015 b 60405180910390 f d 5 b 81516002908155602083015160035560408301516004805460 f f 191660 f f 9092169190911790556060830151839190600590620000 e d 908262000724565 b 50608091909101516004909101805460 f f 191660 f f 928316179055600780546001600160 a 0 1 b 0 319166001600160 a 0 1 b 0 393841617905590841660 a 0 528451516064911611159050620001835760405162461 b c d 60e51 b 815260206004820152601560248201527 f 4 d 757374206265206 c 657373207468616e2031303000000000000000000000006044820152606401620000 a 6565 b 606483600001516060015160 f f 161115620001e15760405162461 b c d 60e51 b 815260206004820152601560248201527 f 4 d 757374206265206 c 657373207468616e2031303000000000000000000000006044820152606401620000 a 6565 b 82516060810151602090910151606491620001 f c 91620007 f 0 565 b 60 f f 1611156200024 f 5760405162461 b c d 60e51 b 815260206004820152601 d 60248201527 f 4 d 6178696 d 756 d 20736 c 617368696e67206578636565647320313030250000006044820152606401620000 a 6565 b 82518051600 f 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 199097169882169890981795909517929092169590951717835580880151805160109081559181015160115593840151601280549190931660 f f 19919091161790915592820151869391929190601390620002 f 7908262000724565 b 50608091909101516004909101805460 f f 1990811660 f f 938416179091556040939093015151600692909201805490931691161790555062000822915050565 b 634e487 b 7160e01 b 600052604160045260246000 f d 5 b 60405160 a 0 81016001600160401 b 0 38111828210171562000372576200037262000337565 b 60405290565 b 604051606081016001600160401 b 0 38111828210171562000372576200037262000337565 b 604051608081016001600160401 b 0 38111828210171562000372576200037262000337565 b 604051601 f 8201601 f 191681016001600160401 b 0 381118282101715620003 e d 57620003 e d 62000337565 b 604052919050565 b 805160 f f 811681146200040757600080 f d 5 b 919050565 b 600060 a 0 82840312156200041 f 57600080 f d 5 b 620004296200034 d 565 b 905081518152602080830151818301526200044760408401620003 f 5565 b 604083015260608301516001600160401 b 0 3808211156200046757600080 f d 5 b 818501915085601 f 8301126200047 c 57600080 f d 5 b 81518181111562000491576200049162000337565 b 620004 a 5601 f 8201601 f 19168501620003 c 2565 b 91508082528684828501011115620004 b c 57600080 f d 5 b 60005 b 81811015620004 d c 578381018501518382018601528401620004 b f 565 b 50600084828401015250806060850152505050620004 f d 60808301620003 f 5565 b 608082015292915050565 b 6000602082840312156200051 b 57600080 f d 5 b 604051602081016001600160401 b 0 38111828210171562000540576200054062000337565 b 6040529050806200055183620003 f 5565 b 905292915050565 b 80516001600160 a 0 1 b 0 3811681146200040757600080 f d 5 b 6000806000606084860312156200058757600080 f d 5 b 83516001600160401 b 0 3808211156200059 f 57600080 f d 5 b 9085019081870360 c 0 811215620005 b 557600080 f d 5 b 620005 b f 62000378565 b 6080821215620005 c e 57600080 f d 5 b 620005 d 86200039 d 565 b 9150620005e584620003 f 5565 b 8252620005 f 560208501620003 f 5565 b 6020830152604084015161 f f f f 811681146200061057600080 f d 5 b 60408301526200062360608501620003 f 5565 b 6060830152908152608083015190828211156200063 f 57600080 f d 5 b 6200064 d 898386016200040 c 565 b 6020820152620006618960 a 0 860162000508565 b 604082015295506200067 a 925050506020850162000559565 b 91506200068 a 6040850162000559565 b 90509250925092565 b 600181811 c 90821680620006 a 857607 f 821691505 b 602082108103620006 c 957634e487 b 7160e01 b 600052602260045260246000 f d 5 b 50919050565 b 601 f 8211156200071 f 576000816000526020600020601 f 850160051 c 81016020861015620006 f a 5750805 b 601 f 850160051 c 820191505 b 818110156200071 b 5782815560010162000706565 b 5050505 b 505050565 b 81516001600160401 b 0 381111562000740576200074062000337565 b 620007588162000751845462000693565 b 84620006 c f 565 b 602080601 f 831160018114620007905760008415620007775750858301515 b 600019600386901 b 1 c 1916600185901 b 1785556200071 b 565 b 600085815260208120601 f 198616915 b 82811015620007 c 157888601518255948401946001909101908401620007 a 0 565 b 5085821015620007e05787850151600019600388901 b 60 f 8161 c 191681555 b 5050505050600190811 b 0 1905550565 b 60 f f 81811683
"deployedBytecode" : " 0 x 608060405234801561001057600080 f d 5 b 50600436106101 a e 5760003560e01 c 80636e2 b 54 e e 116100 e e 578063 b e 5 c d c 4811610097578063e8 a a 0 a 0 711610071578063e8 a a 0 a 0 7146103 e d 578063 f 752196 b 14610400578063 f b 1e61 c a 14610420578063 f c 0 c 546 a 1461044057600080 f d 5 b 8063 b e 5 c d c 48146103 a 7578063 c 0 c c 4 a d d 146103 c 7578063 c 5 d 43351146103 d a 57600080 f d 5 b 8063 a 3 a 0 807e116100 c 8578063 a 3 a 0 807e14610361578063 a 6 a f 384 b 14610374578063 b 396 d c 791461038757600080 f d 5 b 80636e2 b 54 e e 146103335780639777 b 72 c 14610346578063 a 29 c 29 a 41461034e57600080 f d 5 b 80634641 d c e 61161015 b 5780635 d a 73835116101355780635 d a 73835146102 b 257806362 d 48e13146102 c 75780636 b 0 0 c 8 c f 146102 d a 5780636 c 70 b e e 91461031e57600080 f d 5 b 80634641 d c e 6146102575780634802 f 44 b 1461027 c 57806359 c c 89 e d 1461029 f 57600080 f d 5 b 80630 a e f a a b e 1161018 c 5780630 a e f a a b e 1461020e578063329 b 5 a 0 b 14610221578063458 d 2 b f 11461024457600080 f d 5 b 806302 f a 8e65146101 b 357806305 b 90773146101 d 957806308695 f c d 146101 f 9575 b 600080 f d 5 b 6101 c 66101 c 136600461312e565 b 610466565 b 6040519081526020015 b 60405180910390 f 35 b 6101 e c 6101e736600461312 e 565 b 6104 d d 565 b 6040516101 d 0 919061315 d 565 b 61020 c 610207366004613177565 b 6105 e f 565 b 0 0 5 b 61020 c 61021 c 3660046131 a e 565 b 610745565 b 6101 c 661022 f 36600461312e565 b 60009081526017602052604090206005015490565 b 6101 c 661025236600461312e565 b 610922565 b 61026 a 61026536600461312e565 b 61093 b 565 b 60405160 f f 90911681526020016101 d 0 565 b 61028 f 61028 a 366004613177565 b 61094e565 b 60405190151581526020016101 d 0 565 b 61020 c 6102 a d 366004613203565 b 6109 d 7565 b 6102 b a 610 d 3e565 b 6040516101 d 0 919061323 a 565 b 61020 c 6102 d 5366004613177565 b 610 d 65565 b 6103066102e836600461312 e 565 b 6000908152601860205260409020600501546001600160 a 0 1 b 0 31690565 b 6040516001600160 a 0 1 b 0 390911681526020016101 d 0 565 b 610326610e62565 b 6040516101 d 0 91906132 c 4565 b 61020 c 61034136600461312e565 b 611016565 b 6102 b a 611023565 b 61020 c 61035 c 36600461312e565 b 611042565 b 61028 f 61036 f 36600461312e565 b 6110 b 2565 b 61020 c 61038236600461336 d 565 b 6110e7565 b 61039 a 61039536600461312e565 b 61143 c 565 b 6040516101 d 0 9190613476565 b 6103 b a 6103 b 536600461312e565 b 611625565 b 6040516101 d 0 91906134 a 8565 b 61028 f 6103 d 536600461312e565 b 6116 f 3565 b 61020 c 6103e83660046134 b c 565 b 611706565 b 61020 c 6103 f b 3660046134 e c 565 b 611 b 6 b 565 b 6101 c 661040e36600461312 e 565 b 6000908152600 a 602052604090205490565 b 61043361042e36600461312 e 565 b 611 c a 0 565 b 6040516101 d 0 919061351 a 565 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 610306565 b 60008181526017602052604081206004015481610482846104 d d 565 b 9050600081600481111561049857610498613147565 b 14806104 b 5575060018160048111156104 b 3576104 b 3613147565 b 145 b 156104 c 1575092915050565 b 6104 d 5826104 d 0 600142613543565 b 611e57565 b 949350505050565 b 60008181526016602052604081205482906001600160 a 0 1 b 0 31661053 a 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 600083815260176020526040812090815460 f f 16600481111561055 f 5761055 f 613147565 b 14801561057 c 575060008481526017602052604090206005015442115 b 1561058 b 5760029250506105e9565 b 6001815460 f f 1660048111156105 a 3576105 a 3613147565 b 14806105 c 457506000815460 f f 1660048111156105 c 2576105 c 2613147565 b 145 b 80156105 d 35750806004015442115 b 156105e25760039250506105 e 9565 b 5460 f f 1691505 b 50919050565 b 60016105 f a 83611625565 b 600581111561060 b 5761060 b 613147565 b 146106585760405162461 b c d 60e51 b 815260206004820152601960248201527 f 536 c 6 f 74206e6 f 7420616363657074696e672070726 f 6 f 6673000000000000006044820152606401610531565 b 6106628282611e6 f 565 b 6000828152601860209081526040808320600181015484526016909252909120600 f 5461 f f f f 62010000909104166106 a 6856000908152600 a 602052604090205490565 b 6106 b 0 919061356 c 565 b 60000361073 f 57600 f 5460068201546000916064916106 d a 91640100000000900460 f f 1690613580565 b 6106e49190613597565 b 9050808360040160008282546106 f a 9190613543565 b 9091555050600 f 546000868152600 a 6020526040902054610100820460 f f 169162010000900461 f f f f 169061072 f 9190613597565 b 1061073 d 5761073 d 8561209 c 565 b 505 b 50505050565 b 826000808281526018602052604090205460 f f 16600581111561076 a 5761076 a 613147565 b 0 36107 a 65760405162461 b c d 60e51 b 815260206004820152600 c 60248201526 b 536 c 6 f 74206973206672656560 a 0 1 b 6044820152606401610531565 b 600084815260186020526040902060058101546001600160 a 0 1 b 0 31633146108105760405162461 b c d 60e51 b 815260206004820152601960248201527 f 536 c 6 f 742066696 c 6 c 656420627920
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-10-21 11:00:46 +03:00
"details" : "Request must be cancelled, failed or finished, and the transaction must originate from the depositor 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-11-25 20:27:00 +02:00
"astId" : 5646 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
2024-10-08 15:27:06 +03:00
"label" : "_reservations" ,
2024-08-07 18:58:31 +03:00
"offset" : 0 ,
"slot" : "0" ,
2024-11-25 20:27:00 +02:00
"type" : "t_mapping(t_userDefinedValueType(SlotId)5496,t_struct(AddressSet)1902_storage)"
2024-10-08 15:27:06 +03:00
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 5649 ,
2024-10-08 15:27:06 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_config" ,
"offset" : 0 ,
"slot" : "1" ,
"type" : "t_struct(SlotReservationsConfig)2226_storage"
2024-08-07 18:58:31 +03:00
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 4910 ,
2024-10-08 15:27:06 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_config" ,
"offset" : 0 ,
"slot" : "2" ,
"type" : "t_struct(ProofConfig)2223_storage"
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 4913 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_verifier" ,
"offset" : 0 ,
2024-10-08 15:27:06 +03:00
"slot" : "7" ,
"type" : "t_contract(IGroth16Verifier)2412"
2024-08-07 18:58:31 +03:00
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 4949 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_slotStarts" ,
"offset" : 0 ,
2024-10-08 15:27:06 +03:00
"slot" : "8" ,
2024-11-25 20:27:00 +02:00
"type" : "t_mapping(t_userDefinedValueType(SlotId)5496,t_uint256)"
2024-08-07 18:58:31 +03:00
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 4954 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_probabilities" ,
"offset" : 0 ,
2024-10-08 15:27:06 +03:00
"slot" : "9" ,
2024-11-25 20:27:00 +02:00
"type" : "t_mapping(t_userDefinedValueType(SlotId)5496,t_uint256)"
2024-08-07 18:58:31 +03:00
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 4959 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_missed" ,
"offset" : 0 ,
2024-10-08 15:27:06 +03:00
"slot" : "10" ,
2024-11-25 20:27:00 +02:00
"type" : "t_mapping(t_userDefinedValueType(SlotId)5496,t_uint256)"
2024-08-07 18:58:31 +03:00
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 4967 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_received" ,
"offset" : 0 ,
2024-10-08 15:27:06 +03:00
"slot" : "11" ,
2024-11-25 20:27:00 +02:00
"type" : "t_mapping(t_userDefinedValueType(SlotId)5496,t_mapping(t_userDefinedValueType(Period)4767,t_bool))"
2024-08-07 18:58:31 +03:00
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 4975 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_missing" ,
"offset" : 0 ,
2024-10-08 15:27:06 +03:00
"slot" : "12" ,
2024-11-25 20:27:00 +02:00
"type" : "t_mapping(t_userDefinedValueType(SlotId)5496,t_mapping(t_userDefinedValueType(Period)4767,t_bool))"
2024-08-07 18:58:31 +03:00
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 5790 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_requestsPerClient" ,
"offset" : 0 ,
2024-10-08 15:27:06 +03:00
"slot" : "13" ,
2024-08-07 18:58:31 +03:00
"type" : "t_mapping(t_address,t_struct(Bytes32Set)1781_storage)"
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 5795 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_slotsPerHost" ,
"offset" : 0 ,
2024-10-08 15:27:06 +03:00
"slot" : "14" ,
2024-08-07 18:58:31 +03:00
"type" : "t_mapping(t_address,t_struct(Bytes32Set)1781_storage)"
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3039 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_config" ,
"offset" : 0 ,
2024-10-08 15:27:06 +03:00
"slot" : "15" ,
"type" : "t_struct(MarketplaceConfig)2202_storage"
2024-08-07 18:58:31 +03:00
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3045 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_requests" ,
"offset" : 0 ,
2024-10-08 15:27:06 +03:00
"slot" : "22" ,
2024-11-25 20:27:00 +02:00
"type" : "t_mapping(t_userDefinedValueType(RequestId)5494,t_struct(Request)5509_storage)"
2024-08-07 18:58:31 +03:00
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3051 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_requestContexts" ,
"offset" : 0 ,
2024-10-08 15:27:06 +03:00
"slot" : "23" ,
2024-11-25 20:27:00 +02:00
"type" : "t_mapping(t_userDefinedValueType(RequestId)5494,t_struct(RequestContext)3075_storage)"
2024-08-07 18:58:31 +03:00
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3057 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_slots" ,
"offset" : 0 ,
2024-10-08 15:27:06 +03:00
"slot" : "24" ,
2024-11-25 20:27:00 +02:00
"type" : "t_mapping(t_userDefinedValueType(SlotId)5496,t_struct(Slot)3092_storage)"
2024-08-07 18:58:31 +03:00
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3060 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_marketplaceTotals" ,
"offset" : 0 ,
2024-10-08 15:27:06 +03:00
"slot" : "25" ,
2024-11-25 20:27:00 +02:00
"type" : "t_struct(MarketplaceTotals)4762_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-10-08 15:27:06 +03:00
"t_contract(IGroth16Verifier)2412" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "contract IGroth16Verifier" ,
"numberOfBytes" : "20"
} ,
2024-11-25 20:27:00 +02:00
"t_enum(RequestState)5535" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "enum RequestState" ,
"numberOfBytes" : "1"
} ,
2024-11-25 20:27:00 +02:00
"t_enum(SlotState)5542" : {
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-11-25 20:27:00 +02:00
"t_mapping(t_userDefinedValueType(Period)4767,t_bool)" : {
2024-08-07 18:58:31 +03:00
"encoding" : "mapping" ,
2024-11-25 20:27:00 +02:00
"key" : "t_userDefinedValueType(Period)4767" ,
2024-08-07 18:58:31 +03:00
"label" : "mapping(Periods.Period => bool)" ,
"numberOfBytes" : "32" ,
"value" : "t_bool"
} ,
2024-11-25 20:27:00 +02:00
"t_mapping(t_userDefinedValueType(RequestId)5494,t_struct(Request)5509_storage)" : {
2024-08-07 18:58:31 +03:00
"encoding" : "mapping" ,
2024-11-25 20:27:00 +02:00
"key" : "t_userDefinedValueType(RequestId)5494" ,
2024-08-07 18:58:31 +03:00
"label" : "mapping(RequestId => struct Request)" ,
"numberOfBytes" : "32" ,
2024-11-25 20:27:00 +02:00
"value" : "t_struct(Request)5509_storage"
2024-08-07 18:58:31 +03:00
} ,
2024-11-25 20:27:00 +02:00
"t_mapping(t_userDefinedValueType(RequestId)5494,t_struct(RequestContext)3075_storage)" : {
2024-08-07 18:58:31 +03:00
"encoding" : "mapping" ,
2024-11-25 20:27:00 +02:00
"key" : "t_userDefinedValueType(RequestId)5494" ,
2024-08-07 18:58:31 +03:00
"label" : "mapping(RequestId => struct Marketplace.RequestContext)" ,
"numberOfBytes" : "32" ,
2024-10-21 11:00:46 +03:00
"value" : "t_struct(RequestContext)3075_storage"
2024-08-07 18:58:31 +03:00
} ,
2024-11-25 20:27:00 +02:00
"t_mapping(t_userDefinedValueType(SlotId)5496,t_mapping(t_userDefinedValueType(Period)4767,t_bool))" : {
2024-08-07 18:58:31 +03:00
"encoding" : "mapping" ,
2024-11-25 20:27:00 +02:00
"key" : "t_userDefinedValueType(SlotId)5496" ,
2024-08-07 18:58:31 +03:00
"label" : "mapping(SlotId => mapping(Periods.Period => bool))" ,
"numberOfBytes" : "32" ,
2024-11-25 20:27:00 +02:00
"value" : "t_mapping(t_userDefinedValueType(Period)4767,t_bool)"
2024-08-07 18:58:31 +03:00
} ,
2024-11-25 20:27:00 +02:00
"t_mapping(t_userDefinedValueType(SlotId)5496,t_struct(AddressSet)1902_storage)" : {
2024-08-07 18:58:31 +03:00
"encoding" : "mapping" ,
2024-11-25 20:27:00 +02:00
"key" : "t_userDefinedValueType(SlotId)5496" ,
2024-10-08 15:27:06 +03:00
"label" : "mapping(SlotId => struct EnumerableSet.AddressSet)" ,
"numberOfBytes" : "32" ,
"value" : "t_struct(AddressSet)1902_storage"
} ,
2024-11-25 20:27:00 +02:00
"t_mapping(t_userDefinedValueType(SlotId)5496,t_struct(Slot)3092_storage)" : {
2024-10-08 15:27:06 +03:00
"encoding" : "mapping" ,
2024-11-25 20:27:00 +02:00
"key" : "t_userDefinedValueType(SlotId)5496" ,
2024-08-07 18:58:31 +03:00
"label" : "mapping(SlotId => struct Marketplace.Slot)" ,
"numberOfBytes" : "32" ,
2024-10-21 11:00:46 +03:00
"value" : "t_struct(Slot)3092_storage"
2024-08-07 18:58:31 +03:00
} ,
2024-11-25 20:27:00 +02:00
"t_mapping(t_userDefinedValueType(SlotId)5496,t_uint256)" : {
2024-08-07 18:58:31 +03:00
"encoding" : "mapping" ,
2024-11-25 20:27:00 +02:00
"key" : "t_userDefinedValueType(SlotId)5496" ,
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-10-08 15:27:06 +03:00
"t_struct(AddressSet)1902_storage" : {
"encoding" : "inplace" ,
"label" : "struct EnumerableSet.AddressSet" ,
"members" : [
{
"astId" : 1901 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "_inner" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_struct(Set)1587_storage"
}
] ,
"numberOfBytes" : "64"
} ,
2024-11-25 20:27:00 +02:00
"t_struct(Ask)5524_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct Ask" ,
"members" : [
{
2024-11-25 20:27:00 +02:00
"astId" : 5511 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "slots" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_uint64"
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 5513 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "slotSize" ,
"offset" : 0 ,
"slot" : "1" ,
"type" : "t_uint256"
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 5515 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "duration" ,
"offset" : 0 ,
"slot" : "2" ,
"type" : "t_uint256"
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 5517 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "proofProbability" ,
"offset" : 0 ,
"slot" : "3" ,
"type" : "t_uint256"
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 5519 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "reward" ,
"offset" : 0 ,
"slot" : "4" ,
"type" : "t_uint256"
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 5521 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "collateral" ,
"offset" : 0 ,
"slot" : "5" ,
"type" : "t_uint256"
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 5523 ,
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"
} ,
2024-10-08 15:27:06 +03:00
"t_struct(CollateralConfig)2212_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct CollateralConfig" ,
"members" : [
{
2024-10-08 15:27:06 +03:00
"astId" : 2205 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "repairRewardPercentage" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_uint8"
} ,
{
2024-10-08 15:27:06 +03:00
"astId" : 2207 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "maxNumberOfSlashes" ,
"offset" : 1 ,
"slot" : "0" ,
"type" : "t_uint8"
} ,
{
2024-10-08 15:27:06 +03:00
"astId" : 2209 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "slashCriterion" ,
"offset" : 2 ,
"slot" : "0" ,
"type" : "t_uint16"
} ,
{
2024-10-08 15:27:06 +03:00
"astId" : 2211 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "slashPercentage" ,
"offset" : 4 ,
"slot" : "0" ,
"type" : "t_uint8"
}
] ,
"numberOfBytes" : "32"
} ,
2024-11-25 20:27:00 +02:00
"t_struct(Content)5529_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct Content" ,
"members" : [
{
2024-11-25 20:27:00 +02:00
"astId" : 5526 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "cid" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_string_storage"
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 5528 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "merkleRoot" ,
"offset" : 0 ,
"slot" : "1" ,
"type" : "t_bytes32"
}
] ,
"numberOfBytes" : "64"
} ,
2024-10-08 15:27:06 +03:00
"t_struct(MarketplaceConfig)2202_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct MarketplaceConfig" ,
"members" : [
{
"astId" : 2195 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "collateral" ,
"offset" : 0 ,
"slot" : "0" ,
2024-10-08 15:27:06 +03:00
"type" : "t_struct(CollateralConfig)2212_storage"
2024-08-07 18:58:31 +03:00
} ,
{
"astId" : 2198 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "proofs" ,
"offset" : 0 ,
"slot" : "1" ,
2024-10-08 15:27:06 +03:00
"type" : "t_struct(ProofConfig)2223_storage"
} ,
{
"astId" : 2201 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "reservations" ,
"offset" : 0 ,
"slot" : "6" ,
"type" : "t_struct(SlotReservationsConfig)2226_storage"
2024-08-07 18:58:31 +03:00
}
] ,
2024-10-08 15:27:06 +03:00
"numberOfBytes" : "224"
2024-08-07 18:58:31 +03:00
} ,
2024-11-25 20:27:00 +02:00
"t_struct(MarketplaceTotals)4762_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct Marketplace.MarketplaceTotals" ,
"members" : [
{
2024-11-25 20:27:00 +02:00
"astId" : 4759 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "received" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_uint256"
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 4761 ,
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-10-08 15:27:06 +03:00
"t_struct(ProofConfig)2223_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct ProofConfig" ,
"members" : [
{
2024-10-08 15:27:06 +03:00
"astId" : 2214 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "period" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_uint256"
} ,
{
2024-10-08 15:27:06 +03:00
"astId" : 2216 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "timeout" ,
"offset" : 0 ,
"slot" : "1" ,
"type" : "t_uint256"
} ,
{
2024-10-08 15:27:06 +03:00
"astId" : 2218 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "downtime" ,
"offset" : 0 ,
"slot" : "2" ,
"type" : "t_uint8"
} ,
{
2024-10-08 15:27:06 +03:00
"astId" : 2220 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "zkeyHash" ,
"offset" : 0 ,
"slot" : "3" ,
"type" : "t_string_storage"
2024-09-24 13:31:07 +03:00
} ,
{
2024-10-08 15:27:06 +03:00
"astId" : 2222 ,
2024-09-24 13:31:07 +03:00
"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-11-25 20:27:00 +02:00
"t_struct(Request)5509_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct Request" ,
"members" : [
{
2024-11-25 20:27:00 +02:00
"astId" : 5498 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "client" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_address"
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 5501 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "ask" ,
"offset" : 0 ,
"slot" : "1" ,
2024-11-25 20:27:00 +02:00
"type" : "t_struct(Ask)5524_storage"
2024-08-07 18:58:31 +03:00
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 5504 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "content" ,
"offset" : 0 ,
"slot" : "8" ,
2024-11-25 20:27:00 +02:00
"type" : "t_struct(Content)5529_storage"
2024-08-07 18:58:31 +03:00
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 5506 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "expiry" ,
"offset" : 0 ,
"slot" : "10" ,
"type" : "t_uint256"
} ,
{
2024-11-25 20:27:00 +02:00
"astId" : 5508 ,
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-10-21 11:00:46 +03:00
"t_struct(RequestContext)3075_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct Marketplace.RequestContext" ,
"members" : [
{
2024-10-21 11:00:46 +03:00
"astId" : 3063 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "state" ,
"offset" : 0 ,
"slot" : "0" ,
2024-11-25 20:27:00 +02:00
"type" : "t_enum(RequestState)5535"
2024-08-07 18:58:31 +03:00
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3065 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "slotsFilled" ,
"offset" : 0 ,
"slot" : "1" ,
"type" : "t_uint256"
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3068 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
2024-10-21 11:00:46 +03:00
"label" : "fundsToReturnToClient" ,
2024-08-07 18:58:31 +03:00
"offset" : 0 ,
"slot" : "2" ,
"type" : "t_uint256"
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3070 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "startedAt" ,
"offset" : 0 ,
"slot" : "3" ,
"type" : "t_uint256"
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3072 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "endsAt" ,
"offset" : 0 ,
"slot" : "4" ,
"type" : "t_uint256"
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3074 ,
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-10-21 11:00:46 +03:00
"t_struct(Slot)3092_storage" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "struct Marketplace.Slot" ,
"members" : [
{
2024-10-21 11:00:46 +03:00
"astId" : 3078 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "state" ,
"offset" : 0 ,
"slot" : "0" ,
2024-11-25 20:27:00 +02:00
"type" : "t_enum(SlotState)5542"
2024-08-07 18:58:31 +03:00
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3081 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "requestId" ,
"offset" : 0 ,
"slot" : "1" ,
2024-11-25 20:27:00 +02:00
"type" : "t_userDefinedValueType(RequestId)5494"
2024-08-07 18:58:31 +03:00
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3084 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "filledAt" ,
"offset" : 0 ,
"slot" : "2" ,
"type" : "t_uint256"
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3086 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "slotIndex" ,
"offset" : 0 ,
"slot" : "3" ,
"type" : "t_uint256"
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3089 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "currentCollateral" ,
"offset" : 0 ,
"slot" : "4" ,
"type" : "t_uint256"
} ,
{
2024-10-21 11:00:46 +03:00
"astId" : 3091 ,
2024-08-07 18:58:31 +03:00
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "host" ,
"offset" : 0 ,
"slot" : "5" ,
"type" : "t_address"
}
] ,
"numberOfBytes" : "192"
} ,
2024-10-08 15:27:06 +03:00
"t_struct(SlotReservationsConfig)2226_storage" : {
"encoding" : "inplace" ,
"label" : "struct SlotReservationsConfig" ,
"members" : [
{
"astId" : 2225 ,
"contract" : "contracts/Marketplace.sol:Marketplace" ,
"label" : "maxReservations" ,
"offset" : 0 ,
"slot" : "0" ,
"type" : "t_uint8"
}
] ,
"numberOfBytes" : "32"
} ,
2024-08-07 18:58:31 +03:00
"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-11-25 20:27:00 +02:00
"t_userDefinedValueType(Period)4767" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "Periods.Period" ,
"numberOfBytes" : "32"
} ,
2024-11-25 20:27:00 +02:00
"t_userDefinedValueType(RequestId)5494" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "RequestId" ,
"numberOfBytes" : "32"
} ,
2024-11-25 20:27:00 +02:00
"t_userDefinedValueType(SlotId)5496" : {
2024-08-07 18:58:31 +03:00
"encoding" : "inplace" ,
"label" : "SlotId" ,
"numberOfBytes" : "32"
}
}
}
}