Files

156 KiB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.55.0 (2023-04-18)

Bug Fixes

Features

  • core: reference requests by hash in mock oracle (#4515) (ffbe2df)
  • scripts: optimistic governor scripts (#4520) (62e58e8)

2.54.0 (2023-03-30)

Features

  • core: add optimistic governor mastercopy deployments (#4497) (dde212d)
  • core: helper contract for snapshot (#4502) (fd4777b)
  • core: optimistic governor mastercopy on avalanche (#4507) (0464fca)
  • core: optimistic oracle v3 deployments on multisig relay chains (#4500) (b4f100e)
  • refine packages in core (#4482) (6596881)

2.53.0 (2023-03-23)

Bug Fixes

  • og: L-01 - Restrict ProposalDeleted event emission to valid assertionId (#4486) (d880037)
  • og: L-02 - Emit event on syncing upgraded OOv3 (#4487) (f3ea7a6)
  • og: L-03 - Add contract address check in setEscalationManager (#4488) (ed8f3fc)
  • og: L-04 - Rename SetBond event to SetCollateralAndBond (#4489) (cf6b68f)
  • og: N-01 - Consistent variable naming (#4490) (8a2f6d5)
  • og: N-02 - Remove payable in executeProposal (#4491) (f417256)
  • og: N-03 - Swap misleading variable names (#4492) (c1e996c)
  • og: N-04 - Eliminate redundant code (#4493) (835a6ff)

Features

2.52.0 (2023-03-16)

Bug Fixes

  • add updated deployment addresses and fix stake size for foundry fork test (#4473) (c2ebbfe)

Features

2.51.0 (2023-02-28)

Bug Fixes

Features

2.50.0 (2023-02-20)

Features

2.49.0 (2023-02-20)

Bug Fixes

  • dvm2.0: H-01 - Address slashing rounding errors (#4411) (923f378)
  • dvm2.0: H-02 - Address intra-round changes of the Slashing library (#4414) (7dd0f9c)
  • dvm2.0: L-01 address intra-round changes to maxRolls (#4417) (ffe8c11)
  • dvm2.0: L-02 - Retroactively unstake cooldown (#4430) (a4619e4)
  • dvm2.0: L-04: Add ability to change delegate during voting round (#4418) (1f537c8)
  • dvm2.0: L-05 - Add input validation (#4421) (569caaf)
  • dvm2.0: L-08 - Address missing emmitted props when setting unstake cooldown and emission rate in construction (#4423) (ea07188)
  • dvm2.0: L-09 - Add missing docstrings (#4428) (aecb335)
  • dvm2.0: L-11 - Address duplicate code (#4424) (9666ed4)
  • dvm2.0: L-12 Remove redundant safe math (#4425) (4ca1cef)
  • dvm2.0: M-01 - Inaccurate function results (#4415) (1609d08)
  • dvm2.0: M-02 - Enable commit/reveal post migration to still enable requests to be settled if voted on during a migration (#4416) (c7f60b4)
  • dvm2.0: N-01 Address interface inconsistancy (#4426) (f74472a)
  • dvm2.0: N-02 Make non-state modifying functions view (#4427) (61fa46b)
  • dvm2.0: N-03 Small gas optimizations (#4429) (f1967f5)
  • dvm2.0: N-06 - Address misleading documentation (#4435) (56bb268)
  • dvm2.0: N-07 Ensure all external functions are marked as such (#4432) (1b7d0d5)
  • dvm2.0: N-08 - Address typographical errors (#4436) (8974e1d)
  • dvm2.0: N-09 - Remove unused import (#4437) (81fde31)
  • dvm2.0: N-10 Mark all state variables that can be as immutable (#4433) (3db808b)
  • fix core ci due to hardhat upgrade (#4407) (a89e104)
  • oa: Add missing interface function for Optimistic Asseter (#4405) (9ce0c62)

Features

2.48.0 (2023-01-17)

Bug Fixes

  • optimize dvm-v2 variable types (#4384) (661c394)
  • reuse storage slots for tracking processed requests (#4381) (d4246c0)

Features

2.47.0 (2023-01-11)

Features

2.46.0 (2023-01-09)

Bug Fixes

  • [DVM2.0-audit-code-clean]: Address additional formatting and syling issues from code reading session (#4360) (ae4b3aa)
  • [DVM2.0-audit-incentive-fix] add participation activation threshold (#4364) (50a520d)
  • [DVM2.0-audit-small-refinement] slashing library price request id reference (#4363) (5726cd1)
  • [DVM2.0-gas-golf]: Decrease gas cost through small optimisations (#4359) (6cf4909)
  • Fix MerkleDistributor unit tests (#4328) (6300730)

Features

2.45.0 (2022-12-28)

Bug Fixes

Features

2.44.0 (2022-12-20)

Bug Fixes

Features

2.43.2 (2022-11-23)

Note: Version bump only for package @uma/core

2.43.1 (2022-11-23)

Note: Version bump only for package @uma/core

2.43.0 (2022-11-23)

Bug Fixes

Features

2.42.0 (2022-11-23)

Bug Fixes

Features

2.41.0 (2022-11-02)

Features

  • merkle-distributor: Make _verifyAndMarkClaimed internal (#4220) (b1a4301)
  • second optimistic assertor implementation (#4215) (d15eb3b)

2.40.0 (2022-11-01)

Features

  • merkle-distributor: Make overridable functions public (#4217) (3addc8c)

2.39.0 (2022-11-01)

Features

2.38.0 (2022-10-06)

Features

2.37.1 (2022-10-05)

Bug Fixes

2.37.0 (2022-09-22)

Bug Fixes

Features

2.36.0 (2022-09-12)

Features

2.35.0 (2022-08-24)

Features

2.34.0 (2022-08-16)

Bug Fixes

  • [C01] Address issue with intra voting round slashing tracker updates (#4067) (855e3c7)
  • [L07] Missing error messages in require statements (#4074) (71f45af)
  • [N01]: Inconsistent usage of reentrancy protection (#4080) (ba64095)
  • [N08]: Address inconsistent function naming (#4087) (6ed0488)
  • DVM2.0 address issue with merging without CI and fix staker tests (#4109) (8ca1cfc)

Features

2.33.0 (2022-08-09)

Bug Fixes

  • [H01] fixes duplicate request rewards (#4064) (566a82c)
  • [L03]: Imprecise function name (#4071) (f9448bd)
  • [L04]: Incorrect documentation for voting commit hash (#4072) (52b5e39)
  • [L05] Lack of input verification in library functions (#4073) (a237529)
  • [L08] Testcode in production (#4095) (7d0a254)
  • [L10]: Withdraw role is not configured (#4078) (ed23ad5)
  • [M01] Incorrect refund of spamDeletionProposalBond (#4065) (f2a802f)
  • [M02] incorrect math in slashing library comments (#4066) (4842431)
  • [M04] improve migration process (#4105) (88ca7f4)
  • [N02]: Removal of redundant code (#4081) (5301d92)
  • [N04]: Correction of Erroneous imports (#4083) (6c339c0)
  • [N05]: Remove redundant WithdrawnRewards event emission (#4084) (7bdb045)
  • [N06]: Make additional contracts immutable (#4085) (914069d)
  • [N07]: Address inconsistent declarations for finder variable (#4086) (acadd6a)
  • [N09]: Address inconsistent Events (#4088) (ea466a0)
  • [N11]: Remove magic numbers (#4089) (9692e20)
  • [N12]: Address Misleading documentation (#4090) (4875c67)
  • [N13]: Address licencing issues (#4091) (af9aba2)
  • [N17]: Address Naming issues (#4094) (a832f9d)
  • [N21]: Too many digits in numeric literals (#4097) (d88e986)
  • [N23]: Remove Unnecessary use of SafeMath library (#4099) (b26648a)
  • [N25]: Remove Unnecessary imports (#4100) (c70e08b)
  • [N26]: State variable visibility not explicitly declared (#4101) (f194833)
  • public functions can be marked as external (#4102) (65d225f)
  • Upgrade all dependent contracts to use the OOv2 and show they work in unit tests (#4061) (63f1891)

Features

2.32.0 (2022-08-02)

Bug Fixes

Features

  • add new goerli addresses (#4058) (f65eb4a)
  • deploy lsp contracts in avalanche (#4057) (d9b5cef)
  • voting-v2: add method to withdraw and restake (#4049) (b13c113)
  • voting-v2: add some variable packing to save gas (#4046) (232bc20)
  • voting-v2: make GAT a number of tokens rather than a percentage (#4048) (3834dbe)
  • voting-v2: remove testable from production voting contract (#4047) (d0d173f)
  • add events to voting v2 (#4030) (db077e3)
  • add missing natspecs (#4041) (7e919c7)
  • batch transactions in gas scripts (#4034) (de5cbcc)
  • DVM v2 remove fixedpoint (#4036) (13b3a7d)
  • DVM2.0 add additional todo logic and update _resolvePriceRequest, offset the nextRequestIndexToConsider for a voter and remove fromIndex when evaluating slashing (#4040) (aa4ebfb)
  • DVM2.0 Add sync method for internal account slashing trackers (#4038) (8ffa174)
  • DVM2.0 Collapse methods and optimize state (#4037) (d4db627)
  • DVM2.0 simplified delegation system (#4033) (023835d)
  • DVM2.0 todo 2.0: Add additional last minute changes (#4042) (48b8e84)
  • UMA2.0: deal will rolled votes (#4026) (91da58e)

2.31.0 (2022-07-13)

Features

  • add ancillary data to governance proposals (#4027) (f427ff7)
  • add evmos hardhat config and deployment addresses (#3977) (28b17f5)
  • add gas tests for voting v1 and voting v2 (#4029) (20fe41e)
  • add meter network (#4012) (cac209d)
  • add missing ancilliary data to price events (#3992) (650658d)
  • add oov2 deployments in avalanche and sx (#4011) (119d6ec)
  • add slashing library (#3993) (8c82e49)
  • DVM2.0 Add ability to delete spam requests from the DVM. (#4010) (5703c4a)
  • DVM2.0 add special governance price request tx flow (#4000) (99b0e66)
  • dvm2.0 votingv2 gas optimisations (#4018) (fc48966)
  • replace batchCommit and batchReveal with multicall (#4028) (d317ecc)
  • simplify slash calculation (#4006) (7958153)
  • UMA2.0 Vote delegation mechanism (#4019) (d5068ad)
  • UMA2.0: Add simple Designated votingV2 to support two key contracts for new DVM design. (#3997) (440a1e8)
  • oo: add optimistic oracle v2 deployments addresses (#3965) (7365da4)

2.30.0 (2022-06-27)

Bug Fixes

  • merkle-distributor: reduce remainingAmount by batchedAmount in claimMulti (#3973) (ea52fb0)
  • get older optimistic governor tests working (#3968) (321b00f)
  • optimistic-distributor: handle optimistic oracle upgrades (#3960) (288157f)
  • consistent comments (#3963) (db89c4e)
  • correct comment on max liveness (#3962) (20611e6)
  • merkle-distributor: [H12] track claimed rewards per window (#3933) (273e5ab)
  • merkle-distributor: [N16] add gas optimizations (#3944) (31fafb1)
  • merkle-distributor: [N17] remove SafeMath import (#3942) (4274b40)
  • merkle-distributor: [N18] fix typographical errors (#3943) (c06a7e7)
  • optimistic-distributor: [M03] do not use priceDisputed callback (#3935) (dc5b886)
  • optimistic-distributor: [N06] remove unused import (#3939) (ca64303)
  • optimistic-distributor: [N07] bondToken made immutable (#3938) (40a351c)
  • optimistic-distributor: [N08] validate input parameters in createReward (#3940) (befa400)
  • optimistic-distributor: [N09] deploy merkle distributor in constructor (#3946) (a94c204)
  • optimistic-distributor: [N11] use checks-effects-interactions pattern (#3941) (1f4bfc4)
  • [N09] Unexplained and unused constants (#3909) (dae2e7f)
  • [N12] Unused "using for" directive (#3910) (6650588)
  • add ability to delete disputed proposals (#3911) (8ceab93)
  • L-01, Events lacking information (#3916) (9d6551c)
  • L-02, Duplicated code (#3914) (bd86f7b)
  • L-03, Misleading inline documentation (#3917) (ebb4cab)
  • L-04, Proposals can be deleted repeatedly (#3918) (e7ec38c)
  • M-01 Change of collateral could result in unintended bond value (#3912) (cbb5648)
  • M-02, lack of event emission after sensitive actions (#3913) (8ab340d)
  • M-03, Lack of input validation (#3915) (632859c)
  • N-01, Commented out code (#3919) (91941de)
  • N-02, Coding style deviates from Solidity Style Guide (#3920) (dfe0238)
  • N-04, immutable value could be used (#3921) (34343ca)
  • N-05, Some public functions could be external (#3922) (73bc88a)
  • N-06, Suboptimal struct packing (#3923) (527ebfb)
  • N-07, Typographical errors (#3924) (5b21392)
  • N-08, Undocumented implicit approval requirements (#3925) (7250172)
  • N-10, Unnecessary cast (#3928) (b32bb25)
  • N-11, Unnecessary imports (#3927) (1782ecc)
  • set max liveness to 5200 weeks (#3950) (3cc673b)

Features

2.29.0 (2022-06-23)

Bug Fixes

  • merkle-distributor: reduce remainingAmount by batchedAmount in claimMulti (#3973) (ea52fb0)
  • get older optimistic governor tests working (#3968) (321b00f)
  • optimistic-distributor: handle optimistic oracle upgrades (#3960) (288157f)
  • consistent comments (#3963) (db89c4e)
  • correct comment on max liveness (#3962) (20611e6)
  • merkle-distributor: [H12] track claimed rewards per window (#3933) (273e5ab)
  • merkle-distributor: [N16] add gas optimizations (#3944) (31fafb1)
  • merkle-distributor: [N17] remove SafeMath import (#3942) (4274b40)
  • merkle-distributor: [N18] fix typographical errors (#3943) (c06a7e7)
  • optimistic-distributor: [M03] do not use priceDisputed callback (#3935) (dc5b886)
  • optimistic-distributor: [N06] remove unused import (#3939) (ca64303)
  • optimistic-distributor: [N07] bondToken made immutable (#3938) (40a351c)
  • optimistic-distributor: [N08] validate input parameters in createReward (#3940) (befa400)
  • optimistic-distributor: [N09] deploy merkle distributor in constructor (#3946) (a94c204)
  • optimistic-distributor: [N11] use checks-effects-interactions pattern (#3941) (1f4bfc4)
  • set max liveness to 5200 weeks (#3950) (3cc673b)

Features

2.28.3 (2022-05-27)

Bug Fixes

2.28.2 (2022-05-13)

Bug Fixes

  • core: update MockOracle deployment address (#3905) (80fc102)
  • add tests for v1 OptimisticOracle bot interactions (#3897) (3aef7dd)

2.28.1 (2022-05-05)

Bug Fixes

2.28.0 (2022-04-27)

Bug Fixes

Features

2.27.0 (2022-04-22)

Features

2.26.0 (2022-04-01)

Bug Fixes

  • clean up a few missing and lingering dependencies in the common package (#3841) (e16ab00)
  • fix voter dapp scripts (#3853) (c9af0d1)

Features

  • core: Upgrade FxBaseRootTunnel contracts to be compatible with Polygon events emitted by EIP-1559 transactions (#3863) (7b70d39)
  • hardhat-deploy-scripts: add missing FPL deploy scripts (#3722) (88b02ad)

2.25.1 (2022-02-28)

Note: Version bump only for package @uma/core

2.25.0 (2022-02-10)

Features

2.24.1 (2022-01-25)

Note: Version bump only for package @uma/core

2.24.0 (2022-01-20)

Features

2.23.0 (2022-01-11)

Features

  • core: Add cross-chain-oracle deployment scripts for Arbitrum (#3733) (e8d8b9f)
  • core: Add OO deployment instructions (#3735) (0560290)
  • core: Deploy + Setup Boba OptimisticOracle and Bridge contracts (#3750) (496037f)
  • scripts: add script to seed new address whitelist (#3753) (ec3058b)
  • add manual relay script (#3731) (ade5ad6)
  • add transaction bundler to relayer for better batching (#3723) (51902a8)
  • update mumbai lsp creator and add rinkeby fpl addresses (#3721) (391214b)

2.22.0 (2021-12-17)

Bug Fixes

  • [across] add optimism L2->L1 finalizer (#3709) (f32dc4c)
  • [C01] fixes issue where disputes are impossible in the OptimisticRewarder (#3690) (6f12f32)
  • [C02] Proposer cannot pay rewards out multiple times for the same proposal (#3689) (f701df5)
  • [L01] uses the declared Disputed event (#3695) (a197f0e)
  • [L06] fix Residual allowance (#3698) (4329fea)
  • [M01] fixes incorrect event parameters (#3694) (33cb2b3)
  • deployment scripts don't skip when already deployed (#3696) (54f463a)
  • fix ci breakage from failed merge (#3702) (09ab737)

Features

  • add new LSPCreator deployment (#3710) (3820a70)
  • governor spoke is able to execute multiple transactions atomically (#3703) (0d3cf20)
  • across-bots: add profitability module to only relay profitable relays (#3656) (f9fb117)
  • cross-chain-oracle: Enable GovernorHub to change child messenger on child network (#3688) (7af4247)
  • rinkeby deployments (#3697) (d2086e7)

2.21.0 (2021-12-13)

Bug Fixes

  • core-contracts: [N06] fix some typographical errors (#3681) (0593039)
  • cross-chain-oracle: [L02] add more nonReentrant() modifiers (#3677) (d452e5f)
  • cross-chain-oracle: [N03] address incorrect interface (#3680) (88bd694)
  • cross-chain-oracle: fixed wrong commenting (#3678) (dd8ea29)
  • cross-domain-oracle: [N05] fixed outstanding todos (#3684) (e683be2)
  • optimistic-rewarder: [L05] improved natspec commenting (#3679) (1306aaa)
  • optimistic-rewarder: [N07] addressed unused imports (#3682) (29dcb76)

Features

2.20.0 (2021-12-07)

Features

2.19.0 (2021-12-07)

Features

  • sdk: ability to send funds from Ethereum to Boba (#3646) (543cf74)

2.18.0 (2021-12-06)

Bug Fixes

  • across: address possible underflow in bridge pool (#3624) (a01005c)
  • cross-chain-oracle: add additional cross-chain admin logic (#3617) (a4f3f50)
  • cross-chain-oracle: Fix unit tests (#3633) (0b6ec4b)

Features

  • across: Add Setter for LP Fee %/second in BridgePool (#3622) (76be217)
  • across: bridge admin to enable/disable pool relays (#3629) (a548875)
  • across: show that even when internal account mismatches state, can still call removeLiquidity if enough implied liquidity (#3660) (3afcee1)
  • across-contracts: added WETH<->ETH wrappers for optimism (#3611) (a0c1e3f)
  • cross-chain-oracle: Add Arbitrum adapters (#3628) (3d0a471)
  • cross-chain-oracle: Add multicaller to oracleHub and spoke (#3634) (ac2dc0c)
  • sdk: add L1 -> L2 Optimism Bridge Client (#3623) (732ff78)
  • transaction-manager: enable early return from runTransaction method (#3609) (fcfe27a)
  • add Admin_ChildMessenger (#3631) (0c4cea3)
  • add OptimisticRewarder (#3594) (eeba703)
  • cross-chain-oracle: Add Polygon adapters (#3620) (e5c8ff9)

2.17.0 (2021-11-18)

Bug Fixes

  • common/core: small changes post optimsim deployment (#3592) (b940fb7)

Features

  • cross-chain-oracle: add optimism chain adapters (#3595) (0c14d8f)
  • convert voter dapp test scripts to hardhat (#3604) (1a8ce57)

2.16.0 (2021-11-11)

Features

  • across-relayer: Add ability to finalize L2->L1 transfer actions (#3585) (e41ab0d)
  • cross-chain-oracle: Generalized cross-chain oracle and governance contracts (#3586) (f865eb6)
  • decentralized proposal system (#3490) (2fc8fe4)

2.15.1 (2021-11-09)

Note: Version bump only for package @uma/core

2.15.0 (2021-11-05)

Features

  • across-contracts: add back safe multicaller (#3553) (b8f660e)
  • core: add new deployment addresses for across and update script (#3556) (2348eaf)
  • optimistic-oracle-proposer: Can propose, dispute, and settle SkinnyOptimisticOracle price requests (#3558) (c58a19b)

Reverts

  • Revert "Revert "improve(insured-bridge): Reduce verbosity of _getDepositHash() (#3538)" (#3545)" (#3547) (2d489f7), closes #3538 #3545 #3547

2.14.1 (2021-11-02)

Bug Fixes

  • ancillary-data-lib: Fix faulty append function (#3532) (26a95fc)
  • BridgeAdmin: Fix typographical in contracts (#3540) (e70a342)
  • BridgeAdmin: validated amount sent is correct when making admin calls (#3537) (3bfd30d)
  • BridgePool: add more indexed params (#3535) (0e12eb6)
  • BridgePool: address missing nat-spec (#3533) (ef39e73)
  • BridgePool: remove redundant ExpandedERC20 import (#3530) (a9e50e2)
  • insured-bridge: Remove unused modifier (#3542) (19c9f9a)
  • lsp: fix ancillary data length check in constructor for early expiration (#3524) (041ac34)
  • lsp: Fix inconsistent type casting for expiration timestamp (#3528) (08456fa)
  • lsp: Fix incorrect inequality for expiration timestamp in settle method (#3527) (ad4c56e)
  • lsp: Fix request early expiration with timestamp of 0 (#3526) (e2e088b)
  • lsp: Fix requestEarlyExpiration and expire natspec comments (#3529) (78b371c)
  • lsp: remove duplicate transfer in factory (#3523) (faf58ea)
  • skinny-optimistic-oracle: Default proposer bond to final fee in requestAndProposePriceFor (#3534) (7fb2918)
  • skinny-optimistic-oracle: proposePrice callback should be to requester not msg.sender (#3531) (4dd9c4a)
  • skinny-optimistic-oracle: Reentrancy guard requestAndProposePriceFor (#3539) (a9e3fc7)

Reverts

  • Revert "improve(insured-bridge): Reduce verbosity of _getDepositHash() (#3538)" (#3545) (d1a07f0), closes #3538 #3545

2.14.0 (2021-10-29)

Bug Fixes

  • GasEstimator: protocol upgrade for EIP1559 (#3306) (8245391)
  • insured-bridge-relayer: Handle case where computing realized LP fee % fails (#3504) (9c69a9d)

Features

2.13.0 (2021-10-27)

Bug Fixes

  • across: address issue in liquidity utilization calculation (#3499) (35e279a)
  • fix liquid reserves check (#3501) (e8a582b)
  • bridge-pool: BridgePool should set same fee % bounds as BridgeDepositBox (#3494) (819730d)
  • insured-bridge: Add reentrancy guards to all public functions and enforce Check-Effects-Interaction (#3497) (fe5f448)
  • insured-bridge: Call exchangeRateCurrent before external call (#3498) (4a90b20)
  • insured-bridge: Prevent deployer from owning ERC20 LP token (#3492) (e25ac97)
  • insured-bridge: remove reserves on dispute (#3473) (5a68148)

Features

  • across: refactor address initialization (#3478) (d22e3bd)
  • core: Update missing fpl addresses (#3472) (d598e7c)
  • insured-bridge: Move contracts-ovm files to contracts/ and bump to ^0.8.0 (#3454) (7189b0c)
  • scripts: Add option to set contract in Finder when registering contract (#3481) (43ede96)

2.12.0 (2021-10-19)

Bug Fixes

Features

  • across: allow relay and speed up to be called simultaneously (#3449) (76b8964)
  • across: Enable LP deposit/withdraw in ETH (#3468) (ad06324)
  • across: enable weth transfers to smart contracts (#3467) (3c0c92d)
  • across: slow relayer forfeits their reward after 15 minutes of no settlement (#3450) (718adce)
  • across: war games 2 (#3460) (c2c849a)
  • insured-bridge: Block instant relays post-expiry and change relayDeposit interface to match relayAndSpeedUp (#3458) (25ac3c0)
  • insured-bridge: Update Arbitrum messenger contracts after e2e tests (#3448) (fd2f9c5)
  • LSP: Enable LSP to support early expiration (#3445) (d4e7ea2)

2.11.0 (2021-10-08)

Bug Fixes

  • across: small commenting and styling nits (#3451) (9635357)
  • core: remove migrations contract (#3441) (dc3afa5)
  • hardhat: update HRE syntax (#3418) (359849a)
  • insured-bridge: fix whitelist to work with multiple L2 chains (#3436) (58f727e)
  • insured-bridge: Instant relayer should only receive refund iff they sped up valid relay (#3425) (27d3634)
  • insured-bridge: remove fixedpoint from InsuredBridge math to save gas (#3433) (34f9cc9)
  • insured-bridge: standardize variable styling with the rest of the repo (#3427) (8b030a5)

Features

  • across: Update the bridge pool to deal with the scenario where tokens are not relayed before they come through the canonical bridge (#3412) (66d1391)
  • contracts: optimize address -> utf8 conversion (#3439) (610df3e)
  • insured-bridge: Add additional ChainId props (#3400) (95cf12e)
  • insured-bridge: add caching of addresses and common params to save gas in relaying (#3432) (61e8cc5)
  • insured-bridge: add Eth->Weth support on deposits and withdraws (#3440) (33d01d4)
  • insured-bridge: Add the ability to transfer bridgeAdmin in the bridgePool to enable upgradability (#3426) (9a4dd75)
  • insured-bridge: gas optimizations in bridge pool (#3406) (c8cf31a)
  • insured-bridge: Integrate SkinnyOptimisticOracle with BridgePool (#3430) (554641c)
  • insured-bridge: optimize bytes32 encode function (#3431) (9967e70)
  • insured-bridge: Reduce function gas costs by storing hash of Relay params instead of full struct (#3438) (ff231b4)
  • optimistic-oracle: Introduce gas-lite version of OptimisticOracle (#3409) (42f26de)

2.10.0 (2021-10-01)

Features

2.9.0 (2021-10-01)

Features

  • core: move all active scripts out of core and deprecate rest (#3397) (f96b8c9)
  • insured-bridge: Remove deposit contract from relay params (#3401) (c607211)

2.8.0 (2021-09-28)

Bug Fixes

  • cross-package: Fixed typo of "ballance"->"balance" in a few packages (#3265) (f48cd48)
  • e2e: fix broken test (#3318) (6a4f19b)
  • insured-bridge: clean unit tests and simplify param injection (#3335) (564f2a8)
  • make unused variables an error in the typescript linter (#3279) (1d26dfc)
  • scripts: Fixes made after running scripts in prod (#3254) (0f4dcbf)

Features

  • common: Initial PR adding Optimism plugin to Hardhat config (#3154) (9e6eb07)
  • contract commenting: Change commenting style to better generate docs (#3270) (d84db68)
  • core: Add register-contract and add-contract-creator admin proposal scripts (#3243) (0e9de7a)
  • core: add tasks to manage artifacts and deployments (#3229) (15a8f31)
  • core: Update Mumbai addresses with verified ones (#3250) (7c17dcd)
  • financial-templates-lib: Stub for InsuredBridgePriceFeed (#3356) (8abd36f)
  • fpl: add generalized success token FPL with parameterized base percentage (#3263) (35c528e)
  • fx-tunnel-relayer: Implement bot that can relay messages from Polygon ChildTunnel to Ethereum RootTunnel (#3314) (dc1a6b0)
  • insured-bridge: Add "ownable" bridge deposit box to simplify testing (#3389) (359bb68)
  • insured-bridge: add arbitrum contract support to deposit box inheritance path (#3385) (c77cce7)
  • insured-bridge: Add ArbitrumMessenger (#3392) (fa56d3c)
  • insured-bridge: Add realized LP fee pct computation (#3373) (95abd8d)
  • insured-bridge: Add reentrancy guards (#3386) (88df33c)
  • insured-bridge: Additional admin e2e unit tests for remaining cross-domain admin logic (#3280) (a4d3015)
  • insured-bridge: AVM bridge deposit box (#3391) (7d73fde)
  • insured-bridge: BridgeAdmin supports multiple L2s (#3390) (96cb0a4)
  • insured-bridge: Change internal relay data structures (#3276) (07d083e)
  • insured-bridge: clean comments, address some todos and general code hygiene (#3323) (6b9b4ef)
  • insured-bridge: end to end testing stub (#3255) (dda6f10)
  • insured-bridge: Exponential fee calculation (#3302) (bca414a)
  • insured-bridge: Implement remaining crossdomain admin functions in BridgeAdmin (#3275) (169b2cf)
  • insured-bridge: Implement settleRelay (#3286) (7027f30)
  • insured-bridge: Implement speedUpRelay and settleRelay (#3285) (53d6b53)
  • insured-bridge: Implement xchain messaging in BridgeRouter (#3259) (cde2ab9)
  • insured-bridge: initial LP functionality (#3287) (5a72e02)
  • insured-bridge: Make XMessenger contracts Ownable (#3395) (49f22ee)
  • insured-bridge: Modify relay ancillary data to enhance off-chain bots (#3363) (1c2ea19)
  • insured-bridge: Refactoring for gas savings (#3369) (1568cd9)
  • insured-bridge: whitelist collateral cross-chain end to end tests (#3269) (3780fb7)
  • Insured-Bridge: initial contract interfaces & smocking (#3249) (aeea8ae)
  • insured-bridge-bot: instant relay logic (#3364) (65600ae)
  • insured-bridge-e2e: add full lifecycle end to end tests (#3321) (4c4434a)
  • insured-bridge-relayer: Add additional relay logic, should relay and slow relay implementation (#3359) (2a81888)
  • insured-bridge-relayer: add speed up bridging and additional standardization (#3362) (dfb578a)
  • insured-bridge-relayer: initial relayer logic implementation (#3351) (a350bd9)
  • insured-brige: update depositor fee information to give more control to different fee types (#3298) (8f786d2)
  • insured-oracle: Added initial client implementation and tests (#3324) (877e204)
  • lib: add SimpleSuccessToken and CappedYieldDollar FPLs (#3237) (7242ad2)
  • liquidator,disputer,monitor: remove unnecessary unit conversion helpers in tests (#3215) (77993f4)
  • monitors: remove all truffle dependencies (#3361) (a4fd298)
  • periphery: Create new package for scripts that interact with core contracts (#3247) (091fd33)
  • upp: add scripts for removing collateral types (#3232) (5dbb842)
  • Add cross-chain governance to UMIP collateral and identifier scripts (#3234) (247a367)
  • Upgrade hardhat to 2.5 to be compatible with London hardfork (#3248) (b1524ce)

2.7.0 (2021-07-19)

Features

  • Update OptimisticOracle and Polygon Tunnel Addresses (#3209) (6593fe5)

2.6.0 (2021-07-15)

Bug Fixes

Features

  • Add helper scripts to propose Admin transaction to register new contract (#3219) (538612b)
  • core: refactor core tests to no longer use truffle (#3202) (349401a)
  • linter: proposal to minimize object sizing (#3222) (c925524)
  • liquidator,disputer,monitor: deprecate legacy tests (#3212) (498ecfc)
  • LSP: Add rounding protection and additional unit tests (#3211) (a059ead)
  • LSP: Update deployment addresses across all networks (#3210) (026b204)

2.5.0 (2021-07-07)

Bug Fixes

Features

  • common: add hardhat plugin to enhance web3 ease of use (#3180) (5aa0335)
  • deployed-addresses: add ethereum mainnet and polygon mainnet addresses (#3156) (4cfc1ad)
  • hardhat-deploy-scripts: add hardhat deploy scripts for LSP on test nets (#3120) (804925b)
  • lps-libs: Update comment in range bond lib (#3177) (5bb9da5)
  • LSP: Add LSP pair name, OO liveness and OO bond settings (#3184) (4eaa2e1)
  • LSP: single tx mint-sell & single tx mint-lp (#3125) (3607078)
  • LSP: Validate all logic works as expected with non-18 decimal collateral (#3129) (0d31c78)
  • LSP-Broker: Add ability to mint and LP in one transaction (#3141) (f44b0b8)

2.4.0 (2021-06-21)

Bug Fixes

  • common-ContractUtils: Add web3 param injection to createContractObjectFromJson (#3060) (805003a)
  • ContractForDiffrence: general commenting and cleanup (#3083) (422aac5)
  • disputer: address wrong comments (#3025) (4c5b70b)

Features

  • core: add custom fee set by deployer for LSP (#3118) (b508f53)
  • LSP: rename all instances and variants of "contract for difference" to "long short pair" (#3116) (8a68b0f)
  • New Deployments (#3102) (05e03ed)
  • CFD: Add binary option CFD implementation and tests (#3093) (1389537)
  • Updated mainnet OO deployments (#3096) (3c284ef)
  • cfd: initial CFD stub and tests (#3016) (4595896)
  • cfd: minor improvements to CFD suite (#3030) (c9a9ef1)
  • CFD: Add call options financial template library (#3040) (8b9d9d9)
  • CFD: Add range bond financial template library (#3053) (a819f5e)
  • Contract-ForDifference: Add more unit tests and add LinearCFDLib tests (#3036) (967ab13)
  • contractForDiffrence: CFD creator contract and unit tests (#3075) (4078bee)
  • core: add all truffle migrations to hardhat deploy (#3068) (0004bd7)
  • core: add custom ancillary data to CFD (#3057) (6c8fd40)
  • DSProxy: add DSGuard contracts to enable multi-dsproxy ownership (#3031) (b1e9f76)
  • liquidator: add maxSlippage parameter to single reserve currency liquidator (#3012) (461def6)
  • oo: adds optimistic oracle integration tutorial script (#3086) (a0833c9)
  • polygon-amb: Add Governor Tunnel contracts and unit tests (#3089) (20a3866)
  • polygon-amb: Add Unit Tests for Oracle Tunnel contracts (#3082) (2f8eaf0)
  • polygon-fx-tunnel: Add Oracle tunnel integrating with Polygon hosted Arbitrary Message Bridge (#3054) (a3bf462)
  • Add hardhat task to migrate identifier whitelist to new contract (#3046) (4e98402)
  • price-feed: Add iFARM price feed configs and HarvestVault template (#2996) (28613db)
  • voting-script: Update USDETH rounding specification to 8 decimals (#3055) (43fe50c)
  • Add new deployed Sink and Source Oracle addresses (#3032) (9ed7843)

2.3.0 (2021-05-20)

Bug Fixes

  • core: fix typescript exports (#2981) (b53757c)
  • core,affiliates: log warning to console.error, make json piping easier to find issues (#2913) (3679242)
  • ReserveCurrencyLiquidator: improve how the contract handles reserve OR collateral currency shortfall (#2896) (bfaf8e5)
  • Trader: Post wargames changes (#2955) (4acb0ea)
  • Add contract hash (#2919) (17fdf6f)
  • fixes _minSponsorTokens description in contract docs (#2710) (fa13bf5)

Features

  • core: add SourceGovernor to hardhat deployment (#2999) (73644b1)
  • Add Mainnet deployments for Beacon (L2<>L1) contracts + new hardhat features (#2998) (0f2d295)
  • Deploy Polygon mainnet and testnet contracts + update helper scripts (#2980) (4a4e4d3)
  • chainbridge: Demo script showing how cross-chain price request would work (#2894) (d1cc34b)
  • common: Refactor HardhatConfig exported module (#2960) (42a7b5c)
  • core: add governor source and sink (#2969) (ba19b22)
  • core: add typescript types for core (#2927) (3ba662f)
  • core: updated solidity version to 0.8.x (#2924) (5db0d71)
  • disputer: single reserve currency disputer + unit tests (#2970) (4eb065f)
  • L2: Implement BeaconOracle designed for cross-chain PriceRequest communication (#2903) (e0df36b)
  • lib: add post-expiration price transformation fpl (#2926) (8e5cfd6)
  • price-feeds: add uniswap v3 price feed (#2918) (d87066c)
  • range-trader: add uniswap v3 support to uniswap broker (#2928) (9d643e9)
  • trader: add uniswapv3 broker to trader (#2942) (4612097)
  • Add hardhat deployment infrastructure (#2950) (45c8851)
  • version-management: Update hard coded latest package versions in the bots to use 2.0 packages (#2872) (b8225c5)

2.2.0 (2021-04-23)

Features

  • FindContractVersion: update FindContractVersion to build contract hashes during core build process (#2873) (4e5a3bd)
  • scripts: add WithdrawTokens for bot wallet consolidation (#2874) (8be35c6)

2.1.0 (2021-03-16)

Bug Fixes

  • kovan: update perp creator kovan address (#2650) (6d2a0cb)

Features

  • core: ExecuteAdmin script can now execute multiple proposals (#2618) (80988e5)
  • core: general improvements to claim rewards script (#2647) (0e560fa)
  • encoding: add EncodeParams example script (#2616) (8867ab9)
  • financial-product-library: Create a covered call financial product library (#2668) (fbbad6f)
  • KPI-Options: add simple script for calculating UMA TVL (#2682) (00f6dc3)
  • merkle-distributor: Initial Merkle Distribution contract + unit tests + merkle root generator script (#2598) (b23d7cf)
  • merkle-distributor: Make claimMulti more generalized (#2672) (c08f9de)
  • trader: add Ranger Trader, Exchange Adapter and initial trader implementation (#2579) (8bc3dad)
  • trader+DSProxyManager: Few small tweaks after war games + useful DSProxy token management script (#2656) (684f78f)
  • voter-dapp: fetch users 2key contract state, and show migration banner if required (#2640) (d04d7f1)

2.0.1 (2021-02-27)

Note: Version bump only for package @uma/core

2.0.0 (2021-02-26)

Bug Fixes

  • dec-20-audit: [H01] Bond penalty may not apply (#2329) (953ae65)
  • dec-20-audit: [H01] fix optimistic oracle fee burning logic when final fee == 0 (#2429) (32c27fe)
  • dec-20-audit: [L02] Complex Repay Function (#2309) (0f53b49)
  • dec-20-audit: [L03] Current config not update (#2313) (b0f27cb)
  • dec-20-audit: [L04] Emergency shutdown defined at the wrong level (#2310) (7d22206)
  • dec-20-audit: [L06] Inconsistent hasPrice determination (#2319) (baa4332)
  • dec-20-audit: [L07] Incorrect error message (#2304) (5f59726)
  • dec-20-audit: [M01] Lack of event emission after sensitive actions (#2311) (0c732ec)
  • dec-20-audit: [N01] Add notes about Approximate compounding (#2328) (a5070ae)
  • dec-20-audit: [N07] TODOs in code (#2327) (26ef98f)
  • dec-2020-audit: [L05] Event missing emit keyword (#2303) (0796d56)
  • dec-2020-audit: [L08] Misleading comments (#2308) (b0c68e0)
  • dec-2020-audit: [L09] Missing NatSpec comments (#2305) (1aeb070)
  • dec-2020-audit: [L10] Functions not failing early (#2306) (9954a87)
  • dec-2020-audit: [L11] require non zero proposer/disputer address (#2314) (e867fcd)
  • dec-2020-audit: [M02] Functions with unexpected side-effects (#2318) (c3efdd6)
  • dec-2020-audit: [N03] Incorrect filename (#2317) (f6a9c9d)
  • dec-2020-audit: [N08] Typographical errors (#2312) (2028711)
  • dec-2020-audit: [N09] Unnecessary imports (#2315) (74d4d1b)
  • dec-2020-audit: [N10] Unnecessary type cast (#2316) (9ce936b)
  • deploy-script: add version parameter to deployment script (#2264) (c452750)
  • funding-rate-applier: reset proposal time to 0 if proposal doesn't exist (#2280) (1de80a3)
  • oo: update optimistic oracle address for kovan (#2580) (dbb8d87)
  • optimistic-oracle: add future time require to optimistic oracle (#2267) (1c08573)
  • scripts: fix conversion in historical price feed script (#2421) (5f09c03)
  • smart-contracts: fixed audit PR typos (#2422) (26dd9b9)
  • voter-dapp: fix QA script (#2430) (a137482)
  • voting: Limit length of ancillary data (#2287) (86603d6)

Features

  • bot-infrastructure: add a generic DSProxy client (#2559) (b275463)
  • core: update vote simulate script to run on N proposols rather than just 1 (#2302) (631504f)
  • disputer,liquidator,monitorfinancial-templates-lib: rename all instances of emp to financialContract (#2528) (e8c9b1e)
  • emp: financial product library to apply collateralization ratio transformation (#2191) (2c7c11d)
  • emp: financial product library to apply price identifier transformation (#2221) (e6b63e5)
  • emp: replace liquidation and settlement logic from DVM to optimistic oracle (#2242) (b54edc7)
  • fee-payer: Add gulp method to distribute excess collateral to all sponsors (#2278) (47e1e75)
  • financial-templates-lib: add DominationFinancePriceFeed for BTCDOM, ALTDOM (UMIP-21) (#2379) (e14cc7b), closes #2378 #2378 #2378 #2378 #2378
  • financial-templates-lib: add Badger Sett default feeds (#2576) (ca6e348)
  • financial-templates-lib: add price feed for yearn-style vaults (#2542) (9d62c32)
  • financial-templates-lib: make getHistoricalPrice async (#2493) (c91e11b)
  • funding-rate-applier: Don't update multiplier post-emergency shutdown (#2199) (bccaefe)
  • get-all-sponsors: Helper script to query all historical sponsors across all EMP's (#2587) (095eb7c)
  • kovan: update kovan addresses (#2535) (143fa9b)
  • optimistic-oracle: add optimistic oracle (#2212) (decaf5d)
  • optimistic-oracle: integrate ancillary data into optimistic oracle (#2239) (8e2d6a5)
  • optimistic-oracle-keeper: Add OptimisticOracleClient stub code (#2330) (03173e2)
  • optimistic-oracle-proposer: Add dispute logic (#2546) (8ef696e)
  • perp: allow deployer to scale token value (#2244) (1631ef7)
  • perpetual: Create ConfigStore to house mutable perpetual params (upgradeable after timelock) (#2223) (9e8543b)
  • trader: start trader package with typescript support (#2484) (9fcc512)
  • trader: uniswap trading broker (#2545) (cd4ea94)
  • yarn: enable concurrency between test threads (#2449) (b17b655)

1.2.2 (2020-12-22)

  • core: Update hardhat test hooks (57c91f9)

1.2.1 (2020-12-18)

Bug Fixes

  • core: Fix liveness-reset feature and replace false-positive tests (#2203)

1.2.0 (2020-11-23)

Bug Fixes

Features

1.1.0 (2020-10-05)

Bug Fixes

  • scripts: slightly generalize deploy emp script to work in more envs (#2057) (b0a6dd9)
  • umip-test: Tweaks to EMPCreator Propose scripts Npai/update creator umip script (#2000) (11d2232)

Features

  • core: add new voting contract deployment (#2027) (2c0e0a1)
  • emp: add trimExcess function to send excess tokens (#1975) (658f4d9)
  • emp: allow users to redeem and cancel withdraw requests after expiry (#1968) (5643675)
  • liquidity-mining: liquidity rolling logic with split pools (#2028) (9cf421b)
  • scripts: add script to batch reward retrieval for many voters at once (#2014) (f41b43a)

1.0.0 (2020-09-15)

Initial Release!