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

325 lines
5.9 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": {
"claimFailedDeposit(address,address,bytes32,uint256,uint256,uint16,bytes32[])": "19fa7f62",
"deposit(address,address,uint256,uint256,uint256,address)": "e8b99b1b",
"finalizeWithdrawal(uint256,uint256,uint16,bytes,bytes32[])": "11a2ccc1",
"isWithdrawalFinalized(uint256,uint256)": "4bed8212",
"l2Bridge()": "ae1f6aaf",
"l2TokenAddress(address)": "f5f15168"
}
},
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "l1Token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "ClaimedFailedDeposit",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "l2DepositTxHash",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "l1Token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "DepositInitiated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "l1Token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "WithdrawalFinalized",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "_depositSender",
"type": "address"
},
{
"internalType": "address",
"name": "_l1Token",
"type": "address"
},
{
"internalType": "bytes32",
"name": "_l2TxHash",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "_l2BatchNumber",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_l2MessageIndex",
"type": "uint256"
},
{
"internalType": "uint16",
"name": "_l2TxNumberInBatch",
"type": "uint16"
},
{
"internalType": "bytes32[]",
"name": "_merkleProof",
"type": "bytes32[]"
}
],
"name": "claimFailedDeposit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_l2Receiver",
"type": "address"
},
{
"internalType": "address",
"name": "_l1Token",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_l2TxGasLimit",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_l2TxGasPerPubdataByte",
"type": "uint256"
},
{
"internalType": "address",
"name": "_refundRecipient",
"type": "address"
}
],
"name": "deposit",
"outputs": [
{
"internalType": "bytes32",
"name": "txHash",
"type": "bytes32"
}
],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_l2BatchNumber",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_l2MessageIndex",
"type": "uint256"
},
{
"internalType": "uint16",
"name": "_l2TxNumberInBatch",
"type": "uint16"
},
{
"internalType": "bytes",
"name": "_message",
"type": "bytes"
},
{
"internalType": "bytes32[]",
"name": "_merkleProof",
"type": "bytes32[]"
}
],
"name": "finalizeWithdrawal",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_l2BatchNumber",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_l2MessageIndex",
"type": "uint256"
}
],
"name": "isWithdrawalFinalized",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "l2Bridge",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_l1Token",
"type": "address"
}
],
"name": "l2TokenAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
]
}