relevant tag icon
Escrow with Agent
copy icon
SD170
• version 1.0.0
Escrow
Finance
Utility
Deployable

Escrow with Agent

Solidity contract to create escrow agreement. Total 3 parties involved: a payer, a payee and an agent. The escrow amount and stages are handled by the agent. The agent decides when the ether is sent to the payee.

*Visit desktop site to download or deploy

Version

1.0.0

Creator

SD170

Recent Use

🍞 0x0eF9 deployed

Last Publish

11/16/2022
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
agent() :
A third party that decides when to send ether to a payee
amount() :
The amount in escrow
balanceOf() :
The current amount in escrow
currentStage() :
The current stage: open (escrow contract is open; the payer hasn't paid yet), ongoing (escrow contract is open; payer has paid; payee didn't receive the ether), closed (payee received the ether)
deposit() :
Allows the payer to deposit ether into the escrow
init(address,address,address,uint256) :
Initializes the escrow
payee() :
The address being paid
payer() :
The address that will pay
release() :
Used by the agent to release funds to the payee
revertEscrow() :
Used by the agent to return funds to the payer
stageOf() :
Returns the current stage of the escrow

Get Cookin'
share iconShare

copy iconNo-Code Deploy
copy iconDownload Source
copy iconnpx cookbookdev i escrow-with-agent
copy icon

Bytecode

Download

Recent Use

🍞 0x0eF9 deployed

Last Publish

11/16/2022

Version

1.0.0

Creator

SD170

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.