FeedProjects
Developers
Settings
๐ŸŽ‰ A new chapter begins: Boardroom has joined Agora
Learn more
protocol logo
Explore / Projects
Bancor

Proposals

Discussions

Members

Information

Create Proposal

Bancor

ProposalsDiscussionsMembersInformation
Proposal
Back to Proposals
closedEnded 3 years ago ยท Snapshot (Offchain)

Proposal: Fastlane Gas Savings

By 0xdfCA...A0aa21

TL;DR

  • The Fastlane was originally proposed here:
    • https://gov.bancor.network/t/proposal-improved-value-capture-and-fast-lane-poc/4142
    • There have been some additional parameter changes since then.
  • This proposal suggests a redesign of the Fastlane smart contract to help it function more efficiently
    • Lowering the required gas should enable more arb opportunities
  • The proposed changes
    • Support flashloans in any token
    • Support multiple flashloans in a single transaction
    • Send half the TKN to the caller and half to the Carbon vortex
      • As opposed to the old design of converting TKN to BNT, sending half to the caller and half to the token contract.

Impact of Changes

  • Support flashloans in any token
    • Should lower the costs to get some TKNs and increase arb opportunities
  • Support multiple flashloans in a single transaction
    • Should provide the contract with additional flexibility to capture more arbs
  • Send half the TKN to the caller and half to the Carbon vortex
    • This solves multiple problems (including how to calculate how much BNT to send to the caller if we are taking loans in multiple tokens), but most importantly, gas savings.
  • No more BNT cap for fastlane callers
    • As the caller gets rewarded in TKN not BNT

How can gas costs be reduced?

Two expensive transactions will be removed from the contract and replaced with cheaper actions.

Updated flow:

  1. Take a flashloan in any token
  2. Trade to close some arb opportunity
  3. Repay flashloan
  4. Send the relevant portion of tokens to CarbonVortexcontract
  5. Send the rest to the caller

By removing the requirement to trade the tokens to BNT and burn them, and replace them with a transfer, the estimated gas reduction is in the range of 250k per loan (trade is approx. 250k-300k while a transfer is approx. 40k-50k).

Implications

  • The Fastlane will no longer be burning BNT directly.
  • Instead, it will arb and send fees to the CarbonVortex contract (For much less gas)
    • It will send the TKN gains from arbing to the CarbonVortex contract
    • The CarbonVortex contract has a public function anyone can call to convert Carbon fees in the form of TKN to BNT and burn it: https://docs.carbondefi.xyz/developer-guides/fee-burner
    • Should this proposal pass, I will propose a method to burn these TKN via a public function as well.
  • Therefore, the arb fast lane becomes siloed from BNT burning, which becomes the sole activity of the Carbon vortex.
  • The overall architecture is more efficient in terms of gas, which may result in better arbitrage engagement, better volumes and order fulfillment.

FOR

Update the Fastlane Contract as outlined above.

AGAINST

Take no action.

Continue Reading
Connect Wallet to Add Note
0
Votes 17
VoterCast PowerVote & Rationale
0xc32E...35cC22
2M

Abstain

0x4571...9b30bE
318,307

For

0x91c0...be70c6
272,285

For

0x6439...83d8d2
265,678

For

0xd0C5...F449bD
244,941

For

SHOW MORE
VOTE POWER
0
Connect Wallet
Proposal Status
  • Mon June 12 2023, 12:00 pmVoting Period Starts
  • Thu June 15 2023, 03:00 pmEnd Voting Period
Current Results

1-Abstain

2M

54.41%

2-For

1.676M

45.59%

3-Against

51.435

0%
DocumentationBrandingContact Us
Home
This Project is Currently Disabled

If you would like to enable it, please checkout below.

Boardroom Subscription

Sign up for an individual subscription (access all projects on the platform)

Subscribe
Enable Project

Enable the entire project for every user

Enable Project
Contact Us