WithdrawalManagerInitializer (Cyclical)
\
Functions
cycleConfigs
cycleConfigs
Gets the configuration for a given config id.
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 | `` |
|
|
Return Values:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| Identifier of the first withdrawal cycle using this configuration. |
1 |
|
|
| Timestamp of the first withdrawal cycle using this configuration. |
2 |
|
|
| Duration of the withdrawal cycle. |
3 |
|
|
| Duration of the withdrawal window. |
\
decodeArguments
decodeArguments
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
|
Return Values:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
| |
2 |
|
|
| |
3 |
|
|
|
\
encodeArguments
encodeArguments
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
| |
2 |
|
|
| |
3 |
|
|
|
Return Values:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
|
\
exitCycleId
exitCycleId
Gets the id of the cycle that account can exit on.
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 | `` |
|
|
Return Values:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
\
latestConfigId
latestConfigId
Gets the most recent configuration id.
Return Values:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
\
lockedShares
lockedShares
Gets the amount of locked shares for an account.
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 | `` |
|
|
Return Values:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
\
pool
pool
Gets the address of the pool associated with this withdrawal manager.
Return Values:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
\
poolManager
poolManager
Gets the address of the pool manager associated with this withdrawal manager.
Return Values:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
\
totalCycleShares
totalCycleShares
Gets the amount of shares for a cycle.
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 | `` |
|
|
Return Values:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
\
Events
ConfigurationUpdated
ConfigurationUpdated
Emitted when the withdrawal configuration is updated.
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| The identifier of the configuration. |
1 |
|
|
| The identifier of the withdrawal cycle when the configuration takes effect. |
2 |
|
|
| The timestamp of the beginning of the withdrawal cycle when the configuration takes effect. |
3 |
|
|
| The new duration of the withdrawal cycle. |
4 |
|
|
| The new duration of the withdrawal window. |
\
Initialized
Initialized
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
| |
2 |
|
|
|
\
WithdrawalCancelled
WithdrawalCancelled
Emitted when a withdrawal request is cancelled.
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| Address of the account whose withdrawal request has been cancelled. |
\
WithdrawalProcessed
WithdrawalProcessed
Emitted when a withdrawal request is processed.
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| Address of the account processing their withdrawal request. |
1 |
|
|
| Amount of shares that the account will redeem. |
2 |
|
|
| Amount of assets that will be withdrawn from the pool. |
\
WithdrawalUpdated
WithdrawalUpdated
Emitted when a withdrawal request is updated.
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| Address of the account whose request has been updated. |
1 |
|
|
| Total amount of shares the account has locked. |
2 |
|
|
| Time when the withdrawal window for the withdrawal request will begin. |
3 |
|
|
| Time when the withdrawal window for the withdrawal request will end. |
\
Last updated