mirror of
https://github.com/grassrootseconomics/erc20-pool.git
synced 2024-11-21 11:46:47 +01:00
Specify fee inheritance
This commit is contained in:
parent
e845f2c3ff
commit
cc01225612
@ -86,15 +86,13 @@ Fee is defined in _parts-per-million_, i.e. `1000000` equals `100%`. Any value l
|
||||
|
||||
By default, all deducted fees are credited to the pool contract.
|
||||
|
||||
Using the `setFeeAddress` method, an external beneficiary for the fees may be defined. That beneficiary will receive all fees _from that moment on_.
|
||||
Using the `setFeeAddress` method, an external beneficiary for the fees may be defined. That beneficiary will be eligible to receive all fees pending external payment _from that moment on_. Note that this does also include any fees that were not claimed by a previous beneficiary.
|
||||
|
||||
|
||||
#### Withdrawing fees
|
||||
|
||||
Fees to be paid externally are accounted for internally in the contract, and may be withdrawn at any time using either the `withdraw(outToken)` or `withdraw(outToken, value)` method. (Note the difference in method signature from the exchange method: `withdraw(outToken, inToken, value)`.
|
||||
|
||||
|
||||
|
||||
## Sealing the contract
|
||||
|
||||
The contract implements the [CIC Seal](https://git.grassecon.net/cicnet/cic-contracts/#seal) interface for the following properties:
|
||||
|
Loading…
Reference in New Issue
Block a user