Verified contractExactMIT
EscrowFactory
Address0xeb4e2eccfcd4dc48fd2c358b8a183f883d492bb6
- Balance
0.005 ETH
- Transactions
6
- Compiler
solc 0.8.30
- Same code
Only this contract
Details
- Compiler
- solc 0.8.30+commit.73712a01
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 23,912,021
- Creation transaction
- 0xcf882c18e2…ca56c320f7
Read12
- allEscrows(uint256) → (address)
- contractIdToEscrow(string) → (address)
- defaultArbiter() → (address)
- deploymentFee() → (uint256)
- getBalance() → (uint256)
- getEscrowByContractId(string) → (address)
- getTotalEscrows() → (uint256)
- getUserEscrows(address) → (address[])
- isValidEscrow(address) → (bool)
- isValidEscrowAddress(address) → (bool)
- owner() → (address)
- userEscrows(address,uint256) → (address)
Write5
- deployEscrow(string,address) → (address)
- setDefaultArbiter(address)
- setDeploymentFee(uint256)
- transferOwnership(address)
- withdrawFees(address)
Events4
- DefaultArbiterChanged(address,address)
- DeploymentFeeChanged(uint256,uint256)
- EscrowDeployed(address,string,address,address)
- FeeCollected(uint256)
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "_defaultArbiter",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"name": "DefaultArbiterChanged",
"type": "event",
"inputs": [
{
"name": "oldArbiter",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newArbiter",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "DeploymentFeeChanged",
"type": "event",
"inputs": [
{
"name": "oldFee",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "newFee",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "EscrowDeployed",
"type": "event",
"inputs": [
{
"name": "escrowAddress",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "contractId",
"type": "string",
"indexed": true,
"internalType": "string"
},
{
"name": "deployer",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "arbiter",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "FeeCollected",
"type": "event",
"inputs": [
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "allEscrows",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "contractIdToEscrow",
"type": "function",
"inputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "defaultArbiter",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "deployEscrow",
"type": "function",
"inputs": [
{
"name": "contractId",
"type": "string",
"internalType": "string"
},
{
"name": "customArbiter",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "escrowAddress",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "payable"
},
{
"name": "deploymentFee",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getBalance",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getEscrowByContractId",
"type": "function",
"inputs": [
{
"name": "contractId",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "getTotalEscrows",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getUserEscrows",
"type": "function",
"inputs": [
{
"name": "user",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "address[]",
"internalType": "address[]"
}
],
"stateMutability": "view"
},
{
"name": "isValidEscrow",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "isValidEscrowAddress",
"type": "function",
"inputs": [
{
"name": "escrowAddress",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "setDefaultArbiter",
"type": "function",
"inputs": [
{
"name": "newArbiter",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setDeploymentFee",
"type": "function",
"inputs": [
{
"name": "newFee",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "userEscrows",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "withdrawFees",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "receive",
"stateMutability": "payable"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.