Skip to content

Commit

Permalink
feat: updating deployment files
Browse files Browse the repository at this point in the history
  • Loading branch information
Narayanprusty authored and github-actions[bot] committed Oct 3, 2024
1 parent 4f28586 commit 1af0888
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 13 deletions.
127 changes: 115 additions & 12 deletions deployments/sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"chainId": "11155111",
"contracts": {
"ACMCommandsAggregator": {
"address": "0x736c66489D8ebA0279D3518429C6cEd6450B1Cc9",
"address": "0x0653830c55035d678e1287b2d4550519fd263d0e",
"abi": [
{
"inputs": [
Expand All @@ -16,6 +16,42 @@
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "EmptyPermissions",
"type": "error"
},
{
"inputs": [],
"name": "ZeroAddressNotAllowed",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "GrantPermissionsAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "GrantPermissionsExecuted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand All @@ -26,7 +62,7 @@
"type": "uint256"
}
],
"name": "PermissionsAdded",
"name": "RevokePermissionsAdded",
"type": "event"
},
{
Expand All @@ -39,7 +75,7 @@
"type": "uint256"
}
],
"name": "PermissionsExecuted",
"name": "RevokePermissionsExecuted",
"type": "event"
},
{
Expand All @@ -60,10 +96,35 @@
{
"components": [
{
"internalType": "enum ACMCommandsAggregator.PermissionType",
"name": "permissionType",
"type": "uint8"
"internalType": "address",
"name": "contractAddress",
"type": "address"
},
{
"internalType": "string",
"name": "functionSig",
"type": "string"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"internalType": "struct ACMCommandsAggregator.Permission[]",
"name": "_permissions",
"type": "tuple[]"
}
],
"name": "addGrantPermissions",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "address",
"name": "contractAddress",
Expand All @@ -85,7 +146,20 @@
"type": "tuple[]"
}
],
"name": "addPermissions",
"name": "addRevokePermissions",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "executeGrantPermissions",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
Expand All @@ -98,7 +172,7 @@
"type": "uint256"
}
],
"name": "executePermissions",
"name": "executeRevokePermissions",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
Expand All @@ -116,13 +190,42 @@
"type": "uint256"
}
],
"name": "permissions",
"name": "grantPermissions",
"outputs": [
{
"internalType": "enum ACMCommandsAggregator.PermissionType",
"name": "permissionType",
"type": "uint8"
"internalType": "address",
"name": "contractAddress",
"type": "address"
},
{
"internalType": "string",
"name": "functionSig",
"type": "string"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "revokePermissions",
"outputs": [
{
"internalType": "address",
"name": "contractAddress",
Expand Down
2 changes: 1 addition & 1 deletion deployments/sepolia_addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "sepolia",
"chainId": "11155111",
"addresses": {
"ACMCommandsAggregator": "0x736c66489D8ebA0279D3518429C6cEd6450B1Cc9",
"ACMCommandsAggregator": "0x0653830c55035d678e1287b2d4550519fd263d0e",
"AccessControlManager": "0xbf705C00578d43B6147ab4eaE04DBBEd1ccCdc96",
"CriticalTimelock": "0xA24A7A65b8968a749841988Bd7d05F6a94329fDe",
"DefaultProxyAdmin": "0x01435866babd91311b1355cf3af488cca36db68e",
Expand Down

0 comments on commit 1af0888

Please sign in to comment.