@gearbox-protocol/sdk 8.3.2 → 8.3.3

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.
@@ -57,6 +57,37 @@ const iGearboxRouterV310Abi = [
57
57
  outputs: [{ name: "", type: "bytes32[]", internalType: "bytes32[]" }],
58
58
  stateMutability: "view"
59
59
  },
60
+ {
61
+ type: "function",
62
+ name: "processClaims",
63
+ inputs: [
64
+ { name: "creditAccount", type: "address", internalType: "address" },
65
+ {
66
+ name: "tData",
67
+ type: "tuple[]",
68
+ internalType: "struct TokenData[]",
69
+ components: [
70
+ { name: "token", type: "address", internalType: "address" },
71
+ { name: "balance", type: "uint256", internalType: "uint256" },
72
+ { name: "leftoverBalance", type: "uint256", internalType: "uint256" },
73
+ { name: "numSplits", type: "uint256", internalType: "uint256" },
74
+ { name: "claimRewards", type: "bool", internalType: "bool" }
75
+ ]
76
+ }
77
+ ],
78
+ outputs: [
79
+ {
80
+ name: "calls",
81
+ type: "tuple[]",
82
+ internalType: "struct MultiCall[]",
83
+ components: [
84
+ { name: "target", type: "address", internalType: "address" },
85
+ { name: "callData", type: "bytes", internalType: "bytes" }
86
+ ]
87
+ }
88
+ ],
89
+ stateMutability: "nonpayable"
90
+ },
60
91
  {
61
92
  type: "function",
62
93
  name: "routeManyToOne",
@@ -34,6 +34,37 @@ const iGearboxRouterV310Abi = [
34
34
  outputs: [{ name: "", type: "bytes32[]", internalType: "bytes32[]" }],
35
35
  stateMutability: "view"
36
36
  },
37
+ {
38
+ type: "function",
39
+ name: "processClaims",
40
+ inputs: [
41
+ { name: "creditAccount", type: "address", internalType: "address" },
42
+ {
43
+ name: "tData",
44
+ type: "tuple[]",
45
+ internalType: "struct TokenData[]",
46
+ components: [
47
+ { name: "token", type: "address", internalType: "address" },
48
+ { name: "balance", type: "uint256", internalType: "uint256" },
49
+ { name: "leftoverBalance", type: "uint256", internalType: "uint256" },
50
+ { name: "numSplits", type: "uint256", internalType: "uint256" },
51
+ { name: "claimRewards", type: "bool", internalType: "bool" }
52
+ ]
53
+ }
54
+ ],
55
+ outputs: [
56
+ {
57
+ name: "calls",
58
+ type: "tuple[]",
59
+ internalType: "struct MultiCall[]",
60
+ components: [
61
+ { name: "target", type: "address", internalType: "address" },
62
+ { name: "callData", type: "bytes", internalType: "bytes" }
63
+ ]
64
+ }
65
+ ],
66
+ stateMutability: "nonpayable"
67
+ },
37
68
  {
38
69
  type: "function",
39
70
  name: "routeManyToOne",
@@ -56,6 +56,54 @@ export declare const iGearboxRouterV310Abi: readonly [{
56
56
  readonly internalType: "bytes32[]";
57
57
  }];
58
58
  readonly stateMutability: "view";
59
+ }, {
60
+ readonly type: "function";
61
+ readonly name: "processClaims";
62
+ readonly inputs: readonly [{
63
+ readonly name: "creditAccount";
64
+ readonly type: "address";
65
+ readonly internalType: "address";
66
+ }, {
67
+ readonly name: "tData";
68
+ readonly type: "tuple[]";
69
+ readonly internalType: "struct TokenData[]";
70
+ readonly components: readonly [{
71
+ readonly name: "token";
72
+ readonly type: "address";
73
+ readonly internalType: "address";
74
+ }, {
75
+ readonly name: "balance";
76
+ readonly type: "uint256";
77
+ readonly internalType: "uint256";
78
+ }, {
79
+ readonly name: "leftoverBalance";
80
+ readonly type: "uint256";
81
+ readonly internalType: "uint256";
82
+ }, {
83
+ readonly name: "numSplits";
84
+ readonly type: "uint256";
85
+ readonly internalType: "uint256";
86
+ }, {
87
+ readonly name: "claimRewards";
88
+ readonly type: "bool";
89
+ readonly internalType: "bool";
90
+ }];
91
+ }];
92
+ readonly outputs: readonly [{
93
+ readonly name: "calls";
94
+ readonly type: "tuple[]";
95
+ readonly internalType: "struct MultiCall[]";
96
+ readonly components: readonly [{
97
+ readonly name: "target";
98
+ readonly type: "address";
99
+ readonly internalType: "address";
100
+ }, {
101
+ readonly name: "callData";
102
+ readonly type: "bytes";
103
+ readonly internalType: "bytes";
104
+ }];
105
+ }];
106
+ readonly stateMutability: "nonpayable";
59
107
  }, {
60
108
  readonly type: "function";
61
109
  readonly name: "routeManyToOne";
@@ -61,6 +61,54 @@ declare const abi: readonly [{
61
61
  readonly internalType: "bytes32[]";
62
62
  }];
63
63
  readonly stateMutability: "view";
64
+ }, {
65
+ readonly type: "function";
66
+ readonly name: "processClaims";
67
+ readonly inputs: readonly [{
68
+ readonly name: "creditAccount";
69
+ readonly type: "address";
70
+ readonly internalType: "address";
71
+ }, {
72
+ readonly name: "tData";
73
+ readonly type: "tuple[]";
74
+ readonly internalType: "struct TokenData[]";
75
+ readonly components: readonly [{
76
+ readonly name: "token";
77
+ readonly type: "address";
78
+ readonly internalType: "address";
79
+ }, {
80
+ readonly name: "balance";
81
+ readonly type: "uint256";
82
+ readonly internalType: "uint256";
83
+ }, {
84
+ readonly name: "leftoverBalance";
85
+ readonly type: "uint256";
86
+ readonly internalType: "uint256";
87
+ }, {
88
+ readonly name: "numSplits";
89
+ readonly type: "uint256";
90
+ readonly internalType: "uint256";
91
+ }, {
92
+ readonly name: "claimRewards";
93
+ readonly type: "bool";
94
+ readonly internalType: "bool";
95
+ }];
96
+ }];
97
+ readonly outputs: readonly [{
98
+ readonly name: "calls";
99
+ readonly type: "tuple[]";
100
+ readonly internalType: "struct MultiCall[]";
101
+ readonly components: readonly [{
102
+ readonly name: "target";
103
+ readonly type: "address";
104
+ readonly internalType: "address";
105
+ }, {
106
+ readonly name: "callData";
107
+ readonly type: "bytes";
108
+ readonly internalType: "bytes";
109
+ }];
110
+ }];
111
+ readonly stateMutability: "nonpayable";
64
112
  }, {
65
113
  readonly type: "function";
66
114
  readonly name: "routeManyToOne";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "8.3.2",
3
+ "version": "8.3.3",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",