📌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

Accepts ERC-20 tokens into escrow.

Parameters

Returns

acceptEth

Accepts Ether into escrow.

Parameters

Returns

tokenTransaction

Retrieves the current state of an ERC-20 token transaction in escrow.

Parameters

Returns

ethTransacton

Retrieves the current state of an Ether transaction in escrow.

Returns

ethRelease

Admin function to unlock Ether in escrow.

Parameters

ethWithdraw

Allows the seller to withdraw unlocked Ether.

Returns

tokenRelease

Admin function to unlock ERC-20 tokens in escrow.

Parameters

Returns

tokenWithdraw

Allows the seller to withdraw unlocked ERC-20 tokens.

Parameters

Returns

acceptNFT

Accepts an ERC-721 token into escrow.

Parameters

Returns

nftTransactions

Retrieves current state of transactions in escrow for a specific ERC-721 token contract.

Parameters

Returns

nftRelease

Admin function to unlock an ERC-721 token in escrow.

Parameters

Returns

nftWithdraw

Allows the seller to withdraw an unlocked ERC-721 token.

Parameters

Returns

Last updated