-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: post contracts package cleanup (#7687)
* chore: move unchained-client address constants into contract package * chore: consolidtate abis from unchained-client to contracts package * fix: use correct ABI for weth * chore: linting * chore: remove redundant outbox abi * chore: cleanup investor constants * fix: dont import src from packages * chore: remove redundant thochain router abi * chore: consolidate abis and addresses from thorchain swaper into contract package * chore: rename some abis * chore: lintint * chore: i said, LINT * chore: use viem erc20 abi * chore: move abi in investor-foxy to contracts package * chore: remove testnet support from weth parser * chore: interfaces get an i * chore: remove redundant zrx contract addresses * chore: use correct cowswap contract address name * chore: use correct arbitrum erc20 gateway proxy contract address name * chore: use getAddress for thorchain router and vault * chore: use viem for max allowances * chore: remove casts * chore: contract address naming ocd * chore: actioned apo review feedback --------- Co-authored-by: gomes <[email protected]>
- Loading branch information
1 parent
7e22749
commit 76df0f3
Showing
118 changed files
with
485 additions
and
3,056 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/contracts/src/abis/Outbox.ts → packages/contracts/src/abis/arbOutbox.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...ned-client/src/evm/parser/abi/ArbProxy.ts → packages/contracts/src/abis/arbProxy.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...ient/src/evm/parser/abi/ArbRetryableTx.ts → ...ages/contracts/src/abis/arbRetryableTx.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...ained-client/src/evm/parser/abi/ArbSys.ts → packages/contracts/src/abis/arbSys.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/contracts/src/abis/farmingAbi.ts → packages/contracts/src/abis/farming.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const FarmingABI = [ | ||
export const FARMING_ABI = [ | ||
{ | ||
inputs: [ | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...ib/investor/investor-foxy/abi/foxy-abi.ts → packages/contracts/src/abis/foxy.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...rc/evm/ethereum/parser/abi/foxyStaking.ts → packages/contracts/src/abis/foxyStaking.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ages/contracts/src/abis/IUniswapV2Pair.ts → ...ages/contracts/src/abis/iUniswapV2Pair.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const IUniswapV2Pair = [ | ||
export const I_UNISWAP_V2_PAIR_ABI = [ | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
|
2 changes: 1 addition & 1 deletion
2
...tThorTradeQuote/abis/IUniswapV3PoolAbi.ts → ...ages/contracts/src/abis/iUniswapV3Pool.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const IUniswapV3PoolABI = [ | ||
export const I_UNISWAP_V3_POOL_ABI = [ | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,26 @@ | ||
export * from './ERC20ABI' | ||
export * from './farmingAbi' | ||
export * from './FoxStakingV1' | ||
export * from './IUniswapV2Pair' | ||
export * from './IUniswapV2Router02' | ||
export * from './Outbox' | ||
export * from './THORCHAIN_RouterABI' | ||
export * from './arbOutbox' | ||
export * from './arbProxy' | ||
export * from './arbRetryableTx' | ||
export * from './arbSys' | ||
export * from './iBep20' | ||
export * from './farming' | ||
export * from './foxStaking' | ||
export * from './foxy' | ||
export * from './foxyStaking' | ||
export * from './l1ArbitrumGateway' | ||
export * from './l1OrbitCustomGateway' | ||
export * from './l2ArbitrumGateway' | ||
export * from './liquidityReserve' | ||
export * from './rfox' | ||
export * from './shapeShiftRouter' | ||
export * from './thorchainRouter' | ||
export * from './tokeManager' | ||
export * from './tokePool' | ||
export * from './tokeRewardHash' | ||
export * from './iUniswapV2Pair' | ||
export * from './uniswapV2Router02' | ||
export * from './iUniswapV3Pool' | ||
export * from './uniswapV3Quoter' | ||
export * from './uniV2StakingRewards' | ||
export * from './weth' | ||
export * from './yearnVault' |
4 changes: 1 addition & 3 deletions
4
...t/src/evm/parser/abi/L1ArbitrumGateway.ts → ...s/contracts/src/abis/l1ArbitrumGateway.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...rc/evm/parser/abi/L1OrbitCustomGateway.ts → ...ontracts/src/abis/l1OrbitCustomGateway.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...t/src/evm/parser/abi/L2ArbitrumGateway.ts → ...s/contracts/src/abis/l2ArbitrumGateway.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...nvestor-foxy/abi/liquidity-reserve-abi.ts → ...es/contracts/src/abis/liquidityReserve.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...chained-client/src/evm/parser/abi/rfox.ts → packages/contracts/src/abis/rfox.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...m/ethereum/parser/abi/shapeShiftRouter.ts → ...es/contracts/src/abis/shapeShiftRouter.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...contracts/src/abis/THORCHAIN_RouterABI.ts → ...ges/contracts/src/abis/thorchainRouter.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const THORChain_RouterABI = [ | ||
export const THORCHAIN_ROUTER_ABI = [ | ||
{ | ||
inputs: [ | ||
{ | ||
|
4 changes: 1 addition & 3 deletions
4
...tor/investor-foxy/abi/toke-manager-abi.ts → packages/contracts/src/abis/tokeManager.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...vestor/investor-foxy/abi/toke-pool-abi.ts → packages/contracts/src/abis/tokePool.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.