Conversation
fe96582 to
343bec3
Compare
docs/fassets/3-redemption.mdx
Outdated
| The amount of time is defined by the last block and the last timestamp on the underlying chain. | ||
| If the payment is not made in time, the redeemer has to prove nonpayment to be compensated. | ||
| After the redeemer presents the nonpayment proof, he is paid with the agent's collateral plus a _redemption default premium_. | ||
| If the payment is not made in time, the redeemer has to prove [payment non existence](/fdc/attestation-types/referenced-payment-nonexistence) to be compensated. |
docs/fassets/3-redemption.mdx
Outdated
| If the payment is not made in time, the redeemer has to prove nonpayment to be compensated. | ||
| After the redeemer presents the nonpayment proof, he is paid with the agent's collateral plus a _redemption default premium_. | ||
| If the payment is not made in time, the redeemer has to prove [payment non existence](/fdc/attestation-types/referenced-payment-nonexistence) to be compensated. | ||
| After the redeemer presents the payment non existence proof, he is paid with the agent's collateral plus a _redemption default premium_. |
docs/fassets/3-redemption.mdx
Outdated
|
|
||
| 1. The redeemer obtains a proof of nonpayment from the Flare Data Connector. | ||
| 2. The redeemer presents the nonpayment proofs to the FAssets system, which triggers a redemption failure. | ||
| 1. The redeemer obtains a proof of payment non existence from the Flare Data Connector. |
There was a problem hiding this comment.
non-existence everywhere
| From this event, you can obtain the following: | ||
|
|
||
| - `requestId` - unique identifier for the redemption. | ||
| - `agentVault` - the agent vault responsible for payment. |
| - `lastUnderlyingBlock` - the last underlying block to submit payment. | ||
| - `lastUnderlyingTimestamp` — the **deadline** on the underlying chain for submitting the redemption payment. | ||
|
|
||
| You should wait until the deadline is passed and then check whether the agent has paid the redemption payment in the underlying chain. |
There was a problem hiding this comment.
is passed -> has been reached
has paid -> has made (repetition of pay and payment)
on the underlying chain
|
|
||
| ## Handling Non-Payment | ||
|
|
||
| If the agent fails to pay the redemption payment in the XRP Ledger, the redeemer or the executor can start the redemption default process. |
There was a problem hiding this comment.
pay...payment sound too similar
|
|
||
| ### Generate the Proof of Payment Non-Existence | ||
|
|
||
| With information from the [`RedemptionRequested`](/fassets/reference/IAssetManagerEvents#redemptionrequested) event, you can generate the attestation request for the [ReferencedPaymentNonexistence](/fdc/attestation-types/referenced-payment-nonexistence) attestation type. |
There was a problem hiding this comment.
Missing an article before information
|
|
||
| - `requestId` - unique identifier for the redemption. | ||
| - `agentVault` - the agent vault responsible for payment. | ||
| - `redeemer` - address requesting redemption. |
There was a problem hiding this comment.
You have - here, but a : later down in the guide
|
|
||
| After the attestation request is confirmed, you can retrieve the proof of payment non-existence of the redemption payment on the XRP Ledger. | ||
|
|
||
| The redeemer or executor can execute the redemption default process by calling the [`redemptionPaymentDefault`](/fassets/reference/IAssetManager#redemptionpaymentdefault) function on the Asset Manager contract. |
There was a problem hiding this comment.
Hmm we need to rename in all occurances like that.
| If the agent is unable to pay the redemption payment in the specified time, the redeemer can: | ||
|
|
||
| 1. Make a proof of [payment non existence](/fdc/attestation-types/referenced-payment-nonexistence) using the [Flare Data Connector](/fdc/overview). | ||
| 2. Execute the [`redemptionPaymentDefault`](/fassets/reference/IAssetManager#redemptionpaymentdefault) function and present the proof of payment non existence to the FAssets system, which triggers a redemption failure. |
There was a problem hiding this comment.
You still have non existence on this line
a376509 to
3f63e56
Compare
| If the agent is unable to pay the redemption payment in the specified time, the redeemer can: | ||
|
|
||
| 1. Make a proof of [payment non existence](/fdc/attestation-types/referenced-payment-nonexistence) using the [Flare Data Connector](/fdc/overview). | ||
| 2. Execute the [`redemptionPaymentDefault`](/fassets/reference/IAssetManager#redemptionpaymentdefault) function and present the proof of payment non existence to the FAssets system, which triggers a redemption failure. |
There was a problem hiding this comment.
You still have non existence on this line
|
|
||
| If the agent is unable to pay the redemption payment in the specified time, the redeemer can: | ||
|
|
||
| 1. Make a proof of [payment non existence](/fdc/attestation-types/referenced-payment-nonexistence) using the [Flare Data Connector](/fdc/overview). |
There was a problem hiding this comment.
You have non existence
f1469bd to
04afd93
Compare
…ibes redemption requested event
…tionPaymentCompleted to RedemptionPerformed
…ers and payment verification details
…ts redemption guide
67f7dd6 to
98556e4
Compare
No description provided.