sablier 3.3.2 → 3.3.4
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.
- package/CHANGELOG.md +15 -0
- package/abi/lockup/v2.0/SablierBatchLockup.json +126 -22
- package/abi/lockup/v3.0/SablierBatchLockup.json +22 -126
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleExecute.js +24 -0
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleExecute.js.map +1 -1
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleInstant.js +23 -0
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleInstant.js.map +1 -1
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleLL.js +23 -0
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleLL.js.map +1 -1
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleLT.js +23 -0
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleLT.js.map +1 -1
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleVCA.js +23 -0
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleVCA.js.map +1 -1
- package/dist/cjs/evm/releases/lockup/v2.0/abi/SablierBatchLockup.js +167 -167
- package/dist/cjs/evm/releases/lockup/v2.0/abi/SablierBatchLockup.js.map +1 -1
- package/dist/cjs/evm/releases/lockup/v3.0/abi/SablierBatchLockup.js +138 -138
- package/dist/cjs/evm/releases/lockup/v3.0/abi/SablierBatchLockup.js.map +1 -1
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleExecute.js +24 -0
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleExecute.js.map +1 -1
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleInstant.js +23 -0
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleInstant.js.map +1 -1
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleLL.js +23 -0
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleLL.js.map +1 -1
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleLT.js +23 -0
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleLT.js.map +1 -1
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleVCA.js +23 -0
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleVCA.js.map +1 -1
- package/dist/esm/evm/releases/lockup/v2.0/abi/SablierBatchLockup.js +167 -167
- package/dist/esm/evm/releases/lockup/v2.0/abi/SablierBatchLockup.js.map +1 -1
- package/dist/esm/evm/releases/lockup/v3.0/abi/SablierBatchLockup.js +138 -138
- package/dist/esm/evm/releases/lockup/v3.0/abi/SablierBatchLockup.js.map +1 -1
- package/dist/types/evm/releases/airdrops/index.d.ts +239 -0
- package/dist/types/evm/releases/airdrops/index.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleExecute.d.ts +51 -0
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleExecute.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleInstant.d.ts +47 -0
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleInstant.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleLL.d.ts +47 -0
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleLL.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleLT.d.ts +47 -0
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleLT.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleVCA.d.ts +47 -0
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleVCA.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/abi.d.ts +239 -0
- package/dist/types/evm/releases/airdrops/v3.0/abi.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/index.d.ts +239 -0
- package/dist/types/evm/releases/airdrops/v3.0/index.d.ts.map +1 -1
- package/dist/types/evm/releases/lockup/index.d.ts +315 -315
- package/dist/types/evm/releases/lockup/v2.0/abi/SablierBatchLockup.d.ts +172 -172
- package/dist/types/evm/releases/lockup/v2.0/abi.d.ts +172 -172
- package/dist/types/evm/releases/lockup/v2.0/index.d.ts +172 -172
- package/dist/types/evm/releases/lockup/v3.0/abi/SablierBatchLockup.d.ts +143 -143
- package/dist/types/evm/releases/lockup/v3.0/abi.d.ts +143 -143
- package/dist/types/evm/releases/lockup/v3.0/index.d.ts +143 -143
- package/package.json +1 -1
- package/abi/comptroller/ERC1967.json +0 -31
|
@@ -2023,443 +2023,443 @@ export declare const release: Sablier.Release.Standard<{
|
|
|
2023
2023
|
readonly type: "function";
|
|
2024
2024
|
}];
|
|
2025
2025
|
readonly SablierBatchLockup: readonly [{
|
|
2026
|
+
readonly type: "function";
|
|
2027
|
+
readonly name: "createWithDurationsLD";
|
|
2026
2028
|
readonly inputs: readonly [{
|
|
2027
|
-
readonly internalType: "contract ISablierLockup";
|
|
2028
2029
|
readonly name: "lockup";
|
|
2029
2030
|
readonly type: "address";
|
|
2031
|
+
readonly internalType: "contract ISablierLockup";
|
|
2030
2032
|
}, {
|
|
2031
|
-
readonly internalType: "contract IERC20";
|
|
2032
2033
|
readonly name: "token";
|
|
2033
2034
|
readonly type: "address";
|
|
2035
|
+
readonly internalType: "contract IERC20";
|
|
2034
2036
|
}, {
|
|
2037
|
+
readonly name: "batch";
|
|
2038
|
+
readonly type: "tuple[]";
|
|
2039
|
+
readonly internalType: "struct BatchLockup.CreateWithDurationsLD[]";
|
|
2035
2040
|
readonly components: readonly [{
|
|
2036
|
-
readonly internalType: "address";
|
|
2037
2041
|
readonly name: "sender";
|
|
2038
2042
|
readonly type: "address";
|
|
2039
|
-
}, {
|
|
2040
2043
|
readonly internalType: "address";
|
|
2044
|
+
}, {
|
|
2041
2045
|
readonly name: "recipient";
|
|
2042
2046
|
readonly type: "address";
|
|
2047
|
+
readonly internalType: "address";
|
|
2043
2048
|
}, {
|
|
2044
|
-
readonly internalType: "uint128";
|
|
2045
2049
|
readonly name: "depositAmount";
|
|
2046
2050
|
readonly type: "uint128";
|
|
2051
|
+
readonly internalType: "uint128";
|
|
2047
2052
|
}, {
|
|
2048
|
-
readonly internalType: "bool";
|
|
2049
2053
|
readonly name: "cancelable";
|
|
2050
2054
|
readonly type: "bool";
|
|
2051
|
-
}, {
|
|
2052
2055
|
readonly internalType: "bool";
|
|
2056
|
+
}, {
|
|
2053
2057
|
readonly name: "transferable";
|
|
2054
2058
|
readonly type: "bool";
|
|
2059
|
+
readonly internalType: "bool";
|
|
2055
2060
|
}, {
|
|
2061
|
+
readonly name: "segmentsWithDuration";
|
|
2062
|
+
readonly type: "tuple[]";
|
|
2063
|
+
readonly internalType: "struct LockupDynamic.SegmentWithDuration[]";
|
|
2056
2064
|
readonly components: readonly [{
|
|
2057
|
-
readonly internalType: "uint128";
|
|
2058
2065
|
readonly name: "amount";
|
|
2059
2066
|
readonly type: "uint128";
|
|
2067
|
+
readonly internalType: "uint128";
|
|
2060
2068
|
}, {
|
|
2061
|
-
readonly internalType: "UD2x18";
|
|
2062
2069
|
readonly name: "exponent";
|
|
2063
2070
|
readonly type: "uint64";
|
|
2071
|
+
readonly internalType: "UD2x18";
|
|
2064
2072
|
}, {
|
|
2065
|
-
readonly internalType: "uint40";
|
|
2066
2073
|
readonly name: "duration";
|
|
2067
2074
|
readonly type: "uint40";
|
|
2075
|
+
readonly internalType: "uint40";
|
|
2068
2076
|
}];
|
|
2069
|
-
readonly internalType: "struct LockupDynamic.SegmentWithDuration[]";
|
|
2070
|
-
readonly name: "segmentsWithDuration";
|
|
2071
|
-
readonly type: "tuple[]";
|
|
2072
2077
|
}, {
|
|
2073
|
-
readonly internalType: "string";
|
|
2074
2078
|
readonly name: "shape";
|
|
2075
2079
|
readonly type: "string";
|
|
2080
|
+
readonly internalType: "string";
|
|
2076
2081
|
}];
|
|
2077
|
-
readonly internalType: "struct BatchLockup.CreateWithDurationsLD[]";
|
|
2078
|
-
readonly name: "batch";
|
|
2079
|
-
readonly type: "tuple[]";
|
|
2080
2082
|
}];
|
|
2081
|
-
readonly name: "createWithDurationsLD";
|
|
2082
2083
|
readonly outputs: readonly [{
|
|
2083
|
-
readonly internalType: "uint256[]";
|
|
2084
2084
|
readonly name: "streamIds";
|
|
2085
2085
|
readonly type: "uint256[]";
|
|
2086
|
+
readonly internalType: "uint256[]";
|
|
2086
2087
|
}];
|
|
2087
2088
|
readonly stateMutability: "nonpayable";
|
|
2088
|
-
readonly type: "function";
|
|
2089
2089
|
}, {
|
|
2090
|
+
readonly type: "function";
|
|
2091
|
+
readonly name: "createWithDurationsLL";
|
|
2090
2092
|
readonly inputs: readonly [{
|
|
2091
|
-
readonly internalType: "contract ISablierLockup";
|
|
2092
2093
|
readonly name: "lockup";
|
|
2093
2094
|
readonly type: "address";
|
|
2095
|
+
readonly internalType: "contract ISablierLockup";
|
|
2094
2096
|
}, {
|
|
2095
|
-
readonly internalType: "contract IERC20";
|
|
2096
2097
|
readonly name: "token";
|
|
2097
2098
|
readonly type: "address";
|
|
2099
|
+
readonly internalType: "contract IERC20";
|
|
2098
2100
|
}, {
|
|
2101
|
+
readonly name: "batch";
|
|
2102
|
+
readonly type: "tuple[]";
|
|
2103
|
+
readonly internalType: "struct BatchLockup.CreateWithDurationsLL[]";
|
|
2099
2104
|
readonly components: readonly [{
|
|
2100
|
-
readonly internalType: "address";
|
|
2101
2105
|
readonly name: "sender";
|
|
2102
2106
|
readonly type: "address";
|
|
2103
|
-
}, {
|
|
2104
2107
|
readonly internalType: "address";
|
|
2108
|
+
}, {
|
|
2105
2109
|
readonly name: "recipient";
|
|
2106
2110
|
readonly type: "address";
|
|
2111
|
+
readonly internalType: "address";
|
|
2107
2112
|
}, {
|
|
2108
|
-
readonly internalType: "uint128";
|
|
2109
2113
|
readonly name: "depositAmount";
|
|
2110
2114
|
readonly type: "uint128";
|
|
2115
|
+
readonly internalType: "uint128";
|
|
2111
2116
|
}, {
|
|
2112
|
-
readonly internalType: "bool";
|
|
2113
2117
|
readonly name: "cancelable";
|
|
2114
2118
|
readonly type: "bool";
|
|
2115
|
-
}, {
|
|
2116
2119
|
readonly internalType: "bool";
|
|
2120
|
+
}, {
|
|
2117
2121
|
readonly name: "transferable";
|
|
2118
2122
|
readonly type: "bool";
|
|
2123
|
+
readonly internalType: "bool";
|
|
2119
2124
|
}, {
|
|
2125
|
+
readonly name: "durations";
|
|
2126
|
+
readonly type: "tuple";
|
|
2127
|
+
readonly internalType: "struct LockupLinear.Durations";
|
|
2120
2128
|
readonly components: readonly [{
|
|
2121
|
-
readonly internalType: "uint40";
|
|
2122
2129
|
readonly name: "cliff";
|
|
2123
2130
|
readonly type: "uint40";
|
|
2124
|
-
}, {
|
|
2125
2131
|
readonly internalType: "uint40";
|
|
2132
|
+
}, {
|
|
2126
2133
|
readonly name: "total";
|
|
2127
2134
|
readonly type: "uint40";
|
|
2135
|
+
readonly internalType: "uint40";
|
|
2128
2136
|
}];
|
|
2129
|
-
readonly internalType: "struct LockupLinear.Durations";
|
|
2130
|
-
readonly name: "durations";
|
|
2131
|
-
readonly type: "tuple";
|
|
2132
2137
|
}, {
|
|
2138
|
+
readonly name: "unlockAmounts";
|
|
2139
|
+
readonly type: "tuple";
|
|
2140
|
+
readonly internalType: "struct LockupLinear.UnlockAmounts";
|
|
2133
2141
|
readonly components: readonly [{
|
|
2134
|
-
readonly internalType: "uint128";
|
|
2135
2142
|
readonly name: "start";
|
|
2136
2143
|
readonly type: "uint128";
|
|
2137
|
-
}, {
|
|
2138
2144
|
readonly internalType: "uint128";
|
|
2145
|
+
}, {
|
|
2139
2146
|
readonly name: "cliff";
|
|
2140
2147
|
readonly type: "uint128";
|
|
2148
|
+
readonly internalType: "uint128";
|
|
2141
2149
|
}];
|
|
2142
|
-
readonly internalType: "struct LockupLinear.UnlockAmounts";
|
|
2143
|
-
readonly name: "unlockAmounts";
|
|
2144
|
-
readonly type: "tuple";
|
|
2145
2150
|
}, {
|
|
2146
|
-
readonly internalType: "string";
|
|
2147
2151
|
readonly name: "shape";
|
|
2148
2152
|
readonly type: "string";
|
|
2153
|
+
readonly internalType: "string";
|
|
2149
2154
|
}];
|
|
2150
|
-
readonly internalType: "struct BatchLockup.CreateWithDurationsLL[]";
|
|
2151
|
-
readonly name: "batch";
|
|
2152
|
-
readonly type: "tuple[]";
|
|
2153
2155
|
}];
|
|
2154
|
-
readonly name: "createWithDurationsLL";
|
|
2155
2156
|
readonly outputs: readonly [{
|
|
2156
|
-
readonly internalType: "uint256[]";
|
|
2157
2157
|
readonly name: "streamIds";
|
|
2158
2158
|
readonly type: "uint256[]";
|
|
2159
|
+
readonly internalType: "uint256[]";
|
|
2159
2160
|
}];
|
|
2160
2161
|
readonly stateMutability: "nonpayable";
|
|
2161
|
-
readonly type: "function";
|
|
2162
2162
|
}, {
|
|
2163
|
+
readonly type: "function";
|
|
2164
|
+
readonly name: "createWithDurationsLT";
|
|
2163
2165
|
readonly inputs: readonly [{
|
|
2164
|
-
readonly internalType: "contract ISablierLockup";
|
|
2165
2166
|
readonly name: "lockup";
|
|
2166
2167
|
readonly type: "address";
|
|
2168
|
+
readonly internalType: "contract ISablierLockup";
|
|
2167
2169
|
}, {
|
|
2168
|
-
readonly internalType: "contract IERC20";
|
|
2169
2170
|
readonly name: "token";
|
|
2170
2171
|
readonly type: "address";
|
|
2172
|
+
readonly internalType: "contract IERC20";
|
|
2171
2173
|
}, {
|
|
2174
|
+
readonly name: "batch";
|
|
2175
|
+
readonly type: "tuple[]";
|
|
2176
|
+
readonly internalType: "struct BatchLockup.CreateWithDurationsLT[]";
|
|
2172
2177
|
readonly components: readonly [{
|
|
2173
|
-
readonly internalType: "address";
|
|
2174
2178
|
readonly name: "sender";
|
|
2175
2179
|
readonly type: "address";
|
|
2176
|
-
}, {
|
|
2177
2180
|
readonly internalType: "address";
|
|
2181
|
+
}, {
|
|
2178
2182
|
readonly name: "recipient";
|
|
2179
2183
|
readonly type: "address";
|
|
2184
|
+
readonly internalType: "address";
|
|
2180
2185
|
}, {
|
|
2181
|
-
readonly internalType: "uint128";
|
|
2182
2186
|
readonly name: "depositAmount";
|
|
2183
2187
|
readonly type: "uint128";
|
|
2188
|
+
readonly internalType: "uint128";
|
|
2184
2189
|
}, {
|
|
2185
|
-
readonly internalType: "bool";
|
|
2186
2190
|
readonly name: "cancelable";
|
|
2187
2191
|
readonly type: "bool";
|
|
2188
|
-
}, {
|
|
2189
2192
|
readonly internalType: "bool";
|
|
2193
|
+
}, {
|
|
2190
2194
|
readonly name: "transferable";
|
|
2191
2195
|
readonly type: "bool";
|
|
2196
|
+
readonly internalType: "bool";
|
|
2192
2197
|
}, {
|
|
2198
|
+
readonly name: "tranchesWithDuration";
|
|
2199
|
+
readonly type: "tuple[]";
|
|
2200
|
+
readonly internalType: "struct LockupTranched.TrancheWithDuration[]";
|
|
2193
2201
|
readonly components: readonly [{
|
|
2194
|
-
readonly internalType: "uint128";
|
|
2195
2202
|
readonly name: "amount";
|
|
2196
2203
|
readonly type: "uint128";
|
|
2204
|
+
readonly internalType: "uint128";
|
|
2197
2205
|
}, {
|
|
2198
|
-
readonly internalType: "uint40";
|
|
2199
2206
|
readonly name: "duration";
|
|
2200
2207
|
readonly type: "uint40";
|
|
2208
|
+
readonly internalType: "uint40";
|
|
2201
2209
|
}];
|
|
2202
|
-
readonly internalType: "struct LockupTranched.TrancheWithDuration[]";
|
|
2203
|
-
readonly name: "tranchesWithDuration";
|
|
2204
|
-
readonly type: "tuple[]";
|
|
2205
2210
|
}, {
|
|
2206
|
-
readonly internalType: "string";
|
|
2207
2211
|
readonly name: "shape";
|
|
2208
2212
|
readonly type: "string";
|
|
2213
|
+
readonly internalType: "string";
|
|
2209
2214
|
}];
|
|
2210
|
-
readonly internalType: "struct BatchLockup.CreateWithDurationsLT[]";
|
|
2211
|
-
readonly name: "batch";
|
|
2212
|
-
readonly type: "tuple[]";
|
|
2213
2215
|
}];
|
|
2214
|
-
readonly name: "createWithDurationsLT";
|
|
2215
2216
|
readonly outputs: readonly [{
|
|
2216
|
-
readonly internalType: "uint256[]";
|
|
2217
2217
|
readonly name: "streamIds";
|
|
2218
2218
|
readonly type: "uint256[]";
|
|
2219
|
+
readonly internalType: "uint256[]";
|
|
2219
2220
|
}];
|
|
2220
2221
|
readonly stateMutability: "nonpayable";
|
|
2221
|
-
readonly type: "function";
|
|
2222
2222
|
}, {
|
|
2223
|
+
readonly type: "function";
|
|
2224
|
+
readonly name: "createWithTimestampsLD";
|
|
2223
2225
|
readonly inputs: readonly [{
|
|
2224
|
-
readonly internalType: "contract ISablierLockup";
|
|
2225
2226
|
readonly name: "lockup";
|
|
2226
2227
|
readonly type: "address";
|
|
2228
|
+
readonly internalType: "contract ISablierLockup";
|
|
2227
2229
|
}, {
|
|
2228
|
-
readonly internalType: "contract IERC20";
|
|
2229
2230
|
readonly name: "token";
|
|
2230
2231
|
readonly type: "address";
|
|
2232
|
+
readonly internalType: "contract IERC20";
|
|
2231
2233
|
}, {
|
|
2234
|
+
readonly name: "batch";
|
|
2235
|
+
readonly type: "tuple[]";
|
|
2236
|
+
readonly internalType: "struct BatchLockup.CreateWithTimestampsLD[]";
|
|
2232
2237
|
readonly components: readonly [{
|
|
2233
|
-
readonly internalType: "address";
|
|
2234
2238
|
readonly name: "sender";
|
|
2235
2239
|
readonly type: "address";
|
|
2236
|
-
}, {
|
|
2237
2240
|
readonly internalType: "address";
|
|
2241
|
+
}, {
|
|
2238
2242
|
readonly name: "recipient";
|
|
2239
2243
|
readonly type: "address";
|
|
2244
|
+
readonly internalType: "address";
|
|
2240
2245
|
}, {
|
|
2241
|
-
readonly internalType: "uint128";
|
|
2242
2246
|
readonly name: "depositAmount";
|
|
2243
2247
|
readonly type: "uint128";
|
|
2248
|
+
readonly internalType: "uint128";
|
|
2244
2249
|
}, {
|
|
2245
|
-
readonly internalType: "bool";
|
|
2246
2250
|
readonly name: "cancelable";
|
|
2247
2251
|
readonly type: "bool";
|
|
2248
|
-
}, {
|
|
2249
2252
|
readonly internalType: "bool";
|
|
2253
|
+
}, {
|
|
2250
2254
|
readonly name: "transferable";
|
|
2251
2255
|
readonly type: "bool";
|
|
2256
|
+
readonly internalType: "bool";
|
|
2252
2257
|
}, {
|
|
2253
|
-
readonly internalType: "uint40";
|
|
2254
2258
|
readonly name: "startTime";
|
|
2255
2259
|
readonly type: "uint40";
|
|
2260
|
+
readonly internalType: "uint40";
|
|
2256
2261
|
}, {
|
|
2262
|
+
readonly name: "segments";
|
|
2263
|
+
readonly type: "tuple[]";
|
|
2264
|
+
readonly internalType: "struct LockupDynamic.Segment[]";
|
|
2257
2265
|
readonly components: readonly [{
|
|
2258
|
-
readonly internalType: "uint128";
|
|
2259
2266
|
readonly name: "amount";
|
|
2260
2267
|
readonly type: "uint128";
|
|
2268
|
+
readonly internalType: "uint128";
|
|
2261
2269
|
}, {
|
|
2262
|
-
readonly internalType: "UD2x18";
|
|
2263
2270
|
readonly name: "exponent";
|
|
2264
2271
|
readonly type: "uint64";
|
|
2272
|
+
readonly internalType: "UD2x18";
|
|
2265
2273
|
}, {
|
|
2266
|
-
readonly internalType: "uint40";
|
|
2267
2274
|
readonly name: "timestamp";
|
|
2268
2275
|
readonly type: "uint40";
|
|
2276
|
+
readonly internalType: "uint40";
|
|
2269
2277
|
}];
|
|
2270
|
-
readonly internalType: "struct LockupDynamic.Segment[]";
|
|
2271
|
-
readonly name: "segments";
|
|
2272
|
-
readonly type: "tuple[]";
|
|
2273
2278
|
}, {
|
|
2274
|
-
readonly internalType: "string";
|
|
2275
2279
|
readonly name: "shape";
|
|
2276
2280
|
readonly type: "string";
|
|
2281
|
+
readonly internalType: "string";
|
|
2277
2282
|
}];
|
|
2278
|
-
readonly internalType: "struct BatchLockup.CreateWithTimestampsLD[]";
|
|
2279
|
-
readonly name: "batch";
|
|
2280
|
-
readonly type: "tuple[]";
|
|
2281
2283
|
}];
|
|
2282
|
-
readonly name: "createWithTimestampsLD";
|
|
2283
2284
|
readonly outputs: readonly [{
|
|
2284
|
-
readonly internalType: "uint256[]";
|
|
2285
2285
|
readonly name: "streamIds";
|
|
2286
2286
|
readonly type: "uint256[]";
|
|
2287
|
+
readonly internalType: "uint256[]";
|
|
2287
2288
|
}];
|
|
2288
2289
|
readonly stateMutability: "nonpayable";
|
|
2289
|
-
readonly type: "function";
|
|
2290
2290
|
}, {
|
|
2291
|
+
readonly type: "function";
|
|
2292
|
+
readonly name: "createWithTimestampsLL";
|
|
2291
2293
|
readonly inputs: readonly [{
|
|
2292
|
-
readonly internalType: "contract ISablierLockup";
|
|
2293
2294
|
readonly name: "lockup";
|
|
2294
2295
|
readonly type: "address";
|
|
2296
|
+
readonly internalType: "contract ISablierLockup";
|
|
2295
2297
|
}, {
|
|
2296
|
-
readonly internalType: "contract IERC20";
|
|
2297
2298
|
readonly name: "token";
|
|
2298
2299
|
readonly type: "address";
|
|
2300
|
+
readonly internalType: "contract IERC20";
|
|
2299
2301
|
}, {
|
|
2302
|
+
readonly name: "batch";
|
|
2303
|
+
readonly type: "tuple[]";
|
|
2304
|
+
readonly internalType: "struct BatchLockup.CreateWithTimestampsLL[]";
|
|
2300
2305
|
readonly components: readonly [{
|
|
2301
|
-
readonly internalType: "address";
|
|
2302
2306
|
readonly name: "sender";
|
|
2303
2307
|
readonly type: "address";
|
|
2304
|
-
}, {
|
|
2305
2308
|
readonly internalType: "address";
|
|
2309
|
+
}, {
|
|
2306
2310
|
readonly name: "recipient";
|
|
2307
2311
|
readonly type: "address";
|
|
2312
|
+
readonly internalType: "address";
|
|
2308
2313
|
}, {
|
|
2309
|
-
readonly internalType: "uint128";
|
|
2310
2314
|
readonly name: "depositAmount";
|
|
2311
2315
|
readonly type: "uint128";
|
|
2316
|
+
readonly internalType: "uint128";
|
|
2312
2317
|
}, {
|
|
2313
|
-
readonly internalType: "bool";
|
|
2314
2318
|
readonly name: "cancelable";
|
|
2315
2319
|
readonly type: "bool";
|
|
2316
|
-
}, {
|
|
2317
2320
|
readonly internalType: "bool";
|
|
2321
|
+
}, {
|
|
2318
2322
|
readonly name: "transferable";
|
|
2319
2323
|
readonly type: "bool";
|
|
2324
|
+
readonly internalType: "bool";
|
|
2320
2325
|
}, {
|
|
2326
|
+
readonly name: "timestamps";
|
|
2327
|
+
readonly type: "tuple";
|
|
2328
|
+
readonly internalType: "struct Lockup.Timestamps";
|
|
2321
2329
|
readonly components: readonly [{
|
|
2322
|
-
readonly internalType: "uint40";
|
|
2323
2330
|
readonly name: "start";
|
|
2324
2331
|
readonly type: "uint40";
|
|
2325
|
-
}, {
|
|
2326
2332
|
readonly internalType: "uint40";
|
|
2333
|
+
}, {
|
|
2327
2334
|
readonly name: "end";
|
|
2328
2335
|
readonly type: "uint40";
|
|
2336
|
+
readonly internalType: "uint40";
|
|
2329
2337
|
}];
|
|
2330
|
-
readonly internalType: "struct Lockup.Timestamps";
|
|
2331
|
-
readonly name: "timestamps";
|
|
2332
|
-
readonly type: "tuple";
|
|
2333
2338
|
}, {
|
|
2334
|
-
readonly internalType: "uint40";
|
|
2335
2339
|
readonly name: "cliffTime";
|
|
2336
2340
|
readonly type: "uint40";
|
|
2341
|
+
readonly internalType: "uint40";
|
|
2337
2342
|
}, {
|
|
2343
|
+
readonly name: "unlockAmounts";
|
|
2344
|
+
readonly type: "tuple";
|
|
2345
|
+
readonly internalType: "struct LockupLinear.UnlockAmounts";
|
|
2338
2346
|
readonly components: readonly [{
|
|
2339
|
-
readonly internalType: "uint128";
|
|
2340
2347
|
readonly name: "start";
|
|
2341
2348
|
readonly type: "uint128";
|
|
2342
|
-
}, {
|
|
2343
2349
|
readonly internalType: "uint128";
|
|
2350
|
+
}, {
|
|
2344
2351
|
readonly name: "cliff";
|
|
2345
2352
|
readonly type: "uint128";
|
|
2353
|
+
readonly internalType: "uint128";
|
|
2346
2354
|
}];
|
|
2347
|
-
readonly internalType: "struct LockupLinear.UnlockAmounts";
|
|
2348
|
-
readonly name: "unlockAmounts";
|
|
2349
|
-
readonly type: "tuple";
|
|
2350
2355
|
}, {
|
|
2351
|
-
readonly internalType: "string";
|
|
2352
2356
|
readonly name: "shape";
|
|
2353
2357
|
readonly type: "string";
|
|
2358
|
+
readonly internalType: "string";
|
|
2354
2359
|
}];
|
|
2355
|
-
readonly internalType: "struct BatchLockup.CreateWithTimestampsLL[]";
|
|
2356
|
-
readonly name: "batch";
|
|
2357
|
-
readonly type: "tuple[]";
|
|
2358
2360
|
}];
|
|
2359
|
-
readonly name: "createWithTimestampsLL";
|
|
2360
2361
|
readonly outputs: readonly [{
|
|
2361
|
-
readonly internalType: "uint256[]";
|
|
2362
2362
|
readonly name: "streamIds";
|
|
2363
2363
|
readonly type: "uint256[]";
|
|
2364
|
+
readonly internalType: "uint256[]";
|
|
2364
2365
|
}];
|
|
2365
2366
|
readonly stateMutability: "nonpayable";
|
|
2366
|
-
readonly type: "function";
|
|
2367
2367
|
}, {
|
|
2368
|
+
readonly type: "function";
|
|
2369
|
+
readonly name: "createWithTimestampsLT";
|
|
2368
2370
|
readonly inputs: readonly [{
|
|
2369
|
-
readonly internalType: "contract ISablierLockup";
|
|
2370
2371
|
readonly name: "lockup";
|
|
2371
2372
|
readonly type: "address";
|
|
2373
|
+
readonly internalType: "contract ISablierLockup";
|
|
2372
2374
|
}, {
|
|
2373
|
-
readonly internalType: "contract IERC20";
|
|
2374
2375
|
readonly name: "token";
|
|
2375
2376
|
readonly type: "address";
|
|
2377
|
+
readonly internalType: "contract IERC20";
|
|
2376
2378
|
}, {
|
|
2379
|
+
readonly name: "batch";
|
|
2380
|
+
readonly type: "tuple[]";
|
|
2381
|
+
readonly internalType: "struct BatchLockup.CreateWithTimestampsLT[]";
|
|
2377
2382
|
readonly components: readonly [{
|
|
2378
|
-
readonly internalType: "address";
|
|
2379
2383
|
readonly name: "sender";
|
|
2380
2384
|
readonly type: "address";
|
|
2381
|
-
}, {
|
|
2382
2385
|
readonly internalType: "address";
|
|
2386
|
+
}, {
|
|
2383
2387
|
readonly name: "recipient";
|
|
2384
2388
|
readonly type: "address";
|
|
2389
|
+
readonly internalType: "address";
|
|
2385
2390
|
}, {
|
|
2386
|
-
readonly internalType: "uint128";
|
|
2387
2391
|
readonly name: "depositAmount";
|
|
2388
2392
|
readonly type: "uint128";
|
|
2393
|
+
readonly internalType: "uint128";
|
|
2389
2394
|
}, {
|
|
2390
|
-
readonly internalType: "bool";
|
|
2391
2395
|
readonly name: "cancelable";
|
|
2392
2396
|
readonly type: "bool";
|
|
2393
|
-
}, {
|
|
2394
2397
|
readonly internalType: "bool";
|
|
2398
|
+
}, {
|
|
2395
2399
|
readonly name: "transferable";
|
|
2396
2400
|
readonly type: "bool";
|
|
2401
|
+
readonly internalType: "bool";
|
|
2397
2402
|
}, {
|
|
2398
|
-
readonly internalType: "uint40";
|
|
2399
2403
|
readonly name: "startTime";
|
|
2400
2404
|
readonly type: "uint40";
|
|
2405
|
+
readonly internalType: "uint40";
|
|
2401
2406
|
}, {
|
|
2407
|
+
readonly name: "tranches";
|
|
2408
|
+
readonly type: "tuple[]";
|
|
2409
|
+
readonly internalType: "struct LockupTranched.Tranche[]";
|
|
2402
2410
|
readonly components: readonly [{
|
|
2403
|
-
readonly internalType: "uint128";
|
|
2404
2411
|
readonly name: "amount";
|
|
2405
2412
|
readonly type: "uint128";
|
|
2413
|
+
readonly internalType: "uint128";
|
|
2406
2414
|
}, {
|
|
2407
|
-
readonly internalType: "uint40";
|
|
2408
2415
|
readonly name: "timestamp";
|
|
2409
2416
|
readonly type: "uint40";
|
|
2417
|
+
readonly internalType: "uint40";
|
|
2410
2418
|
}];
|
|
2411
|
-
readonly internalType: "struct LockupTranched.Tranche[]";
|
|
2412
|
-
readonly name: "tranches";
|
|
2413
|
-
readonly type: "tuple[]";
|
|
2414
2419
|
}, {
|
|
2415
|
-
readonly internalType: "string";
|
|
2416
2420
|
readonly name: "shape";
|
|
2417
2421
|
readonly type: "string";
|
|
2422
|
+
readonly internalType: "string";
|
|
2418
2423
|
}];
|
|
2419
|
-
readonly internalType: "struct BatchLockup.CreateWithTimestampsLT[]";
|
|
2420
|
-
readonly name: "batch";
|
|
2421
|
-
readonly type: "tuple[]";
|
|
2422
2424
|
}];
|
|
2423
|
-
readonly name: "createWithTimestampsLT";
|
|
2424
2425
|
readonly outputs: readonly [{
|
|
2425
|
-
readonly internalType: "uint256[]";
|
|
2426
2426
|
readonly name: "streamIds";
|
|
2427
2427
|
readonly type: "uint256[]";
|
|
2428
|
+
readonly internalType: "uint256[]";
|
|
2428
2429
|
}];
|
|
2429
2430
|
readonly stateMutability: "nonpayable";
|
|
2430
|
-
readonly type: "function";
|
|
2431
2431
|
}, {
|
|
2432
|
-
readonly
|
|
2432
|
+
readonly type: "event";
|
|
2433
|
+
readonly name: "CreateLockupBatch";
|
|
2433
2434
|
readonly inputs: readonly [{
|
|
2434
|
-
readonly indexed: true;
|
|
2435
|
-
readonly internalType: "address";
|
|
2436
2435
|
readonly name: "funder";
|
|
2437
2436
|
readonly type: "address";
|
|
2438
|
-
}, {
|
|
2439
2437
|
readonly indexed: true;
|
|
2440
|
-
readonly internalType: "
|
|
2438
|
+
readonly internalType: "address";
|
|
2439
|
+
}, {
|
|
2441
2440
|
readonly name: "lockup";
|
|
2442
2441
|
readonly type: "address";
|
|
2442
|
+
readonly indexed: true;
|
|
2443
|
+
readonly internalType: "contract ISablierLockup";
|
|
2443
2444
|
}, {
|
|
2444
|
-
readonly indexed: false;
|
|
2445
|
-
readonly internalType: "uint256[]";
|
|
2446
2445
|
readonly name: "streamIds";
|
|
2447
2446
|
readonly type: "uint256[]";
|
|
2447
|
+
readonly indexed: false;
|
|
2448
|
+
readonly internalType: "uint256[]";
|
|
2448
2449
|
}];
|
|
2449
|
-
readonly
|
|
2450
|
-
readonly type: "event";
|
|
2450
|
+
readonly anonymous: false;
|
|
2451
2451
|
}, {
|
|
2452
|
-
readonly inputs: readonly [];
|
|
2453
|
-
readonly name: "SablierBatchLockup_BatchSizeZero";
|
|
2454
2452
|
readonly type: "error";
|
|
2453
|
+
readonly name: "SablierBatchLockup_BatchSizeZero";
|
|
2454
|
+
readonly inputs: readonly [];
|
|
2455
2455
|
}, {
|
|
2456
|
+
readonly type: "error";
|
|
2457
|
+
readonly name: "SafeERC20FailedOperation";
|
|
2456
2458
|
readonly inputs: readonly [{
|
|
2457
|
-
readonly internalType: "address";
|
|
2458
2459
|
readonly name: "token";
|
|
2459
2460
|
readonly type: "address";
|
|
2461
|
+
readonly internalType: "address";
|
|
2460
2462
|
}];
|
|
2461
|
-
readonly name: "SafeERC20FailedOperation";
|
|
2462
|
-
readonly type: "error";
|
|
2463
2463
|
}];
|
|
2464
2464
|
}>;
|
|
2465
2465
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [
|
|
4
|
-
{ "internalType": "address", "name": "implementation", "type": "address" },
|
|
5
|
-
{ "internalType": "bytes", "name": "_data", "type": "bytes" }
|
|
6
|
-
],
|
|
7
|
-
"stateMutability": "payable",
|
|
8
|
-
"type": "constructor"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"inputs": [{ "internalType": "address", "name": "target", "type": "address" }],
|
|
12
|
-
"name": "AddressEmptyCode",
|
|
13
|
-
"type": "error"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"inputs": [{ "internalType": "address", "name": "implementation", "type": "address" }],
|
|
17
|
-
"name": "ERC1967InvalidImplementation",
|
|
18
|
-
"type": "error"
|
|
19
|
-
},
|
|
20
|
-
{ "inputs": [], "name": "ERC1967NonPayable", "type": "error" },
|
|
21
|
-
{ "inputs": [], "name": "FailedCall", "type": "error" },
|
|
22
|
-
{
|
|
23
|
-
"anonymous": false,
|
|
24
|
-
"inputs": [
|
|
25
|
-
{ "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }
|
|
26
|
-
],
|
|
27
|
-
"name": "Upgraded",
|
|
28
|
-
"type": "event"
|
|
29
|
-
},
|
|
30
|
-
{ "stateMutability": "payable", "type": "fallback" }
|
|
31
|
-
]
|