Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Orders state #42

Merged
merged 53 commits into from
Dec 9, 2020
Merged

Orders state #42

merged 53 commits into from
Dec 9, 2020

Conversation

Velenir
Copy link
Contributor

@Velenir Velenir commented Dec 9, 2020

Redone to squash

@Velenir Velenir merged commit bfb6384 into develop Dec 9, 2020
W3stside added a commit that referenced this pull request Dec 10, 2020
commit 840cbbe
Author: David Sato <[email protected]>
Date:   Wed Dec 9 13:33:18 2020 +0100

    remove logs

commit 1535e98
Author: David Sato <[email protected]>
Date:   Wed Dec 9 13:32:29 2020 +0100

    check for relevant actions

commit 8a93d5a
Author: David Sato <[email protected]>
Date:   Wed Dec 9 12:45:16 2020 +0100

    reduxjs/tooklit updated and added isAnyOf

commit c8519d3
Author: David Sato <[email protected]>
Date:   Wed Dec 9 12:09:08 2020 +0100

    fix var names

commit 4e5edb7
Author: David Sato <[email protected]>
Date:   Mon Dec 7 19:14:04 2020 +0100

    utils/fees fix mock data

commit 6ca3873
Author: David Sato <[email protected]>
Date:   Mon Dec 7 19:13:52 2020 +0100

    state/fee/hooks: create hooks

commit 3753a9a
Author: David Sato <[email protected]>
Date:   Mon Dec 7 10:59:47 2020 +0100

    add applyFeeMiddlware

commit 21953fe
Author: David Sato <[email protected]>
Date:   Mon Dec 7 10:37:43 2020 +0100

    persist fee

commit 1a2e710
Author: David Sato <[email protected]>
Date:   Mon Dec 7 10:36:51 2020 +0100

    add FeeInformation to redux

commit 8be0e2c
Author: David Sato <[email protected]>
Date:   Fri Dec 4 18:27:10 2020 +0100

    mock getFee function

commit bfb6384
Author: Velenir <[email protected]>
Date:   Wed Dec 9 14:28:50 2020 +0300

    Orders state (#42)

    * copy state/index to custom

    * create sample of Operator actions

    * create sample of Operator reducer

    * add operator reducer to state

    * create sample of Operator hooks

    * changeto absolute import { AppDispatch, AppState } from 'state/'

    * change to absolute import store from 'state/'

    * minor organisational changes

    * from 'state/' -> from 'state'

    * special var for UNISWAP_REDUCERS

    * simplify types

    * fix import error

    * create some actions for Orders

    * create some reducers for Orders

    * hook up Orders reducer

    * create some hooks for Orders

    * differentiate orders by chainId

    * add clearOrders action

    * expand Orders types

    * fix orders/hooks

    * add useClearOrders hook

    * wrap hook function returns in useCallback

    * scaffold orders/updater

    * don't use const enum

    * fix build

    * remove unnecessary stuff

    * setup mock event watcher

    * extend types

    * use mock EventUpdater

    * change type names

    * try different decoding methods

    * improve event watcher

    * better types

    * normalize decoder interface

    * differentiate Orders by status

    * fullfillOrder action + reducer

    * hooks for different Orders by state

    * useFulfillOrder hook

    * persist state.orders in localStorage

    * separate pending and fulfilled orders more

    * prefill optional state for convenience

    * rename action to explicitly say pendingOrder

    * refactorhooks fornew state shape

    * rename some types

    * fix build

    * remove updater for now

    * move isTruthy to utils

    * remove Updater reference

    * OrderKind enum in line with api

    * more comments for types

    * OrderStatus enum values as strings,for readability when serialized

    * add Order.summary prop

    Co-authored-by: David Sato <[email protected]>
W3stside pushed a commit that referenced this pull request Jun 28, 2021
* start migration (wip)

abstract some add liquidity components

bump deploy version

* add slippage params
@anxolin anxolin deleted the orders_state branch July 2, 2021 13:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants