Skip to content

Commit

Permalink
Augur Adapter updates
Browse files Browse the repository at this point in the history
* Added typechain to accomodate refactor changes, since ABIs changed a lot
* Fix up getContract
* Fix bad dep
* fix(augur): handle overtime in NFL - The F/OT event status wasn't mapped to resolved causing over-time games to not resolve.
* Multiply team scores by 10 to match contract format
* Fix error with v3 markets
* therundown team names
* therundown names are name + mascot
* fix contract used for mma
* Update to factories v3
* Add test payloads
* Resolve the case where fighters changed but event has not occured yet
* Add debugging for mma
* MMA: use active fighters
* TheRundown expects Eastern time
* Add nba v3 contracts (#17)
* Add single shot test script
* Add NBA job payloads
* Update NBAMarketFactory typechain
* Fix NBA create market with new contracts
* Always find events for today + MMA maincard only (#18)
    * always find events for today
    * MMA maincard only
* array.filter is non promise-aware

Co-authored-by: robert <[email protected]>

Delete tests
  • Loading branch information
pgebheim authored and justinbarry committed Nov 8, 2021
1 parent 5a69586 commit be2dfec
Show file tree
Hide file tree
Showing 70 changed files with 66,299 additions and 1,673 deletions.
11 changes: 11 additions & 0 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,11 @@ yarn test $adapter/test/unit/my-specific-test.test.ts

# Run a tests in watch mode, re-running tests that have code changes or dependency changes in them
yarn test --watch $adapter/test/unit

#Run integration tests on the MMA Adapter
yarn test augur/test/integration


```

#### Adding Integration Test Fixtures
Expand Down
4 changes: 4 additions & 0 deletions packages/composites/augur/cache/solidity-files-cache.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-cache-2",
"files": {}
}
4 changes: 3 additions & 1 deletion packages/composites/augur/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
"@chainlink/ea-bootstrap": "*",
"@chainlink/sportsdataio-adapter": "^0.1.0",
"@chainlink/therundown-adapter": "^0.1.0",
"ethers": "5.4.6",
"@ethersproject/abi": "~5.4.1",
"@ethersproject/providers": "~5.4.5",
"ethers": "^5.4.6",
"luxon": "^1.27.0",
"tslib": "^2.3.1"
},
Expand Down
113 changes: 0 additions & 113 deletions packages/composites/augur/src/abis/AggregatorV3Interface.json

This file was deleted.

Loading

0 comments on commit be2dfec

Please sign in to comment.