Withdrawal functions
Withdraw functions for any types of tokens + ETH
function withdraw721
Parameters
NFT contract (address)
NFT recipient (address)
Starting contract index (uint256)
Amount of contracts (uint256)
First token ID (uint256)
Amount of tokens per contract (uint256)
Transfer Type (uint256)
Usage
Withdraw erc721 tokens which ID's are in numerical order and in same amounts per Contracts
function withdraw721Advanced
Parameters
NFT contract (address)
NFT recipient (address)
Array of contract indexes (uint256)
Nested array token IDs (uint256[][])
Transfer Type (uint256)
Usage
Withdraw erc721 tokens which need custom setting for their location, IDs or amounts per Contract
function withdraw1155
Parameters
NFT contract (address)
NFT recipient (address)
Starting contract index (uint256)
Amount of contracts (uint256)
token ID (uint256)
Amount per contract (uint256)
Usage
Withdraw a single ID of erc1155 tokens
function withdrawBatch1155
Parameters
NFT contract (address)
NFT recipient (address)
Starting contract index (uint256)
Amount of contracts (uint256)
Array of token IDs (uint256[])
Array of amounts per token ID (uint256[])
Usage
Withdraw multiple IDs of erc1155 tokens
function withdrawEth
Parameters
Recipient (address)
Starting contract index (uint256)
Amount of contracts (uint256)
Amount to withdraw from contract(uint256)
Usage
Withdraw all eth present on the specified contracts
function withdrawERC20
Parameters
ERC20 token(address)
Recipient (address)
Amount of contracts (uint256)
Starting contract index (uint256)
Usage
Withdraw ERC20 token present on the specified contracts
Last updated