Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
ERC20 and ERC721 Escrow
copy icon
gtpaulose
• version 1.0.0
Escrow
Finance
Utility
Deployable

ERC20 and ERC721 Escrow

An escrow contract written in solidity which allows users to deposit any ERC20 and/or ERC721 token to the escrow, to be withdrawn by a specified recipient. The depositor can specify an end time which locks the assets till that specified time.

*Visit desktop site to download or deploy

Version

1.0.0

Creator

gtpaulose

Recent Use

🍞 0x059A deployed
🥐 0xB5AB downloaded
🥖 0x2209 downloaded
🥨 0x2209 downloaded
🥯 0xF65E saved
🥞 0x0eF9 deployed

Last Publish

11/16/2022
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
approve(address,uint256) :
Allows another address to control TokenId
balanceOf(address) :
The balance of the address
balanceOfClaimToken(address) :
returns the balance of the claim token for an account
deposit(tuple[]) :
deposit will add assets to be claimed by the corresponding recipients to the state
escrowBalance(address) :
gets the amount of locked token in escrow for a given account
getApproved(uint256) :
Returns whether or not a tokenId is approved
getClaimDetails(address) :
returns the assets left to be claimed for an address along with the claim tokenID
isApprovedForAll(address,address) :
Returns whether or not an operator can act as the owner for all IDs
name() :
Contract Name
owner() :
Contract Owner
ownerOf(uint256) :
Returns the owner of the token
renounceOwnership() :
Renounces ownership of the contract
safeTransferFrom(address,address,uint256) :
A safe way to transfer a token from one address to another
safeTransferFrom(address,address,uint256,bytes) :
A safe way to transfer a token from one address to another, will data to be used by the receiver.
setApprovalForAll(address,bool) :
Gives an address approval to use all tokens
supportsInterface(bytes4) :
Returns a boolean on whether or not a specific interface is supported
symbol() :
The NFT symbol
tokenURI(uint256) :
The NFT metadata URI
transferFrom(address,address,uint256) :
Transfers a token from one address to another
transferOwnership(address) :
Transfers ownership of the contract to a new owner
updateFee(uint256) :
Updates the fee on each escrow
updateMaxAssets(uint16) :
Adjusts the maximum assets allowed
withdraw() :
Withdraws all of the released escrowed amounts

Get Cookin'
share iconShare

copy iconNo-Code Deploy
copy iconDownload Source
copy iconnpx cookbookdev i erc20-and-erc721-escrow
copy icon

Bytecode

Download

Recent Use

🍞 0x059A deployed
🥐 0xB5AB downloaded
🥖 0x2209 downloaded
🥨 0x2209 downloaded
🥯 0xF65E saved
🥞 0x0eF9 deployed

Last Publish

11/16/2022

Version

1.0.0

Creator

gtpaulose

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