@ethersproject/contracts
Advanced tools
Comparing version 5.3.0 to 5.4.0
@@ -1,2 +0,2 @@ | ||
export declare const version = "contracts/5.3.0"; | ||
export declare const version = "contracts/5.4.0"; | ||
//# sourceMappingURL=_version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = "contracts/5.3.0"; | ||
export const version = "contracts/5.4.0"; | ||
//# sourceMappingURL=_version.js.map |
@@ -10,2 +10,4 @@ import { Fragment, Indexed, Interface, JsonFragment, Result } from "@ethersproject/abi"; | ||
gasPrice?: BigNumberish | Promise<BigNumberish>; | ||
maxFeePerGas?: BigNumberish | Promise<BigNumberish>; | ||
maxPriorityFeePerGas?: BigNumberish | Promise<BigNumberish>; | ||
nonce?: BigNumberish | Promise<BigNumberish>; | ||
@@ -33,2 +35,4 @@ type?: number; | ||
accessList?: AccessList; | ||
maxFeePerGas?: BigNumber; | ||
maxPriorityFeePerGas?: BigNumber; | ||
} | ||
@@ -35,0 +39,0 @@ export declare type EventFilter = { |
@@ -28,2 +28,3 @@ "use strict"; | ||
type: true, accessList: true, | ||
maxFeePerGas: true, maxPriorityFeePerGas: true | ||
}; | ||
@@ -134,2 +135,8 @@ function resolveName(resolver, nameOrPromise) { | ||
} | ||
if (ro.maxFeePerGas != null) { | ||
tx.maxFeePerGas = BigNumber.from(ro.maxFeePerGas); | ||
} | ||
if (ro.maxPriorityFeePerGas != null) { | ||
tx.maxPriorityFeePerGas = BigNumber.from(ro.maxPriorityFeePerGas); | ||
} | ||
if (ro.from != null) { | ||
@@ -180,2 +187,4 @@ tx.from = ro.from; | ||
delete overrides.accessList; | ||
delete overrides.maxFeePerGas; | ||
delete overrides.maxPriorityFeePerGas; | ||
// Make sure there are no stray overrides, which may indicate a | ||
@@ -182,0 +191,0 @@ // typo or using an unsupported key. |
@@ -1,2 +0,2 @@ | ||
export declare const version = "contracts/5.3.0"; | ||
export declare const version = "contracts/5.4.0"; | ||
//# sourceMappingURL=_version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = "contracts/5.3.0"; | ||
exports.version = "contracts/5.4.0"; | ||
//# sourceMappingURL=_version.js.map |
@@ -10,2 +10,4 @@ import { Fragment, Indexed, Interface, JsonFragment, Result } from "@ethersproject/abi"; | ||
gasPrice?: BigNumberish | Promise<BigNumberish>; | ||
maxFeePerGas?: BigNumberish | Promise<BigNumberish>; | ||
maxPriorityFeePerGas?: BigNumberish | Promise<BigNumberish>; | ||
nonce?: BigNumberish | Promise<BigNumberish>; | ||
@@ -33,2 +35,4 @@ type?: number; | ||
accessList?: AccessList; | ||
maxFeePerGas?: BigNumber; | ||
maxPriorityFeePerGas?: BigNumber; | ||
} | ||
@@ -35,0 +39,0 @@ export declare type EventFilter = { |
@@ -77,2 +77,3 @@ "use strict"; | ||
type: true, accessList: true, | ||
maxFeePerGas: true, maxPriorityFeePerGas: true | ||
}; | ||
@@ -205,2 +206,8 @@ function resolveName(resolver, nameOrPromise) { | ||
} | ||
if (ro.maxFeePerGas != null) { | ||
tx.maxFeePerGas = bignumber_1.BigNumber.from(ro.maxFeePerGas); | ||
} | ||
if (ro.maxPriorityFeePerGas != null) { | ||
tx.maxPriorityFeePerGas = bignumber_1.BigNumber.from(ro.maxPriorityFeePerGas); | ||
} | ||
if (ro.from != null) { | ||
@@ -246,2 +253,4 @@ tx.from = ro.from; | ||
delete overrides.accessList; | ||
delete overrides.maxFeePerGas; | ||
delete overrides.maxPriorityFeePerGas; | ||
leftovers = Object.keys(overrides).filter(function (key) { return (overrides[key] != null); }); | ||
@@ -248,0 +257,0 @@ if (leftovers.length) { |
{ | ||
"author": "Richard Moore <me@ricmoo.com>", | ||
"dependencies": { | ||
"@ethersproject/abi": "^5.3.0", | ||
"@ethersproject/abstract-provider": "^5.3.0", | ||
"@ethersproject/abstract-signer": "^5.3.0", | ||
"@ethersproject/address": "^5.3.0", | ||
"@ethersproject/bignumber": "^5.3.0", | ||
"@ethersproject/bytes": "^5.3.0", | ||
"@ethersproject/constants": "^5.3.0", | ||
"@ethersproject/logger": "^5.3.0", | ||
"@ethersproject/properties": "^5.3.0", | ||
"@ethersproject/transactions": "^5.3.0" | ||
"@ethersproject/abi": "^5.4.0", | ||
"@ethersproject/abstract-provider": "^5.4.0", | ||
"@ethersproject/abstract-signer": "^5.4.0", | ||
"@ethersproject/address": "^5.4.0", | ||
"@ethersproject/bignumber": "^5.4.0", | ||
"@ethersproject/bytes": "^5.4.0", | ||
"@ethersproject/constants": "^5.4.0", | ||
"@ethersproject/logger": "^5.4.0", | ||
"@ethersproject/properties": "^5.4.0", | ||
"@ethersproject/transactions": "^5.4.0" | ||
}, | ||
@@ -27,3 +27,3 @@ "description": "Contract abstraction meta-class for ethers.", | ||
], | ||
"gitHead": "4e6d121fb8aa7327290afab7653364be8ddd8d81", | ||
"gitHead": "c2c0ce75039e7256b287f9a764188d08ed0b7296", | ||
"keywords": [ | ||
@@ -49,5 +49,5 @@ "Ethereum", | ||
"sideEffects": false, | ||
"tarballHash": "0xd6ba83d7988befd0cb8ff3e22e43b593b5d116b291dd2fbcb4c115bbb779bb68", | ||
"tarballHash": "0xdc9e3ebe1cccd87fc4b8958a53f7347b7674bbfefaf23fb306a933dc61b36373", | ||
"types": "./lib/index.d.ts", | ||
"version": "5.3.0" | ||
"version": "5.4.0" | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = "contracts/5.3.0"; | ||
export const version = "contracts/5.4.0"; |
@@ -20,2 +20,4 @@ "use strict"; | ||
gasPrice?: BigNumberish | Promise<BigNumberish>; | ||
maxFeePerGas?: BigNumberish | Promise<BigNumberish>; | ||
maxPriorityFeePerGas?: BigNumberish | Promise<BigNumberish>; | ||
nonce?: BigNumberish | Promise<BigNumberish>; | ||
@@ -54,2 +56,5 @@ type?: number; | ||
accessList?: AccessList; | ||
maxFeePerGas?: BigNumber; | ||
maxPriorityFeePerGas?: BigNumber; | ||
}; | ||
@@ -106,2 +111,3 @@ | ||
type: true, accessList: true, | ||
maxFeePerGas: true, maxPriorityFeePerGas: true | ||
} | ||
@@ -222,2 +228,4 @@ | ||
if (ro.gasPrice != null) { tx.gasPrice = BigNumber.from(ro.gasPrice); } | ||
if (ro.maxFeePerGas != null) { tx.maxFeePerGas = BigNumber.from(ro.maxFeePerGas); } | ||
if (ro.maxPriorityFeePerGas != null) { tx.maxPriorityFeePerGas = BigNumber.from(ro.maxPriorityFeePerGas); } | ||
if (ro.from != null) { tx.from = ro.from; } | ||
@@ -266,2 +274,5 @@ | ||
delete overrides.maxFeePerGas; | ||
delete overrides.maxPriorityFeePerGas; | ||
// Make sure there are no stray overrides, which may indicate a | ||
@@ -268,0 +279,0 @@ // typo or using an unsupported key. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
242832
3468
Updated@ethersproject/abi@^5.4.0
Updated@ethersproject/bytes@^5.4.0
Updated@ethersproject/logger@^5.4.0