Skip to content

Commit

Permalink
ethers v6 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
arietrouw committed Nov 19, 2023
1 parent 8363a7a commit 8f2a482
Show file tree
Hide file tree
Showing 129 changed files with 1,675 additions and 1,841 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@xylabs/tsconfig-dom-jest": "^3.2.2",
"babel-jest": "^29.7.0",
"dotenv": "^16.3.1",
"eslint": "^8.53.0",
"eslint": "^8.54.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.29.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/payload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@xyo-network/location-certainty-payload-plugin": "workspace:~",
"@xyo-network/location-payload-plugin": "workspace:~",
"@xyo-network/module-instance-payload-plugin": "workspace:~",
"@xyo-network/payload-plugin": "^2.79.8",
"@xyo-network/payload-plugin": "^2.81.0-rc.1",
"@xyo-network/pentair-payload-plugin": "workspace:~",
"@xyo-network/query-payload-plugin": "workspace:~",
"@xyo-network/schema-payload-plugin": "workspace:~",
Expand Down
4 changes: 2 additions & 2 deletions packages/payload/packages/address/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/payload/packages/blockchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@xyo-network/ethereum-blockchain-payload-plugins": "workspace:~",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@xyo-network/gas-ethereum-blockchain-payload-plugins": "workspace:~",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins": "workspace:~",
"@xyo-network/etherscan-ethereum-gas-payload-plugin": "workspace:~",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@xyo-network/etherchain-ethereum-gas-v2-payload-plugin": "workspace:~",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export interface EthereumGasEthersResponse {
* not support EIP-1559.
*/
gasPrice: null | number
lastBaseFeePerGas: null | number
/**
* The maxFeePerGas to use for a transaction. This is based on the
* most recent block's baseFee.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/payload/packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/core": "^2.79.8",
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/core": "^2.81.0-rc.1",
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/payload/packages/crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@xyo-network/crypto-cards-payload-plugins": "workspace:~",
"@xyo-network/crypto-market-payload-plugins": "workspace:~",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@xyo-network/crypto-cards-game-payload-plugin": "workspace:~",
"@xyo-network/crypto-cards-move-payload-plugin": "workspace:~",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@xyo-network/coingecko-crypto-market-payload-plugin": "workspace:~",
"@xyo-network/crypto-asset-payload-plugin": "workspace:~",
"@xyo-network/payload-plugin": "^2.79.8",
"@xyo-network/payload-plugin": "^2.81.0-rc.1",
"@xyo-network/uniswap-crypto-market-payload-plugin": "workspace:~"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
},
"dependencies": {
"@xyo-network/crypto-nft-payload-plugin": "workspace:~",
"@xyo-network/diviner-model": "^2.79.8",
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8",
"@xyo-network/witness-model": "^2.79.8"
"@xyo-network/diviner-model": "^2.81.0-rc.1",
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1",
"@xyo-network/witness-model": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@ethersproject/contracts": "^5.7.0",
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8",
"@xyo-network/witness-model": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1",
"@xyo-network/witness-model": "^2.81.0-rc.1",
"ethers": "^6.8.1"
},
"devDependencies": {
"@xylabs/jest-helpers": "^2.13.9",
"@xylabs/ts-scripts-yarn3": "^3.2.2",
"@xylabs/tsconfig": "^3.2.2",
"ethers": "^5.7.2",
"jest": "^29.7.0",
"typescript": "^5.2.2"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import { ContractInterface } from '@ethersproject/contracts'
import { Payload } from '@xyo-network/payload-model'
import { WitnessConfig } from '@xyo-network/witness-model'
import { JsonFragment } from 'ethers'

export const CryptoContractFunctionReadWitnessConfigSchema = 'network.xyo.crypto.contract.function.read.config'
export type CryptoContractFunctionReadWitnessConfigSchema = typeof CryptoContractFunctionReadWitnessConfigSchema

export type Abi = string | ReadonlyArray<JsonFragment | string>

export type CryptoContractFunctionReadWitnessConfig = WitnessConfig<{
abi: Abi
address?: string
args?: unknown[]
contract: ContractInterface
functionName?: string
schema: CryptoContractFunctionReadWitnessConfigSchema
}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/crypto-nft-score-model": "^2.80.5",
"@xyo-network/diviner-model": "^2.79.8",
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8",
"@xyo-network/witness-model": "^2.79.8"
"@xyo-network/crypto-nft-score-model": "workspace:~",
"@xyo-network/diviner-model": "^2.81.0-rc.1",
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1",
"@xyo-network/witness-model": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
16 changes: 8 additions & 8 deletions packages/payload/packages/domain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"dependencies": {
"@xylabs/axios": "^2.13.9",
"@xylabs/lodash": "^2.13.9",
"@xyo-network/api-models": "^2.79.8",
"@xyo-network/core": "^2.79.8",
"@xyo-network/dns": "^2.79.8",
"@xyo-network/huri": "^2.79.8",
"@xyo-network/network": "^2.79.8",
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8",
"@xyo-network/payload-wrapper": "^2.79.8"
"@xyo-network/api-models": "^2.81.0-rc.1",
"@xyo-network/core": "^2.81.0-rc.1",
"@xyo-network/dns": "^2.81.0-rc.1",
"@xyo-network/huri": "^2.81.0-rc.1",
"@xyo-network/network": "^2.81.0-rc.1",
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1",
"@xyo-network/payload-wrapper": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/payload/packages/elevation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/payload/packages/id/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
12 changes: 6 additions & 6 deletions packages/payload/packages/image-thumbnail/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"url": "https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xyo-network/diviner-model": "^2.79.8",
"@xyo-network/diviner-payload-model": "^2.79.8",
"@xyo-network/hash": "^2.79.8",
"@xyo-network/module-model": "^2.79.8",
"@xyo-network/payload-model": "^2.79.8",
"@xyo-network/payload-plugin": "^2.79.8"
"@xyo-network/diviner-model": "^2.81.0-rc.1",
"@xyo-network/diviner-payload-model": "^2.81.0-rc.1",
"@xyo-network/hash": "^2.81.0-rc.1",
"@xyo-network/module-model": "^2.81.0-rc.1",
"@xyo-network/payload-model": "^2.81.0-rc.1",
"@xyo-network/payload-plugin": "^2.81.0-rc.1"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.2.2",
Expand Down
Loading

0 comments on commit 8f2a482

Please sign in to comment.