OCR_Modular.sol
OCR -> On-Chain Redemption
Last updated
OCR -> On-Chain Redemption
Last updated
Zivoe Finance - Official Documentation
OCR stands for "On-Chain Redemption".
This locker is responsible for handling redemptions of tranche tokens to stablecoins.
This struct stores information for redemptions requests.
canPush() - Permission for owner to call pushToLocker()
. See ZivoeLocker.sol
canPull() - Permission for owner to call pullFromLocker()
. See ZivoeLocker.sol
canPullPartial() - Permission for owner to call pullFromLockerPartial()
. See ZivoeLocker.sol
pushToLocker() - This pulls capital from the DAO.
pullFromLocker() - Migrates entire ERC20 balance from locker to owner()
.
pullFromLockerPartial() - Migrates specific amount of ERC20 from locker to owner()
.
createRequest() - Creates a redemptions request.
destroyRequest() - Destroys a redemption request.
processRequest() - Processes a redemption request.
tickEpoch() - This function will start a new epoch.
updateRedemptionsFeeBIPS() - Updates the state variable "redemptionFeeBips".
canPush()
Permission for owner to call pushToLocker()
. See ZivoeLocker.sol
canPull()
Permission for owner to call pullFromLocker()
. See ZivoeLocker.sol
canPullPartial()
Permission for owner to call pullFromLockerPartial()
. See ZivoeLocker.sol
pushToLocker()
This pulls capital from the DAO.
pullFromLocker()
Migrates entire ERC20 balance from locker to owner()
.
pullFromLockerPartial()
Migrates specific amount of ERC20 from locker to owner()
.
createRequest()
Creates a redemptions request.
Emits the RequestCreated() event
destroyRequest()
Destroys a redemption request.
Emits the RequestDestroyed() event
processRequest()
Processes a redemption request.
Emits the RequestProcessed() event
tickEpoch()
This function will start a new epoch.
Emits the EpochTicked() event
updateRedemptionsFeeBIPS()
Updates the state variable "redemptionFeeBips".
Emits the UpdatedRedemptionsFeeBIPS() event
EpochTicked()
Emitted during tickEpoch()
RequestCreated()
Emitted during createRequest()
RequestDestroyed()
Emitted during destroyRequest()
RequestProcessed()
Emitted during processRequest()
UpdatedRedemptionsFeeBIPS()
Emitted during #updateredemptionsfee
Type | Name | Description |
---|---|---|
Type | Variable | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Indexed | Name | Description |
---|---|---|---|
Type | Indexed | Name | Description |
---|---|---|---|
Type | Indexed | Name | Description |
---|---|---|---|
Type | Indexed | Name | Description |
---|---|---|---|
Type | Indexed | Name | Description |
---|---|---|---|