withdrawPOL()
This function allows to disable trading in pools and migrate any available surplus to the CarbonPOL contract.
The function is public and can be called by any caller.
Only tokens that are on the whitelist AND in surplus can be effected by this function.
It is recommended to call this function only on pools that are in surplus state and part of the approved whitelist
Function Arguments
Name | Type | Description |
---|---|---|
pool | Token | The pool (which is also the token) address to disable and/or migrate surplus |
Example
Last updated