📌Escrow
Overview
The Escrow
contract is designed to securely manage the escrow process for various types of assets including ERC-20 tokens, Ether, and ERC-721 (NFT) tokens.
It acts as an intermediary to hold assets until predefined conditions are met, providing a trustless mechanism for transactions between parties.
Methods
acceptToken
acceptToken
Accepts ERC-20 tokens into escrow.
Parameters
Returns
acceptEth
acceptEth
Accepts Ether into escrow.
Parameters
Returns
tokenTransaction
tokenTransaction
Retrieves the current state of an ERC-20 token transaction in escrow.
Parameters
Returns
ethTransacton
ethTransacton
Retrieves the current state of an Ether transaction in escrow.
Returns
ethRelease
ethRelease
Admin function to unlock Ether in escrow.
Parameters
ethWithdraw
ethWithdraw
Allows the seller to withdraw unlocked Ether.
Returns
tokenRelease
tokenRelease
Admin function to unlock ERC-20 tokens in escrow.
Parameters
Returns
tokenWithdraw
tokenWithdraw
Allows the seller to withdraw unlocked ERC-20 tokens.
Parameters
Returns
acceptNFT
acceptNFT
Accepts an ERC-721 token into escrow.
Parameters
Returns
nftTransactions
nftTransactions
Retrieves current state of transactions in escrow for a specific ERC-721 token contract.
Parameters
Returns
nftRelease
nftRelease
Admin function to unlock an ERC-721 token in escrow.
Parameters
Returns
nftWithdraw
nftWithdraw
Allows the seller to withdraw an unlocked ERC-721 token.
Parameters
Returns
Last updated