2024-09-01 23:29:11 +03:00

344 lines
6.4 KiB
JSON

{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"methodIdentifiers": {
"canCall(address,address,bytes4)": "b7009613",
"getAccessMode(address)": "285712c8",
"getTokenDepositLimitData(address)": "7cf14701",
"hasSpecialAccessToCall(address,address,bytes4)": "5965cf8c",
"setAccessMode(address,uint8)": "ffc7d0b4",
"setBatchAccessMode(address[],uint8[])": "ec5f109a",
"setBatchPermissionToCall(address[],address[],bytes4[],bool[])": "507d1bed",
"setDepositLimit(address,bool,uint256)": "dff05449",
"setPermissionToCall(address,address,bytes4,bool)": "73df5d8d"
}
},
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "target",
"type": "address"
},
{
"indexed": false,
"internalType": "enum IAllowList.AccessMode",
"name": "previousMode",
"type": "uint8"
},
{
"indexed": false,
"internalType": "enum IAllowList.AccessMode",
"name": "newMode",
"type": "uint8"
}
],
"name": "UpdateAccessMode",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "caller",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "target",
"type": "address"
},
{
"indexed": true,
"internalType": "bytes4",
"name": "functionSig",
"type": "bytes4"
},
{
"indexed": false,
"internalType": "bool",
"name": "status",
"type": "bool"
}
],
"name": "UpdateCallPermission",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "_caller",
"type": "address"
},
{
"internalType": "address",
"name": "_target",
"type": "address"
},
{
"internalType": "bytes4",
"name": "_functionSig",
"type": "bytes4"
}
],
"name": "canCall",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_target",
"type": "address"
}
],
"name": "getAccessMode",
"outputs": [
{
"internalType": "enum IAllowList.AccessMode",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_l1Token",
"type": "address"
}
],
"name": "getTokenDepositLimitData",
"outputs": [
{
"components": [
{
"internalType": "bool",
"name": "depositLimitation",
"type": "bool"
},
{
"internalType": "uint256",
"name": "depositCap",
"type": "uint256"
}
],
"internalType": "struct IAllowList.Deposit",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_caller",
"type": "address"
},
{
"internalType": "address",
"name": "_target",
"type": "address"
},
{
"internalType": "bytes4",
"name": "_functionSig",
"type": "bytes4"
}
],
"name": "hasSpecialAccessToCall",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_target",
"type": "address"
},
{
"internalType": "enum IAllowList.AccessMode",
"name": "_accessMode",
"type": "uint8"
}
],
"name": "setAccessMode",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "_targets",
"type": "address[]"
},
{
"internalType": "enum IAllowList.AccessMode[]",
"name": "_accessMode",
"type": "uint8[]"
}
],
"name": "setBatchAccessMode",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "_callers",
"type": "address[]"
},
{
"internalType": "address[]",
"name": "_targets",
"type": "address[]"
},
{
"internalType": "bytes4[]",
"name": "_functionSigs",
"type": "bytes4[]"
},
{
"internalType": "bool[]",
"name": "_enables",
"type": "bool[]"
}
],
"name": "setBatchPermissionToCall",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_l1Token",
"type": "address"
},
{
"internalType": "bool",
"name": "_depositLimitation",
"type": "bool"
},
{
"internalType": "uint256",
"name": "_depositCap",
"type": "uint256"
}
],
"name": "setDepositLimit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_caller",
"type": "address"
},
{
"internalType": "address",
"name": "_target",
"type": "address"
},
{
"internalType": "bytes4",
"name": "_functionSig",
"type": "bytes4"
},
{
"internalType": "bool",
"name": "_enable",
"type": "bool"
}
],
"name": "setPermissionToCall",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}