Expand description
Generated by the following Solidity interface…
interface EthBridgeVault {
error AddressEmptyCode(address target);
error AddressInsufficientBalance(address account);
error FailedInnerCall();
error OwnableInvalidOwner(address owner);
error OwnableUnauthorizedAccount(address account);
error ReentrancyGuardReentrantCall();
error SafeERC20FailedOperation(address token);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor(address _wETH);
receive() external payable;
function owner() external view returns (address);
function renounceOwnership() external;
function transferERC20(address tokenAddress, address recipientAddress, uint256 amount) external;
function transferETH(address payable recipientAddress, uint256 amount) external;
function transferOwnership(address newOwner) external;
function wETH() external view returns (address);
}…which was generated by the following JSON ABI:
[
{
"type": "constructor",
"inputs": [
{
"name": "_wETH",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"type": "receive",
"stateMutability": "payable"
},
{
"type": "function",
"name": "owner",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "renounceOwnership",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferERC20",
"inputs": [
{
"name": "tokenAddress",
"type": "address",
"internalType": "address"
},
{
"name": "recipientAddress",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferETH",
"inputs": [
{
"name": "recipientAddress",
"type": "address",
"internalType": "address payable"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferOwnership",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "wETH",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IWETH9"
}
],
"stateMutability": "view"
},
{
"type": "event",
"name": "OwnershipTransferred",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "error",
"name": "AddressEmptyCode",
"inputs": [
{
"name": "target",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "AddressInsufficientBalance",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "FailedInnerCall",
"inputs": []
},
{
"type": "error",
"name": "OwnableInvalidOwner",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "OwnableUnauthorizedAccount",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "ReentrancyGuardReentrantCall",
"inputs": []
},
{
"type": "error",
"name": "SafeERC20FailedOperation",
"inputs": [
{
"name": "token",
"type": "address",
"internalType": "address"
}
]
}
]Structs§
- Address
Empty Code - Custom error with signature
AddressEmptyCode(address)and selector0x9996b315. - Address
Insufficient Balance - Custom error with signature
AddressInsufficientBalance(address)and selector0xcd786059. - EthBridge
Vault Instance - A
EthBridgeVaultinstance. - Failed
Inner Call - Custom error with signature
FailedInnerCall()and selector0x1425ea42. - Ownable
Invalid Owner - Custom error with signature
OwnableInvalidOwner(address)and selector0x1e4fbdf7. - Ownable
Unauthorized Account - Custom error with signature
OwnableUnauthorizedAccount(address)and selector0x118cdaa7. - Ownership
Transferred - Event with signature
OwnershipTransferred(address,address)and selector0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0. - Reentrancy
Guard Reentrant Call - Custom error with signature
ReentrancyGuardReentrantCall()and selector0x3ee5aeb5. - SafeER
C20Failed Operation - Custom error with signature
SafeERC20FailedOperation(address)and selector0x5274afe7. - constructor
Call - Constructor`.
- owner
Call - Function with signature
owner()and selector0x8da5cb5b. - owner
Return - Container type for the return parameters of the
owner()function. - renounce
Ownership Call - Function with signature
renounceOwnership()and selector0x715018a6. - renounce
Ownership Return - Container type for the return parameters of the
renounceOwnership()function. - transferER
C20Call - Function with signature
transferERC20(address,address,uint256)and selector0x9db5dbe4. - transferER
C20Return - Container type for the return parameters of the
transferERC20(address,address,uint256)function. - transferETH
Call - Function with signature
transferETH(address,uint256)and selector0x7b1a4909. - transferETH
Return - Container type for the return parameters of the
transferETH(address,uint256)function. - transfer
Ownership Call - Function with signature
transferOwnership(address)and selector0xf2fde38b. - transfer
Ownership Return - Container type for the return parameters of the
transferOwnership(address)function. - wETH
Call - Function with signature
wETH()and selector0xf2428621. - wETH
Return - Container type for the return parameters of the
wETH()function.
Enums§
- EthBridge
Vault Calls - Container for all the
EthBridgeVaultfunction calls. - EthBridge
Vault Errors - Container for all the
EthBridgeVaultcustom errors. - EthBridge
Vault Events - Container for all the
EthBridgeVaultevents.
Functions§
- new
- Creates a new wrapper around an on-chain
EthBridgeVaultcontract instance.