Comment on page
Get Permission Set
As permission sets are only stored in the form of merkle roots on the contract we need a way to store them entirely offchain. This is why we store permission sets as JSON files on our S3 bucket publicly available at
https://permissive-perms.s3.fr-par.scw.cloud/
you can provide the merkle root of your permission set with the JSON extension and the whole permission set is returned to you.Returns:
{
"title": "v0.0.4-2",
"permissions": [
{
"operator": "0x490B97230D82C22b563C3F322470f643B305884e",
"to": "0xDc447F546349c0A29eA3E215dA9CF93f3b8ec89F",
"selector": "0x55f804b3",
"allowed_arguments": "0xf865f86302b860000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000026869000000000000000000000000000000000000000000000000000000000000",
"paymaster": "0x0000000000000000000000000000000000000000",
"validUntil": 1701993600,
"validAfter": 1691449200,
"maxUsage": 0,
"dataValidation": {
"validator": "0x311699f095bb8fab24ee190833b7f4c1d22a8716",
"target": "0xdf45d78270bdd9ef6f4dc1bba22984378c397c2d",
"data": "0x29843613c7211d014f5dd5718cf32bcd314914cb"
}
}
]
}
Last modified 5mo ago