Smart contracts
WITHDRAW
Take tokens back out of a contract you deployed that allows it.
Runs on any blockchain.Live today onBitcoin·Litecoin·Dogecoin·more chains coming
WITHDRAW returns tokens from a contract's custody to the address that deployed it. Only that deployer can call it, and the contract's code does not run. A contract deployed after the owner-withdraw opt-in rule took effect must allow it by declaring ownerWithdraw: true in its meta; without that, its tokens leave only through its own code, run by EXECUTE.
What you can do with it
- Recover tokens from a contract you deployed, when its meta sets
ownerWithdraw: trueor it predates the opt-in rule. - Empty the custody of a contract that has finished its job.
- Pay anyone else from a contract with EXECUTE instead: the contract's code picks the amount and the recipient and emits a SEND.