Commit Graph

169 Commits

Author SHA1 Message Date
Richard Ramos fa6bc6937f
feat: show fallback arbitration options only to specific accounts in the multisig (#699)
* Adding gnosis contract

* fix: mainnet fallback multisig address

* determine if the users belongs to the arbitrator multisig

* feat: show fallback arbitration options only to specific accounts in the multisig

* fix: code review
2020-02-12 09:37:00 -04:00
Richard Ramos c3f80dc087
Update Escrow.sol 2020-02-10 19:18:42 -04:00
Richard Ramos 52f4871015
fix: release tokens to destination (#692) 2020-02-10 08:50:13 -04:00
Richard Ramos bef46ce778
feat: update escrow destination address (#691)
* feat: update escrow destination address

* Only the buyer can update the destination
2020-02-06 10:54:01 -04:00
Richard Ramos 8066bf7582
feat: fallback arbitrator UI (#681)
* feat: fallback arbitrator UI

* fix: no need to verify if the user is an arbitrator

* fix: code review

* fix: code review
2020-02-05 09:35:15 -04:00
Richard Ramos 062ef773f2
feat: subspace + obtain the number of disputes resolved by arbitrator (#682)
* fix: base price calculation error
* feat: adding subspace to project
* feat: obtain number of disputes per arbitrator
* feat: display number of disputes resolved by arbitrator
2020-01-30 14:15:32 -04:00
Richard Ramos b88eb9b31f
feat: make the exponential curve less steep (#675) 2020-01-29 14:17:37 -04:00
Richard Ramos 31428fa4b9 fix: typos 2020-01-28 09:23:56 -04:00
Richard Ramos 762f8ed2ea
fix: remove slashing when dispute is lost (#673) 2020-01-28 09:09:59 -04:00
Richard Ramos 97a966b9f7
feat: allow specifying a timeout for arbitrators and escalating a dispute to the fallback arbitrator once the timeout passes. (#672) 2020-01-28 09:09:50 -04:00
Richard Ramos 9be0c1b189
fix: remove withdraw from contract (#670) 2020-01-28 09:09:34 -04:00
Richard Ramos 72144350a4
feat: update common and proxy contracts format and docs (#669) 2020-01-28 09:08:55 -04:00
Richard Ramos 64bd72e48c
feat: Adds EIP1344 to avoid replay attacks with signatures (#668) 2020-01-28 09:08:25 -04:00
Richard Ramos 09b135d7ad
fix: overflow on offerCnt 2020-01-23 18:37:58 -04:00
Richard Ramos 13b2ec165d
feat: USD prices for stakes (#657) 2020-01-23 15:28:49 -04:00
Richard Ramos 3e38b6fe36 feat: limit offers per seller 2020-01-22 18:53:24 -04:00
Richard Ramos 2bd1b9c32f
fix: burn address (#614)
* fix: setter for burn address in licenses

* fix: set KyberFeeBurner in contract config

* fix: set KyberFeeBurner as burn address
2020-01-13 13:48:44 -04:00
Richard Ramos c0556cf978
refactor: split MetadataStore contracts into OfferStore and UserStore (#613)
* refactor: split metadatastore into users and offer contracts

* refactor: update tests to remove metadatastore contract

* refactor: updated data script to include new stores

* refactor: removed MetadataStore from contracts config

* refactor: update frontend to use stores

* fix: import path

* fix:

* fix: code review
2020-01-13 11:59:42 -04:00
Jonathan Rainville 40014c9acb
fix: change limitH to limitU for consistency
(cherry picked from commit c61868e62ac1522fa4ea8ebb171c25ab44814fae)
2020-01-10 14:30:06 -05:00
Richard Ramos a5e332ac45
fix: calculate function signatures automatically (#599)
* fix: calculate function signatures automatically
* fix: code review
2020-01-09 16:08:15 -04:00
Richard Ramos fbed92aea6
Allow specifying different destination for escrow funds (#560) 2020-01-07 13:35:35 -04:00
Richard Ramos 4916347b02
refactor: data script (#586)
* refactor: data script
* fix: reduce extra gas
2020-01-07 10:47:20 -04:00
Richard Ramos 55fe58bf9b
feat: add withdraw method to relay contract (#585) 2020-01-07 10:47:09 -04:00
Richard Ramos 92d9edf3b4
feat: Use EIP1822 proxy (#578)
* feat: Use EIP1822 proxy

* fix: access implementation address
2019-12-20 12:45:15 -04:00
Richard Ramos 1e97a4e09d
fix: safe transfer for tokens that do not return true (#576) 2019-12-20 10:15:18 -04:00
Jonathan Rainville 9e6fd7580a Add location settings pages (#556)
* feat: add location setting page

* fix: fix contact form to fetch only when needed and update correctly

* feat: enable putting margin higher than 100 and lower than -100

* update test to support +100 margins
2019-12-13 11:13:23 -04:00
Richard Ramos a5ab4d4b26
feat(contracts): support fallback arbitrator after 5 days of inactivity (#518) 2019-12-02 12:04:36 -04:00
Richard Ramos 2f2b605f1e
Add dispute motives when opening a case (#511)
* Add dispute motives when opening a case
* fix: code review
2019-11-28 09:52:36 -04:00
Richard Ramos 30ff25fca1
feat(contracts): change contact code to contact data (#496)
* feat(contracts):  allow specifying any data for user contact)
* change escrow creation signature for relay
* feat: ui changes to support different contact methods in profile edition and offer creation (#497)
* Contact method support on 'Edit Profile'
* Create offers using new contact methods
* fix: selected contact method
* fix: remove console.log
* fix: code review
2019-11-22 11:19:09 -04:00
Richard Ramos 40c6ecd59a
feat: added index fields for notifications (#495) 2019-11-22 11:15:57 -04:00
Richard Ramos 919b886250
refactor: extract reentrancy guard to its own contract (#473)
* refactor: extract reentrancy guard to its own contract
* fix: check call return value
2019-11-06 13:49:49 -04:00
Richard Ramos e166f19366
feat: create escrows without requiring signatures (#470)
* feat: ETH stake sent during offer creation and contact details fix
* feat: ETH stake sent during offer creation and contact details fix
* feat: create escrows without requiring signatures
* fix: code review
* fix: remove offerStake
* fix: remove duplicated package
2019-11-05 19:42:05 -04:00
Richard Ramos 00d4f18647
feat: ETH stake sent during offer creation and contact details fix (#465)
* feat: ETH stake sent during offer creation and contact details fix
* fix: code review
2019-11-05 19:38:15 -04:00
Richard Ramos 8332bd6d2a
fix: Istanbul's EIP1884 may break contracts that receive eth in the fallback function. (#466) 2019-11-05 08:11:32 -04:00
Richard Ramos 1d46c0e530 fix: function visibility 2019-10-31 11:12:03 -04:00
Richard Ramos 3f0a379ab4
feat: slippage rate protection (#460) 2019-10-31 08:23:19 -04:00
Richard Ramos 4716fd28ec
feat: offer stake (#464)
* feat: offer stakes
* Test unit and misc fixes
2019-10-31 08:23:06 -04:00
Richard Ramos 1b69c0a6af
feat: support seller rating buyers (#456)
* feat(contracts): allow rating buyers

* feat: support seller rating buyers
2019-10-24 13:21:21 -04:00
Richard Ramos 99e9384fb9
feat: rate an escrow using GSN (#455) 2019-10-22 14:06:49 -04:00
Richard Ramos f5df4e6863 feat(contracts): remove seller license verification 2019-10-21 14:40:21 -04:00
Richard Ramos 96c7ded6a4
fix: fiat price among different screens (#443)
* fix: fiat price among different screens
* fix: tests
2019-09-09 08:32:02 -04:00
Richard Ramos 0251485b77
fix: limit relay gas price (#428) 2019-08-09 11:07:08 -04:00
Richard Ramos a661a6dcdc
fix: createEscrow signature 2019-08-08 10:48:25 -04:00
Richard Ramos 18ba1b48f0
feat: updating GSN to latest version (#422) 2019-08-07 11:58:36 -04:00
Richard Ramos 3e0fae7e73
feat: add limits to offers and use uint instead of enum for payment methods (#393) 2019-07-25 11:49:31 -04:00
Richard Ramos f81e352732
fit: split pubkey into x/y coordinates (#392)
* fix: change contract to split contact code in two coordinates
* feat: split pubkey into x/y coordinates
2019-07-24 13:51:22 -04:00
Richard Ramos bbaa9b613a
fix: reduce escrow creation gas cost by 50K (#390)
* fix: reduce createTransaction gas cost
* fix: reducing arbitrable gas cost
* fix: reducing gas cost of calling MetadataStore from escrow
2019-07-24 13:03:18 -04:00
Jonathan Rainville 63677fa6b4
feat: enable arbiters to blocklist sellers and add one test 2019-07-22 14:46:40 -04:00
Richard Ramos 26c05a38f3
fixes #281: Allow users to give feedback after dispute (#386) 2019-07-22 13:46:35 -04:00
Richard Ramos 4561f56ed1
fix: only buyer can pay an escrow (#384) 2019-07-18 11:11:33 -04:00