@superfluid-finance/sdk-core 0.5.7 → 0.5.8-dev.1790309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,16 +14,17 @@ export default class Operation {
14
14
  * Executes the operation via the provided signer.
15
15
  * @description Populates all fields of the transaction, signs it and sends it to the network.
16
16
  * @param signer The signer of the transaction
17
+ * @param gasLimitMultiplier A multiplier to provide gasLimit buffer on top of the estimated gas limit (1.2x is the default)
17
18
  * @returns {ethers.providers.TransactionResponse} A TransactionResponse object which can be awaited
18
19
  */
19
- exec: (signer: ethers.Signer) => Promise<ethers.providers.TransactionResponse>;
20
+ exec: (signer: ethers.Signer, gasLimitMultiplier?: number) => Promise<ethers.providers.TransactionResponse>;
20
21
  /**
21
22
  * Get the populated transaction by awaiting `populateTransactionPromise`.
22
23
  * @description Note that we need to populate the txn with the signer.
23
24
  * NOTE: we use the forwarder populated promise if this exists
24
25
  * @returns {Promise<TransactionRequest>}
25
26
  */
26
- getPopulatedTransactionRequest: (signer: ethers.Signer) => Promise<TransactionRequest>;
27
+ getPopulatedTransactionRequest: (signer: ethers.Signer, gasLimitMultiplier?: number) => Promise<TransactionRequest>;
27
28
  /**
28
29
  * Signs the populated transaction via the provided signer (what you intend on sending to the network).
29
30
  * @param signer The signer of the transaction
@@ -1 +1 @@
1
- {"version":3,"file":"Operation.d.ts","sourceRoot":"","sources":["../../src/Operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,oBAAY,aAAa,GACnB,aAAa,GACb,eAAe,GACf,qBAAqB,GACrB,oBAAoB,GACpB,sBAAsB,GACtB,2BAA2B,GAC3B,iBAAiB,CAAC;AAExB;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,SAAS;IAC1B,QAAQ,CAAC,0BAA0B,EAAE,OAAO,CAAC,MA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,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC,EACzC,IAAI,EAAE,aAAa,EACnB,yBAAyB,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC;IAOpE;;;;;;OAMG;IACH,IAAI,WACQ,OAAO,MAAM,kCAEtB,QAAQ,OAAO,SAAS,CAAC,mBAAmB,CAAC,CAM9C;IAEF;;;;;OAKG;IACH,8BAA8B,WAClB,OAAO,MAAM,kCAEtB,QAAQ,kBAAkB,CAAC,CAyB5B;IACF;;;;OAIG;IACH,oBAAoB,WAAkB,OAAO,MAAM,KAAG,QAAQ,MAAM,CAAC,CAMnE;IAEF;;;;;OAKG;IACH,kBAAkB,WAAkB,OAAO,MAAM,KAAG,QAAQ,MAAM,CAAC,CAGjE;CACL"}
@@ -11,10 +11,11 @@ class Operation {
11
11
  * Executes the operation via the provided signer.
12
12
  * @description Populates all fields of the transaction, signs it and sends it to the network.
13
13
  * @param signer The signer of the transaction
14
+ * @param gasLimitMultiplier A multiplier to provide gasLimit buffer on top of the estimated gas limit (1.2x is the default)
14
15
  * @returns {ethers.providers.TransactionResponse} A TransactionResponse object which can be awaited
15
16
  */
16
- this.exec = async (signer) => {
17
- const populatedTransaction = await this.getPopulatedTransactionRequest(signer);
17
+ this.exec = async (signer, gasLimitMultiplier = 1.2) => {
18
+ const populatedTransaction = await this.getPopulatedTransactionRequest(signer, gasLimitMultiplier);
18
19
  return await signer.sendTransaction(populatedTransaction);
19
20
  };
20
21
  /**
@@ -23,11 +24,25 @@ class Operation {
23
24
  * NOTE: we use the forwarder populated promise if this exists
24
25
  * @returns {Promise<TransactionRequest>}
25
26
  */
26
- this.getPopulatedTransactionRequest = async (signer) => {
27
+ this.getPopulatedTransactionRequest = async (signer, gasLimitMultiplier = 1.2) => {
28
+ var _a;
27
29
  const txnToPopulate = this.forwarderPopulatedPromise
28
30
  ? await this.forwarderPopulatedPromise
29
31
  : await this.populateTransactionPromise;
30
- return await signer.populateTransaction(txnToPopulate);
32
+ const signerPopulatedTransaction = await signer.populateTransaction(txnToPopulate);
33
+ // if gasLimit exists, an Overrides object has been passed or the user has explicitly set
34
+ // a gasLimit for their transaction prior to execution and so we keep it as is else we apply
35
+ // a specified or the default (1.2) multiplier on the gas limit.
36
+ return txnToPopulate.gasLimit
37
+ ? txnToPopulate
38
+ : {
39
+ ...signerPopulatedTransaction,
40
+ gasLimit:
41
+ // @note if gasLimit is null, this function will throw due to
42
+ // conversion to BigNumber, so we must round this number
43
+ // we can be more conservative by using Math.ceil instead of Math.round
44
+ Math.ceil(Number((_a = signerPopulatedTransaction.gasLimit) === null || _a === void 0 ? void 0 : _a.toString()) * gasLimitMultiplier),
45
+ };
31
46
  };
32
47
  /**
33
48
  * Signs the populated transaction via the provided signer (what you intend on sending to the network).
@@ -1 +1 @@
1
- {"version":3,"file":"Operation.js","sourceRoot":"","sources":["../../src/Operation.ts"],"names":[],"mappings":";;AACA,mCAAgC;AAWhC;;;GAGG;AACH,MAAqB,SAAS;IAQ1B,YACI,GAAyC,EACzC,IAAmB,EACnB,yBAAgE;QAOpE;;;;;WAKG;QACH,SAAI,GAAG,KAAK,EACR,MAAqB,EACwB,EAAE;YAC/C,MAAM,oBAAoB,GAAG,MAAM,IAAI,CAAC,8BAA8B,CAClE,MAAM,CACT,CAAC;YACF,OAAO,MAAM,MAAM,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC;QAC9D,CAAC,CAAC;QAEF;;;;;WAKG;QACH,mCAA8B,GAAG,KAAK,EAClC,MAAqB,EACM,EAAE;YAC7B,MAAM,aAAa,GAAG,IAAI,CAAC,yBAAyB;gBAChD,CAAC,CAAC,MAAM,IAAI,CAAC,yBAAyB;gBACtC,CAAC,CAAC,MAAM,IAAI,CAAC,0BAA0B,CAAC;YAC5C,OAAO,MAAM,MAAM,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC;QAC3D,CAAC,CAAC;QACF;;;;WAIG;QACH,yBAAoB,GAAG,KAAK,EAAE,MAAqB,E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es the operation via the provided signer.
15
15
  * @description Populates all fields of the transaction, signs it and sends it to the network.
16
16
  * @param signer The signer of the transaction
17
+ * @param gasLimitMultiplier A multiplier to provide gasLimit buffer on top of the estimated gas limit (1.2x is the default)
17
18
  * @returns {ethers.providers.TransactionResponse} A TransactionResponse object which can be awaited
18
19
  */
19
- exec: (signer: ethers.Signer) => Promise<ethers.providers.TransactionResponse>;
20
+ exec: (signer: ethers.Signer, gasLimitMultiplier?: number) => Promise<ethers.providers.TransactionResponse>;
20
21
  /**
21
22
  * Get the populated transaction by awaiting `populateTransactionPromise`.
22
23
  * @description Note that we need to populate the txn with the signer.
23
24
  * NOTE: we use the forwarder populated promise if this exists
24
25
  * @returns {Promise<TransactionRequest>}
25
26
  */
26
- getPopulatedTransactionRequest: (signer: ethers.Signer) => Promise<TransactionRequest>;
27
+ getPopulatedTransactionRequest: (signer: ethers.Signer, gasLimitMultiplier?: number) => Promise<TransactionRequest>;
27
28
  /**
28
29
  * Signs the populated transaction via the provided signer (what you intend on sending to the network).
29
30
  * @param signer The signer of the transaction
@@ -1 +1 @@
1
- {"version":3,"file":"Operation.d.ts","sourceRoot":"","sources":["../../src/Operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,oBAAY,aAAa,GACnB,aAAa,GACb,eAAe,GACf,qBAAqB,GACrB,oBAAoB,GACpB,sBAAsB,GACtB,2BAA2B,GAC3B,iBAAiB,CAAC;AAExB;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,SAAS;IAC1B,QAAQ,CAAC,0BAA0B,EAAE,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;IAC1E,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAI7B,QAAQ,CAAC,yBAAyB,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;gBAGtE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AO,MAAM,kCAEtB,QAAQ,OAAO,SAAS,CAAC,mBAAmB,CAAC,CAM9C;IAEF;;;;;OAKG;IACH,8BAA8B,WAClB,OAAO,MAAM,kCAEtB,QAAQ,kBAAkB,CAAC,CAyB5B;IACF;;;;OAIG;IACH,oBAAoB,WAAkB,OAAO,MAAM,KAAG,QAAQ,MAAM,CAAC,CAMnE;IAEF;;;;;OAKG;IACH,kBAAkB,WAAkB,OAAO,MAAM,KAAG,QAAQ,MAAM,CAAC,CAGjE;CACL"}
@@ -9,10 +9,11 @@ export default class Operation {
9
9
  * Executes the operation via the provided signer.
10
10
  * @description Populates all fields of the transaction, signs it and sends it to the network.
11
11
  * @param signer The signer of the transaction
12
+ * @param gasLimitMultiplier A multiplier to provide gasLimit buffer on top of the estimated gas limit (1.2x is the default)
12
13
  * @returns {ethers.providers.TransactionResponse} A TransactionResponse object which can be awaited
13
14
  */
14
- this.exec = async (signer) => {
15
- const populatedTransaction = await this.getPopulatedTransactionRequest(signer);
15
+ this.exec = async (signer, gasLimitMultiplier = 1.2) => {
16
+ const populatedTransaction = await this.getPopulatedTransactionRequest(signer, gasLimitMultiplier);
16
17
  return await signer.sendTransaction(populatedTransaction);
17
18
  };
18
19
  /**
@@ -21,11 +22,25 @@ export default class Operation {
21
22
  * NOTE: we use the forwarder populated promise if this exists
22
23
  * @returns {Promise<TransactionRequest>}
23
24
  */
24
- this.getPopulatedTransactionRequest = async (signer) => {
25
+ this.getPopulatedTransactionRequest = async (signer, gasLimitMultiplier = 1.2) => {
26
+ var _a;
25
27
  const txnToPopulate = this.forwarderPopulatedPromise
26
28
  ? await this.forwarderPopulatedPromise
27
29
  : await this.populateTransactionPromise;
28
- return await signer.populateTransaction(txnToPopulate);
30
+ const signerPopulatedTransaction = await signer.populateTransaction(txnToPopulate);
31
+ // if gasLimit exists, an Overrides object has been passed or the user has explicitly set
32
+ // a gasLimit for their transaction prior to execution and so we keep it as is else we apply
33
+ // a specified or the default (1.2) multiplier on the gas limit.
34
+ return txnToPopulate.gasLimit
35
+ ? txnToPopulate
36
+ : {
37
+ ...signerPopulatedTransaction,
38
+ gasLimit:
39
+ // @note if gasLimit is null, this function will throw due to
40
+ // conversion to BigNumber, so we must round this number
41
+ // we can be more conservative by using Math.ceil instead of Math.round
42
+ Math.ceil(Number((_a = signerPopulatedTransaction.gasLimit) === null || _a === void 0 ? void 0 : _a.toString()) * gasLimitMultiplier),
43
+ };
29
44
  };
30
45
  /**
31
46
  * Signs the populated transaction via the provided signer (what you intend on sending to the network).
@@ -1 +1 @@
1
- {"version":3,"file":"Operation.js","sourceRoot":"","sources":["../../src/Operation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAWhC;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,SAAS;IAQ1B,YACI,GAAyC,EACzC,IAAmB,EACnB,yBAAgE;QAOpE;;;;;WAKG;QACH,SAAI,GAAG,KAAK,EACR,MAAqB,EACwB,EAAE;YAC/C,MAAM,oBAAoB,GAAG,MAAM,IAAI,CAAC,8BAA8B,CAClE,MAAM,CACT,CAAC;YACF,OAAO,MAAM,MAAM,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC;QAC9D,CAAC,CAAC;QAEF;;;;;WAKG;QACH,mCAA8B,GAAG,KAAK,EAClC,MAAqB,EACM,EAAE;YAC7B,MAAM,aAAa,GAAG,IAAI,CAAC,yBAAyB;gBAChD,CAAC,CAAC,MAAM,IAAI,CAAC,yBAAyB;gBACtC,CAAC,CAAC,MAAM,IAAI,CAAC,0BAA0B,CAAC;YAC5C,OAAO,MAAM,MAAM,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC;QAC3D,CAAC,CAAC;QACF;;;;WAIG;QACH,yBAAoB,GAAG,KAAK,EAAE,MAAqB,EAAmB,EAAE;YACpE,MAAM,oBAAoB,GAAG,MAAM,IAAI,CAAC,8BAA8B,CAClE,MAAM,CACT,CAAC;YACF,MAAM,SAAS,GAAG,M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AM,CAAC,mBAAmB,CAC/D,aAAa,CAChB,CAAC;YAEF,yFAAyF;YACzF,4FAA4F;YAC5F,gEAAgE;YAChE,OAAO,aAAa,CAAC,QAAQ;gBACzB,CAAC,CAAC,aAAa;gBACf,CAAC,CAAC;oBACI,GAAG,0BAA0B;oBAC7B,QAAQ;oBACJ,6DAA6D;oBAC7D,wDAAwD;oBACxD,uEAAuE;oBACvE,IAAI,CAAC,IAAI,CACL,MAAM,CACF,MAAA,0BAA0B,CAAC,QAAQ,0CAAE,QAAQ,EAAE,CAClD,GAAG,kBAAkB,CACzB;iBACR,CAAC;QACZ,CAAC,CAAC;QACF;;;;WAIG;QACH,yBAAoB,GAAG,KAAK,EAAE,MAAqB,EAAmB,EAAE;YACpE,MAAM,oBAAoB,GAAG,MAAM,IAAI,CAAC,8BAA8B,CAClE,MAAM,CACT,CAAC;YACF,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC;YACrE,OAAO,SAAS,CAAC;QACrB,CAAC,CAAC;QAEF;;;;;WAKG;QACH,uBAAkB,GAAG,KAAK,EAAE,MAAqB,EAAmB,EAAE;YAClE,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC;YAC1D,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;QAC7C,CAAC,CAAC;QAhFE,IAAI,CAAC,0BAA0B,GAAG,GAAG,CAAC;QACtC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,yBAAyB,GAAG,yBAAyB,CAAC;IAC/D,CAAC;CA8EJ"}
@@ -1,3 +1,3 @@
1
1
  {
2
- "value": "v1"
2
+ "value": "dev"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superfluid-finance/sdk-core",
3
- "version": "0.5.7",
3
+ "version": "0.5.8-dev.1790309.0",
4
4
  "description": "SDK Core for building with Superfluid Protocol",
5
5
  "homepage": "https://github.com/superfluid-finance/protocol-monorepo/tree/dev/packages/sdk-core#readme",
6
6
  "repository": {
@@ -55,7 +55,7 @@
55
55
  "url": "https://github.com/superfluid-finance/protocol-monorepo/issues"
56
56
  },
57
57
  "dependencies": {
58
- "@superfluid-finance/ethereum-contracts": "1.4.2",
58
+ "@superfluid-finance/ethereum-contracts": "^1.4.3-dev.1790309.0",
59
59
  "@superfluid-finance/metadata": "git+https://github.com/superfluid-finance/metadata.git",
60
60
  "browserify": "^17.0.0",
61
61
  "graphql-request": "^4.3.0",