Commit Graph

5 Commits

Author SHA1 Message Date
Jamie Hewitt 9c56b00faa
Tracking OPC fees (#593)
* Tracking OPC fees

* Updating tests

* Updating tests

* Using basetoken decimals when tracking oceanFeeAmount

* Comparing the value of oceanFeeAmount returned from the event to the value stored in the subgraph

* Tracking consumeMarketFeeAmount and marketFeeAmount
2023-01-17 14:57:52 +03:00
Jamie Hewitt 20c27cd521
nft transfer event (#573)
* Updating schema

* updating nft.owner with newOwner

* Updating nftOwner in Order

* Fixing tests with nft.owner and nft.creator

* Tracking nft transferHistory

* removing nftOwner from order

* Removing nftOwner test from order

* Updating schema for nftTransferHistory

* Updating tests for transferHistory

* Updating test

* Fixing test

* Fixing timestamp test

* Revert "removing nftOwner from order"

This reverts commit 6f9aae3c40.

* Reverting removal of nftOwner Test + resolving conflicts
2022-11-24 15:40:31 +02:00
mihaisc 6c4fc1c346
add lastPriceToken (#567)
* add lastPriceToken

* test

* Updating tests to include lastPriceToken

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
2022-11-21 16:31:13 +02:00
Alex Coseru 0900c1fe88
update tests for new ocean.js 2.0 (#526)
* update tests for new ocean.js 2.0

* add tx&block to veDeposit

* add veOcean tests

* bump to oceanlib 2.0.0
2022-09-07 13:30:53 +03:00
Jamie Hewitt 82ce88c026
Fixed rate exchange tests (#513)
* Creating an inital Fixed rate exchange test

* Testing additional fields

* Testing all fields on fixed rate exchange

* Splitting up tests

* Splitting up fixed rate exachange tests

* Creating test for fixed rate price updates

* Adding test for updating allowed swapper

* Fixing templateId test

* Testing fixed rate excahnge updates

* Testing deactivate exchange

* Testing activate and deactive exchange

* Updating activate and deactivate minting

* Testing all fields of swaps after buying a DT

* Creating testing for selling a fixed rate DT

* Creating a constant for sleep ms
2022-08-11 15:59:19 +03:00