-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add how to use timeboost #1772
base: master
Are you sure you want to change the base?
Add how to use timeboost #1772
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
arbitrum-docs/build-decentralized-apps/how-to-use-timeboost.mdx
Outdated
Show resolved
Hide resolved
arbitrum-docs/build-decentralized-apps/how-to-use-timeboost.mdx
Outdated
Show resolved
Hide resolved
|
||
This how-to assumes that you're familiar with: | ||
|
||
- [How Timeboost works](#) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should link to the Gentle Introduction right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeap
arbitrum-docs/build-decentralized-apps/how-to-use-timeboost.mdx
Outdated
Show resolved
Hide resolved
arbitrum-docs/build-decentralized-apps/how-to-use-timeboost.mdx
Outdated
Show resolved
Hide resolved
|
||
:::: | ||
|
||
## How to transfer the right to use the express lane to someone else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be Step #5 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above, these are different flows. Using "Steps" leads to think that they are all part of one process.
|
||
From that moment, the previous express lane controller will not be able to send new transactions to the express lane. | ||
|
||
### Setting a transferor account |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a sentence or two here to describe that we decided to add this function (setTransferor) for the express lane controller to nominate an address that can transfer rights to anyone they see fit. This is mostly to make reselling UX a bit better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this, let me know what you think:
A transferor is an address that has the right to transfer express lane controller rights on behalf an express lane controller. The reason to include this function (setTransferor) is so the express lane controller has a way to nominate an address that can transfer rights to anyone they see fit, in order to improve the reselling rights user experience.
|
||
From that moment on (until the transferor is changed or disabled), the transferor will be able to call `transferExpressLaneController` while the express lane controller is `currentELCAccount` to transfer the rights to use the express lane to a different account. | ||
|
||
## How to withdraw funds deposited in the auction contract |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be Step # 6?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above, these are different flows. Using "Steps" leads to think that they are all part of one process.
console.log(`Finalize withdrawal transaction sent: ${finalizeWithdrawalTransaction}`); | ||
``` | ||
|
||
## How to identify timeboosted transactions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be step # 7?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above, these are different flows. Using "Steps" leads to think that they are all part of one process.
|
||
Transactions that have been sent to the express lane by the express lane controller, and that have been executed (regardless of them being successful or having reverted), can be identified by looking at their receipts, or the message broadcasted by the sequencer feed. | ||
|
||
Transaction receipts include now a new field `timeboosted`, which will be `true` for timeboosted transactions, and `false` for regular non-timeboosted transactions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add an example of the Timeboosted metadata/field that gets returned when you make an eth_getTransactionReceipt call?
This PR adds a guide on "How to use timeboost".
TODO:
Preview