Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge gmx branches #1

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@
"pink-horses-change",
"pink-moons-tickle",
"poor-ducks-share",
"purple-trainers-occur",
"quick-eyes-retire",
"quick-otters-deliver",
"rotten-monkeys-attack",
"sharp-candles-live",
"short-sloths-talk",
"silent-rats-explode",
"sixty-countries-leave",
"sixty-trains-yawn",
Expand Down
5 changes: 5 additions & 0 deletions .changeset/purple-trainers-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rabbitholegg/questdk-plugin-symbiosis": patch
---

Remove only-allow from symbiosis
6 changes: 6 additions & 0 deletions .changeset/short-sloths-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@rabbitholegg/questdk-plugin-stargate": patch
"@rabbitholegg/questdk-plugin-hyphen": patch
---

Remove only-allow from hyphen plugin
14 changes: 7 additions & 7 deletions packages/gmx/src/GMX.test.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import { GreaterThanOrEqual, apply } from '@rabbitholegg/questdk/filter'
import { describe, expect, test } from 'vitest'
import { getAddress, parseEther } from 'viem'
import { GMX_SWAPV1_ABI, GMX_SWAPV2_ABI } from './abi.js'
import { parseEther } from 'viem'
// import { GMX_SWAPV1_ABI, GMX_SWAPV2_ABI } from './abi.js'
import { getSupportedTokenAddresses, swap } from './GMX.js'
import { ARB_ONE_CHAIN_ID } from './chain-ids.js'
import { SWAP_TOKENS_FOR_TOKENS_V2 } from './test-transactions.js'
import {
DEFAULT_TOKEN_LIST_URL,
GMX_ROUTERV1_ADDRESS,
GMX_ROUTERV2_ADDRESS,
// GMX_ROUTERV1_ADDRESS,
// GMX_ROUTERV2_ADDRESS,
} from './contract-addresses.js'
import { passingTestCasesV1, failingTestCasesV1 } from './test-setup.js'

describe('Given the gmx plugin', () => {
const BRIDGED_USDC_ADDRESS = '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8'
const USDT_ADDRESS = '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9'
const TEST_USER = '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619'
// const BRIDGED_USDC_ADDRESS = '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8'
// const USDT_ADDRESS = '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9'
// const TEST_USER = '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619'
describe('When handling the swap', () => {
// describe('should return a valid action filter', () => {
// test('when swapping tokens', async () => {
Expand Down
6 changes: 6 additions & 0 deletions packages/hyphen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @rabbitholegg/questdk-plugin-hyphen

## 1.0.0-alpha.7

### Patch Changes

- [#97](https://github.com/rabbitholegg/questdk-plugins/pull/97) [`8496a49`](https://github.com/rabbitholegg/questdk-plugins/commit/8496a49d99ba2dcecef60211e1e9108d8128f5d3) Thanks [@Quazia](https://github.com/Quazia)! - Remove only-allow from hyphen plugin

## 1.0.0-alpha.6

### Patch Changes
Expand Down
3 changes: 1 addition & 2 deletions packages/hyphen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rabbitholegg/questdk-plugin-hyphen",
"version": "1.0.0-alpha.6",
"version": "1.0.0-alpha.7",
"type": "module",
"exports": {
"require": "./dist/cjs/index.js",
Expand All @@ -22,7 +22,6 @@
"format": "rome format . --write",
"lint": "rome check .",
"lint:fix": "pnpm lint --apply",
"preinstall": "npx only-allow pnpm",
"test": "vitest dev",
"test:cov": "vitest dev --coverage",
"test:ci": "CI=true vitest --coverage",
Expand Down
9 changes: 9 additions & 0 deletions packages/registry/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @rabbitholegg/questdk-plugin-registry

## 1.0.0-alpha.31

### Patch Changes

- Updated dependencies [[`dd8dc14`](https://github.com/rabbitholegg/questdk-plugins/commit/dd8dc14659be61a9fb64cf09c90d907126718044), [`8496a49`](https://github.com/rabbitholegg/questdk-plugins/commit/8496a49d99ba2dcecef60211e1e9108d8128f5d3)]:
- @rabbitholegg/[email protected]
- @rabbitholegg/[email protected]
- @rabbitholegg/[email protected]

## 1.0.0-alpha.30

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/registry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rabbitholegg/questdk-plugin-registry",
"version": "1.0.0-alpha.30",
"version": "1.0.0-alpha.31",
"type": "module",
"exports": {
"require": "./dist/cjs/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/stargate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @rabbitholegg/questdk-plugin-stargate

## 1.0.0-alpha.13

### Patch Changes

- [#97](https://github.com/rabbitholegg/questdk-plugins/pull/97) [`8496a49`](https://github.com/rabbitholegg/questdk-plugins/commit/8496a49d99ba2dcecef60211e1e9108d8128f5d3) Thanks [@Quazia](https://github.com/Quazia)! - Remove only-allow from hyphen plugin

## 1.0.0-alpha.12

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/stargate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rabbitholegg/questdk-plugin-stargate",
"version": "1.0.0-alpha.12",
"version": "1.0.0-alpha.13",
"type": "module",
"exports": {
"require": "./dist/cjs/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/symbiosis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @rabbitholegg/questdk-plugin-symbiosis

## 1.0.0-alpha.6

### Patch Changes

- [#97](https://github.com/rabbitholegg/questdk-plugins/pull/97) [`dd8dc14`](https://github.com/rabbitholegg/questdk-plugins/commit/dd8dc14659be61a9fb64cf09c90d907126718044) Thanks [@Quazia](https://github.com/Quazia)! - Remove only-allow from symbiosis

## 1.0.0-alpha.5

### Minor Changes
Expand Down
3 changes: 1 addition & 2 deletions packages/symbiosis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rabbitholegg/questdk-plugin-symbiosis",
"version": "1.0.0-alpha.5",
"version": "1.0.0-alpha.6",
"type": "module",
"exports": {
"require": "./dist/cjs/index.js",
Expand All @@ -22,7 +22,6 @@
"format": "rome format . --write",
"lint": "rome check .",
"lint:fix": "pnpm lint --apply",
"preinstall": "npx only-allow pnpm",
"test": "vitest dev",
"test:cov": "vitest dev --coverage",
"test:ci": "CI=true vitest --coverage",
Expand Down