Skip to content
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

Sip 185 debt shares #1601

Merged
merged 65 commits into from
Feb 4, 2022
Merged

Sip 185 debt shares #1601

merged 65 commits into from
Feb 4, 2022

Commits on Nov 11, 2021

  1. add synthetixdebtshare

    dbeal-eth committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    6522f12 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2021

  1. lots of implementation

    * debt shares class is mostly done
    * issuer changes mostly done
    * feepool changes mostly done
    * tests cleaned up a little bit
    
    biggest thing still needing finalization is function to "transfer" debt to layer 2
    dbeal-eth committed Nov 13, 2021
    Configuration menu
    Copy the full SHA
    510823f View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2021

  1. tests work

    dbeal-eth committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    8ed2fff View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2021

  1. add synthetix debt share tests

    Removed some functions it turns out we don't need
    
    found one bug during testing in `sharePercentOnPeriod` function
    dbeal-eth committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    834ec9d View commit details
    Browse the repository at this point in the history
  2. fix unit test failures

    dbeal-eth committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    bff2fb6 View commit details
    Browse the repository at this point in the history
  3. remove comments and np

    dbeal-eth committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    9043de1 View commit details
    Browse the repository at this point in the history
  4. fix lints

    dbeal-eth committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    ae5c111 View commit details
    Browse the repository at this point in the history
  5. initial period is now 1

    dbeal-eth committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    d532380 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3b53405 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2021

  1. use hardhat-interact instead of builtin

    the `interact` hardhat task has been refactored and moved
    into its own package, `hardhat-interact`. This PR removes the old
    code from the repository and uses the new package.
    
    `synthetix` uses a custom system for managing deployments of its
    contracts. To account for this, the `interact` command has been
    extended to first regenerate the deployment manifests into a compliant
    format.
    
    Since `hardhat-interact` relies on hardhat configuration for network
    and signer configuration, the `hardhat.config.js` file has been updated
    to include our networks.
    
    notes:
    * package-lock.json verification may fail because of new NPM 8 format.
    how do we work around this?
    dbeal-eth committed Nov 28, 2021
    Configuration menu
    Copy the full SHA
    5076ab1 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. fix module resolution

    dbeal-eth committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    e351a65 View commit details
    Browse the repository at this point in the history
  2. fix package lock again

    dbeal-eth committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    f1280ab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fea5c91 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2021

  1. add synthetixdebtshare

    dbeal-eth committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    10ea7bd View commit details
    Browse the repository at this point in the history
  2. lots of implementation

    * debt shares class is mostly done
    * issuer changes mostly done
    * feepool changes mostly done
    * tests cleaned up a little bit
    
    biggest thing still needing finalization is function to "transfer" debt to layer 2
    dbeal-eth committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    7cf745b View commit details
    Browse the repository at this point in the history
  3. tests work

    dbeal-eth committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    113ada3 View commit details
    Browse the repository at this point in the history
  4. add synthetix debt share tests

    Removed some functions it turns out we don't need
    
    found one bug during testing in `sharePercentOnPeriod` function
    dbeal-eth committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    f267e6e View commit details
    Browse the repository at this point in the history
  5. fix unit test failures

    dbeal-eth committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    667fcc8 View commit details
    Browse the repository at this point in the history
  6. remove comments and np

    dbeal-eth committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    2265bf6 View commit details
    Browse the repository at this point in the history
  7. fix lints

    dbeal-eth committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    fb1530a View commit details
    Browse the repository at this point in the history
  8. initial period is now 1

    dbeal-eth committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    bdf3e69 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    87cd0da View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2021

  1. Configuration menu
    Copy the full SHA
    8171cb3 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2021

  1. Configuration menu
    Copy the full SHA
    1deac59 View commit details
    Browse the repository at this point in the history
  2. oops

    dbeal-eth committed Dec 12, 2021
    Configuration menu
    Copy the full SHA
    e961d51 View commit details
    Browse the repository at this point in the history
  3. add migration script start

    dbeal-eth committed Dec 12, 2021
    Configuration menu
    Copy the full SHA
    09c501e View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2022

  1. Configuration menu
    Copy the full SHA
    54bc7b2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    26bddc0 View commit details
    Browse the repository at this point in the history
  3. Update package-lock.json

    barrasso committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    093812a View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2022

  1. Configuration menu
    Copy the full SHA
    7b052d8 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. fix remaining unit tests

    barrasso committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    074f973 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c10f8d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f70d5e3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9005af7 View commit details
    Browse the repository at this point in the history
  5. final fixes

    dbeal-eth committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    a4e67b9 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2022

  1. Configuration menu
    Copy the full SHA
    7d91e8a View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2022

  1. Configuration menu
    Copy the full SHA
    832fe23 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b12e4c View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2022

  1. fixes for reccomendations from @artdgn

    * rename `_supplyBalance` to `_increaseBalance`
    * use uint128 for storage types to save writes
    * add return type for transfer functions
    * split up some lines
    dbeal-eth committed Jan 19, 2022
    1 Configuration menu
    Copy the full SHA
    3783e05 View commit details
    Browse the repository at this point in the history
  2. more small cleanups

    * fix test mislabel
    * fix warnings
    dbeal-eth committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    6104a06 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1c8d00c View commit details
    Browse the repository at this point in the history
  4. update docs

    dbeal-eth committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    da67a27 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2022

  1. Configuration menu
    Copy the full SHA
    21e76b9 View commit details
    Browse the repository at this point in the history
  2. minor formatting fix

    barrasso committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    63dc62b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d8aeb25 View commit details
    Browse the repository at this point in the history
  4. fix lint error

    barrasso committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    9e35b2b View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2022

  1. Configuration menu
    Copy the full SHA
    f3537b9 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2022

  1. Configuration menu
    Copy the full SHA
    afdefac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    49d8a69 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2022

  1. add requirements for v3

    v3 has requested to be able to use the snapshotting capability of this contract to track elections and governance.
    This required the following minor changes:
    
    * ability to delegate access to `takeSnapshot` (which was renamed from `setCurrentPeriodId` for clarity)
    * feePeriodId must be a timestamp now
    dbeal-eth committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    dc3c276 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    804a96b View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2022

  1. final audit notes

    dbeal-eth committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    19eb553 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    331cb88 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. Configuration menu
    Copy the full SHA
    82c0c70 View commit details
    Browse the repository at this point in the history
  2. fix lint

    dbeal-eth committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    43b6fe1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe3e180 View commit details
    Browse the repository at this point in the history
  4. fix tests... again?

    dbeal-eth committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    ebdb8b0 View commit details
    Browse the repository at this point in the history
  5. fix scripts and stuff

    dbeal-eth committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    86bde07 View commit details
    Browse the repository at this point in the history
  6. remove legacy contracts

    dbeal-eth committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    1053059 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d0c69d5 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. Configuration menu
    Copy the full SHA
    b9add27 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15202c1 View commit details
    Browse the repository at this point in the history
  3. fix deploy tests

    dbeal-eth committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    b8e0e9a View commit details
    Browse the repository at this point in the history
  4. fix task node

    dbeal-eth committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    dd7961b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9b54331 View commit details
    Browse the repository at this point in the history