Lawrence Forman
847a7f470c
@0x/instant
: Fix for changed asset-swapper configs.
2020-03-09 21:44:30 -04:00
David Sun
7f869868c9
prettier + lint
2020-02-28 13:13:46 -05:00
David Sun
31275228ac
patch asset-swapper to support ERC721
2020-02-28 13:13:18 -05:00
David Sun
f56839ec6b
call destroyAsync on unmount
2020-02-24 12:24:07 -05:00
David Sun
a84b848ea9
prettier
2020-02-18 14:20:30 -05:00
David Sun
d329320fc2
linted
2020-02-18 14:02:48 -05:00
David Sun
5902d878d8
fixed affiliate + fortmatic
2020-02-18 12:13:38 -05:00
David Sun
3b0c8f6d92
fortmatic patches
2020-02-09 21:08:46 -05:00
David Sun
21058c2227
changes to fetch account state behavior
2020-02-09 21:08:46 -05:00
David Sun
f3b8ae0781
fix for fortmatic
2020-02-09 21:08:46 -05:00
David Sun
d590b004c1
incomplete, fixes for heartbeater
2020-02-09 21:08:46 -05:00
David Sun
02e21141c6
added minor polish + bug fixes
2020-02-09 21:08:46 -05:00
David Sun
f458815541
fixing + testing fortmatic integration
2020-02-09 21:08:46 -05:00
apane
7ba754d2a4
Fixs styling
2020-02-09 21:08:46 -05:00
apane
09706e4ae2
Fix metamask logo size on connect and on install
2020-02-09 21:08:46 -05:00
apane
d18de4c541
Fixs styling
...
Removes unused imports
2020-02-09 21:08:46 -05:00
apane
001c7bfdbc
Fixs order details only when a wallet is connected
2020-02-09 21:08:46 -05:00
apane
d4e04dc712
Fix chevron icon
...
Fixs metamask icon size
2020-02-09 21:08:46 -05:00
apane
8650cb5217
Disables order details if no payment method is selected
2020-02-09 21:08:46 -05:00
apane
0eaaddeb95
Removes unused colors
...
Adds white background
Adds phone.svg
2020-02-09 21:08:46 -05:00
apane
1cf8663f20
Adds phone svg
...
Updates design of payment methods
2020-02-09 21:08:46 -05:00
apane
5130259552
Remove icon on connect button
2020-02-09 21:08:46 -05:00
apane
ba5e19a015
Fix lint errors
...
Remove icon
2020-02-09 21:08:46 -05:00
apane
c0400fa986
Removes onUnlockFormatic, just uses onUnlockGenericWallet
...
Removes unlockWalletWithFormaticProvider, now just uses unlockWalletAndDispatchToStore with getProviderStateBasedOnProviderType
Adds getProviderStateBasedOnProviderType
Adds orderSource to providerState type
2020-02-09 21:08:46 -05:00
apane
51179d10ce
Adds webpack config to use env var
...
Updates env example
Adds unlockWalletWithFormaticProvider on connect
2020-02-09 21:08:46 -05:00
apane
78752f9178
Adds connect to formatic button if the user does not have metamask installed
2020-02-09 21:08:46 -05:00
apane
762db417d7
Adds setProviderState action
...
unlockWalletAndDispatchToStore now changes the provider state based on the provider type
Adds button to connect with fortmatic
Adds FORTMATIC_API_KEY constant
2020-02-09 21:08:45 -05:00
apane
85bdccbc06
Adds Fortmatic to providerType
...
Uses fortmatic as default provider
2020-02-09 21:08:45 -05:00
apane
9f8cb99340
Removes prompt formatic
...
Fixs wallet prompt, adds marginTop props, splits border into border and borderColor
Adds fortmaticPrimary and fortmaticSecondary prop colors
2020-02-09 21:08:45 -05:00
apane
87b90bb04b
Adds fortmatic button
...
Adds fortmatic colors
2020-02-09 21:08:45 -05:00
apane
e961d88277
Adds fortmatic dependency
2020-02-09 21:08:45 -05:00
David Sun
16c7d2964b
typo
2020-01-08 16:17:25 -08:00
David Sun
5a6e494bda
lint + prettier
2020-01-08 16:16:29 -08:00
David Sun
88c6d89fbb
whitelist constants array
2020-01-08 13:55:53 -08:00
David Sun
ed4e90623d
more fixes
2019-12-19 16:49:20 -08:00
David Sun
38cdb48748
fixes
2019-12-19 16:36:00 -08:00
Lawrence Forman
994908549d
Asset-swapper aggregator utils ( #2353 )
...
* `@0x/asset-swapper`: Add ERC20Bridge aggregator library.
* `@0x/asset-swapper`: Finish off `aggregate.ts`.
* `@0x/types`: Add `OrderWithoutDomain` type.
* `@0x/asset-swapper`: Add testing infra for sampler/aggregator.
* `@0x/types`: Add `SignedOrderWithoutDomain` type.
* `@0x/asset-swapper`: Update aggregator to take and return orders with signatures.
* `@0x/asset-swapper`: Fix broken aggregator tests.
* `@0x/asset-swapper`: Pass the sampler contract into aggregator entry points.
* `@0x/contract-artifacts`: Add `IERC20BridgeSampler` artifact.
* `@0x/contract-wrappers`: Add `IERC20BridgeSampler` wrapper.
* `@0x/asset-swapper`: Address review comments.
* fixed testing
* refactored aggregate.ts and embeded into asset-swapper
* added adjusted rates for taker and maker fees
* remove PrunedSignedOrders
* updated contract-addresses and addressed some other todos
* streamlined logic
* patched in lawrences changes
* renamed aggregator utils and removed market_utils.ts
* added ack heartbeats
* fixed bug
* patches
* added dummy order things
* Dummy with valid sig
* Tweak gas price calculation to wei
* added test coverage and fixed bugs
* fixed migrations
* Fix CHANGELOGs and types export
* Deploy latest ERC20BridgeSampler on Mainnet
* `@0x/types` Revert CHANGELOG.
* `@0x/asset-swapper`: Address review comments.
`@0x/contract-addresses`: Make kyber lowercase.
* made protocol fee multiplier async
* `@0x/asset-swapper: Fix build errors and do some code cleanup.
* use assetDataUtils where possible
2019-12-16 12:35:58 -08:00
Xianny
fcbcbac889
Remove assetDataUtils everywhere ( #2373 )
...
* remove assetDataUtils everywhere
* export IAssetDataContract from @0x/contract-wrappers to allow @0x/instant to decode asset data synchronously
* export generic function `decodeAssetDataOrThrow` and add ERC20Bridge support
* export `hexUtils` from order-utils instead of contracts-test-utils
2019-12-04 13:08:08 -08:00
David Sun
5863ccc0a0
replay @dekz commits
2019-11-26 11:33:07 +11:00
David Sun
85de0b91b1
added todo
2019-11-26 11:33:05 +11:00
Jacob Evans
d91c6e5702
Round affiliate fee for non whole amounts
2019-11-26 11:33:05 +11:00
Jacob Evans
ab7689d188
Re-enable affiliate fee
2019-11-26 11:33:05 +11:00
Jacob Evans
c81455c760
Update SwapQuoteUpdater with gas estimator
2019-11-26 11:33:04 +11:00
David Sun
39bfc97a7a
fix build issues
2019-11-26 11:33:04 +11:00
David Sun
863e830d24
prettier + lint
2019-11-26 11:32:34 +11:00
David Sun
7f00279ffb
fixed CI tests for swapper
2019-11-26 11:32:34 +11:00
David Sun
c198d0079e
prettier + minor changes
2019-11-26 11:32:33 +11:00
David Sun
e299fa27a0
update to swapper
2019-11-26 11:32:32 +11:00
David Sun
46e0bc940a
refactored and added fees
2019-11-26 11:32:32 +11:00
David Sun
9a552012f2
fixed bugs preventing build
2019-11-26 11:32:31 +11:00