sablier 3.3.4 → 3.4.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.
- package/CHANGELOG.md +30 -0
- package/abi/bob/v1.0/BobVaultShare.json +199 -0
- package/dist/cjs/evm/helpers.js +11 -15
- package/dist/cjs/evm/helpers.js.map +1 -1
- package/dist/cjs/evm/releases/bob/v1.0/abi/BobVaultShare.js +203 -0
- package/dist/cjs/evm/releases/bob/v1.0/abi/BobVaultShare.js.map +1 -0
- package/dist/cjs/evm/releases/bob/v1.0/abi.js +2 -0
- package/dist/cjs/evm/releases/bob/v1.0/abi.js.map +1 -1
- package/dist/cjs/evm/releases/bob/v1.0/aliases.js +1 -0
- package/dist/cjs/evm/releases/bob/v1.0/aliases.js.map +1 -1
- package/dist/cjs/evm/releases/bob/v1.0/manifest.js +1 -0
- package/dist/cjs/evm/releases/bob/v1.0/manifest.js.map +1 -1
- package/dist/cjs/evm/releases/features.js +118 -0
- package/dist/cjs/evm/releases/features.js.map +1 -0
- package/dist/cjs/evm/releases/resolvers.js +3 -0
- package/dist/cjs/evm/releases/resolvers.js.map +1 -1
- package/dist/cjs/evm/types.js.map +1 -1
- package/dist/cjs/helpers.js +8 -2
- package/dist/cjs/helpers.js.map +1 -1
- package/dist/esm/evm/helpers.js +2 -15
- package/dist/esm/evm/helpers.js.map +1 -1
- package/dist/esm/evm/releases/bob/v1.0/abi/BobVaultShare.js +200 -0
- package/dist/esm/evm/releases/bob/v1.0/abi/BobVaultShare.js.map +1 -0
- package/dist/esm/evm/releases/bob/v1.0/abi.js +2 -0
- package/dist/esm/evm/releases/bob/v1.0/abi.js.map +1 -1
- package/dist/esm/evm/releases/bob/v1.0/aliases.js +1 -0
- package/dist/esm/evm/releases/bob/v1.0/aliases.js.map +1 -1
- package/dist/esm/evm/releases/bob/v1.0/manifest.js +1 -0
- package/dist/esm/evm/releases/bob/v1.0/manifest.js.map +1 -1
- package/dist/esm/evm/releases/features.js +105 -0
- package/dist/esm/evm/releases/features.js.map +1 -0
- package/dist/esm/evm/releases/resolvers.js +3 -0
- package/dist/esm/evm/releases/resolvers.js.map +1 -1
- package/dist/esm/evm/types.js.map +1 -1
- package/dist/esm/helpers.js +8 -2
- package/dist/esm/helpers.js.map +1 -1
- package/dist/types/evm/contracts/index.d.ts +1 -0
- package/dist/types/evm/contracts/index.d.ts.map +1 -1
- package/dist/types/evm/helpers.d.ts +2 -9
- package/dist/types/evm/helpers.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/index.d.ts +14637 -14567
- package/dist/types/evm/releases/airdrops/index.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v1.1/index.d.ts +650 -636
- package/dist/types/evm/releases/airdrops/v1.1/index.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v1.2/index.d.ts +1313 -1299
- package/dist/types/evm/releases/airdrops/v1.2/index.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v1.3/index.d.ts +2855 -2841
- package/dist/types/evm/releases/airdrops/v1.3/index.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v2.0/index.d.ts +4190 -4176
- package/dist/types/evm/releases/airdrops/v2.0/index.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/index.d.ts +5564 -5550
- package/dist/types/evm/releases/airdrops/v3.0/index.d.ts.map +1 -1
- package/dist/types/evm/releases/bob/index.d.ts +2606 -2253
- package/dist/types/evm/releases/bob/index.d.ts.map +1 -1
- package/dist/types/evm/releases/bob/v1.0/abi/BobVaultShare.d.ts +340 -0
- package/dist/types/evm/releases/bob/v1.0/abi/BobVaultShare.d.ts.map +1 -0
- package/dist/types/evm/releases/bob/v1.0/abi.d.ts +339 -0
- package/dist/types/evm/releases/bob/v1.0/abi.d.ts.map +1 -1
- package/dist/types/evm/releases/bob/v1.0/aliases.d.ts +1 -0
- package/dist/types/evm/releases/bob/v1.0/aliases.d.ts.map +1 -1
- package/dist/types/evm/releases/bob/v1.0/index.d.ts +2606 -2253
- package/dist/types/evm/releases/bob/v1.0/index.d.ts.map +1 -1
- package/dist/types/evm/releases/bob/v1.0/manifest.d.ts +1 -0
- package/dist/types/evm/releases/bob/v1.0/manifest.d.ts.map +1 -1
- package/dist/types/evm/releases/features.d.ts +123 -0
- package/dist/types/evm/releases/features.d.ts.map +1 -0
- package/dist/types/evm/releases/flow/index.d.ts +7040 -6984
- package/dist/types/evm/releases/flow/index.d.ts.map +1 -1
- package/dist/types/evm/releases/flow/v1.0/index.d.ts +1781 -1767
- package/dist/types/evm/releases/flow/v1.0/index.d.ts.map +1 -1
- package/dist/types/evm/releases/flow/v1.1/index.d.ts +1813 -1799
- package/dist/types/evm/releases/flow/v1.1/index.d.ts.map +1 -1
- package/dist/types/evm/releases/flow/v2.0/index.d.ts +1717 -1703
- package/dist/types/evm/releases/flow/v2.0/index.d.ts.map +1 -1
- package/dist/types/evm/releases/flow/v3.0/index.d.ts +1701 -1687
- package/dist/types/evm/releases/flow/v3.0/index.d.ts.map +1 -1
- package/dist/types/evm/releases/legacy/index.d.ts +1508 -1480
- package/dist/types/evm/releases/legacy/index.d.ts.map +1 -1
- package/dist/types/evm/releases/legacy/v1.0/index.d.ts +1236 -1222
- package/dist/types/evm/releases/legacy/v1.0/index.d.ts.map +1 -1
- package/dist/types/evm/releases/legacy/v1.1/index.d.ts +261 -247
- package/dist/types/evm/releases/legacy/v1.1/index.d.ts.map +1 -1
- package/dist/types/evm/releases/lockup/index.d.ts +20544 -20460
- package/dist/types/evm/releases/lockup/index.d.ts.map +1 -1
- package/dist/types/evm/releases/lockup/v1.0/index.d.ts +3846 -3832
- package/dist/types/evm/releases/lockup/v1.0/index.d.ts.map +1 -1
- package/dist/types/evm/releases/lockup/v1.1/index.d.ts +3997 -3983
- package/dist/types/evm/releases/lockup/v1.1/index.d.ts.map +1 -1
- package/dist/types/evm/releases/lockup/v1.2/index.d.ts +5791 -5777
- package/dist/types/evm/releases/lockup/v1.2/index.d.ts.map +1 -1
- package/dist/types/evm/releases/lockup/v2.0/index.d.ts +2347 -2333
- package/dist/types/evm/releases/lockup/v2.0/index.d.ts.map +1 -1
- package/dist/types/evm/releases/lockup/v3.0/index.d.ts +2220 -2206
- package/dist/types/evm/releases/lockup/v3.0/index.d.ts.map +1 -1
- package/dist/types/evm/releases/lockup/v4.0/index.d.ts +2477 -2463
- package/dist/types/evm/releases/lockup/v4.0/index.d.ts.map +1 -1
- package/dist/types/evm/releases/resolvers.d.ts +13 -3
- package/dist/types/evm/releases/resolvers.d.ts.map +1 -1
- package/dist/types/evm/types.d.ts +20 -3
- package/dist/types/evm/types.d.ts.map +1 -1
- package/dist/types/helpers.d.ts +2 -0
- package/dist/types/helpers.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,8 @@ The format is based on [Common Changelog](https://common-changelog.org/).
|
|
|
9
9
|
> Starting with v2.0.0, this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). In v1.x, it
|
|
10
10
|
> did not always follow Semantic Versioning.
|
|
11
11
|
|
|
12
|
+
[3.4.0]: https://github.com/sablier-labs/sdk/releases/tag/v3.4.0
|
|
13
|
+
[3.3.5]: https://github.com/sablier-labs/sdk/releases/tag/v3.3.5
|
|
12
14
|
[3.3.4]: https://github.com/sablier-labs/sdk/releases/tag/v3.3.4
|
|
13
15
|
[3.3.3]: https://github.com/sablier-labs/sdk/releases/tag/v3.3.3
|
|
14
16
|
[3.3.2]: https://github.com/sablier-labs/sdk/releases/tag/v3.3.2
|
|
@@ -38,6 +40,34 @@ The format is based on [Common Changelog](https://common-changelog.org/).
|
|
|
38
40
|
[1.1.0]: https://github.com/sablier-labs/sdk/releases/tag/v1.1.0
|
|
39
41
|
[1.0.0]: https://github.com/sablier-labs/sdk/releases/tag/v1.0.0
|
|
40
42
|
|
|
43
|
+
## [3.4.0] - 2026-04-07
|
|
44
|
+
|
|
45
|
+
### Added
|
|
46
|
+
|
|
47
|
+
- Add release feature registry with per-protocol capability matrices for Airdrops, Flow, and Lockup
|
|
48
|
+
([#169](https://github.com/sablier-labs/sdk/pull/169))
|
|
49
|
+
- Add `features` field to all release objects, populated automatically by release resolvers
|
|
50
|
+
([#169](https://github.com/sablier-labs/sdk/pull/169))
|
|
51
|
+
- Add protocol-specific feature accessors: `getAirdropsReleaseFeatures`, `getFlowReleaseFeatures`,
|
|
52
|
+
`getLockupReleaseFeatures` ([#169](https://github.com/sablier-labs/sdk/pull/169))
|
|
53
|
+
- Add feature query helpers: `hasClaimTo`, `hasSponsor`, `supportsLockupBatch`, `supportsLockupPrbProxy`,
|
|
54
|
+
`usesLockupSplit` ([#169](https://github.com/sablier-labs/sdk/pull/169))
|
|
55
|
+
- Add release object overload for `isReleasePayable` and `isEvmReleasePayable`
|
|
56
|
+
([#169](https://github.com/sablier-labs/sdk/pull/169))
|
|
57
|
+
|
|
58
|
+
### Changed
|
|
59
|
+
|
|
60
|
+
- Refactor `isEvmReleasePayable` to read from the feature registry instead of hard-coded version comparisons
|
|
61
|
+
([#169](https://github.com/sablier-labs/sdk/pull/169))
|
|
62
|
+
- Deprecate two-argument `isEvmReleasePayable(protocol, version)` in favor of `isEvmReleasePayable(release)`
|
|
63
|
+
([#169](https://github.com/sablier-labs/sdk/pull/169))
|
|
64
|
+
|
|
65
|
+
## [3.3.5] - 2026-03-25
|
|
66
|
+
|
|
67
|
+
### Fixed
|
|
68
|
+
|
|
69
|
+
- Add missing `BobVaultShare` ABI from Bob v1.0 release ([#168](https://github.com/sablier-labs/sdk/pull/168))
|
|
70
|
+
|
|
41
71
|
## [3.3.4] - 2026-03-25
|
|
42
72
|
|
|
43
73
|
### Fixed
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "constructor",
|
|
4
|
+
"inputs": [
|
|
5
|
+
{ "name": "name_", "type": "string", "internalType": "string" },
|
|
6
|
+
{ "name": "symbol_", "type": "string", "internalType": "string" },
|
|
7
|
+
{ "name": "decimals_", "type": "uint8", "internalType": "uint8" },
|
|
8
|
+
{ "name": "sablierBob", "type": "address", "internalType": "address" },
|
|
9
|
+
{ "name": "vaultId", "type": "uint256", "internalType": "uint256" }
|
|
10
|
+
],
|
|
11
|
+
"stateMutability": "nonpayable"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "function",
|
|
15
|
+
"name": "SABLIER_BOB",
|
|
16
|
+
"inputs": [],
|
|
17
|
+
"outputs": [{ "name": "", "type": "address", "internalType": "address" }],
|
|
18
|
+
"stateMutability": "view"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "function",
|
|
22
|
+
"name": "VAULT_ID",
|
|
23
|
+
"inputs": [],
|
|
24
|
+
"outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
|
|
25
|
+
"stateMutability": "view"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "function",
|
|
29
|
+
"name": "allowance",
|
|
30
|
+
"inputs": [
|
|
31
|
+
{ "name": "owner", "type": "address", "internalType": "address" },
|
|
32
|
+
{ "name": "spender", "type": "address", "internalType": "address" }
|
|
33
|
+
],
|
|
34
|
+
"outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
|
|
35
|
+
"stateMutability": "view"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "function",
|
|
39
|
+
"name": "approve",
|
|
40
|
+
"inputs": [
|
|
41
|
+
{ "name": "spender", "type": "address", "internalType": "address" },
|
|
42
|
+
{ "name": "value", "type": "uint256", "internalType": "uint256" }
|
|
43
|
+
],
|
|
44
|
+
"outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
|
|
45
|
+
"stateMutability": "nonpayable"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "function",
|
|
49
|
+
"name": "balanceOf",
|
|
50
|
+
"inputs": [{ "name": "account", "type": "address", "internalType": "address" }],
|
|
51
|
+
"outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
|
|
52
|
+
"stateMutability": "view"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "function",
|
|
56
|
+
"name": "burn",
|
|
57
|
+
"inputs": [
|
|
58
|
+
{ "name": "vaultId", "type": "uint256", "internalType": "uint256" },
|
|
59
|
+
{ "name": "from", "type": "address", "internalType": "address" },
|
|
60
|
+
{ "name": "amount", "type": "uint256", "internalType": "uint256" }
|
|
61
|
+
],
|
|
62
|
+
"outputs": [],
|
|
63
|
+
"stateMutability": "nonpayable"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "function",
|
|
67
|
+
"name": "decimals",
|
|
68
|
+
"inputs": [],
|
|
69
|
+
"outputs": [{ "name": "", "type": "uint8", "internalType": "uint8" }],
|
|
70
|
+
"stateMutability": "view"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "function",
|
|
74
|
+
"name": "mint",
|
|
75
|
+
"inputs": [
|
|
76
|
+
{ "name": "vaultId", "type": "uint256", "internalType": "uint256" },
|
|
77
|
+
{ "name": "to", "type": "address", "internalType": "address" },
|
|
78
|
+
{ "name": "amount", "type": "uint256", "internalType": "uint256" }
|
|
79
|
+
],
|
|
80
|
+
"outputs": [],
|
|
81
|
+
"stateMutability": "nonpayable"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"type": "function",
|
|
85
|
+
"name": "name",
|
|
86
|
+
"inputs": [],
|
|
87
|
+
"outputs": [{ "name": "", "type": "string", "internalType": "string" }],
|
|
88
|
+
"stateMutability": "view"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"type": "function",
|
|
92
|
+
"name": "symbol",
|
|
93
|
+
"inputs": [],
|
|
94
|
+
"outputs": [{ "name": "", "type": "string", "internalType": "string" }],
|
|
95
|
+
"stateMutability": "view"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "function",
|
|
99
|
+
"name": "totalSupply",
|
|
100
|
+
"inputs": [],
|
|
101
|
+
"outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
|
|
102
|
+
"stateMutability": "view"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "function",
|
|
106
|
+
"name": "transfer",
|
|
107
|
+
"inputs": [
|
|
108
|
+
{ "name": "to", "type": "address", "internalType": "address" },
|
|
109
|
+
{ "name": "value", "type": "uint256", "internalType": "uint256" }
|
|
110
|
+
],
|
|
111
|
+
"outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
|
|
112
|
+
"stateMutability": "nonpayable"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"type": "function",
|
|
116
|
+
"name": "transferFrom",
|
|
117
|
+
"inputs": [
|
|
118
|
+
{ "name": "from", "type": "address", "internalType": "address" },
|
|
119
|
+
{ "name": "to", "type": "address", "internalType": "address" },
|
|
120
|
+
{ "name": "value", "type": "uint256", "internalType": "uint256" }
|
|
121
|
+
],
|
|
122
|
+
"outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
|
|
123
|
+
"stateMutability": "nonpayable"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type": "event",
|
|
127
|
+
"name": "Approval",
|
|
128
|
+
"inputs": [
|
|
129
|
+
{ "name": "owner", "type": "address", "indexed": true, "internalType": "address" },
|
|
130
|
+
{ "name": "spender", "type": "address", "indexed": true, "internalType": "address" },
|
|
131
|
+
{ "name": "value", "type": "uint256", "indexed": false, "internalType": "uint256" }
|
|
132
|
+
],
|
|
133
|
+
"anonymous": false
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "event",
|
|
137
|
+
"name": "Transfer",
|
|
138
|
+
"inputs": [
|
|
139
|
+
{ "name": "from", "type": "address", "indexed": true, "internalType": "address" },
|
|
140
|
+
{ "name": "to", "type": "address", "indexed": true, "internalType": "address" },
|
|
141
|
+
{ "name": "value", "type": "uint256", "indexed": false, "internalType": "uint256" }
|
|
142
|
+
],
|
|
143
|
+
"anonymous": false
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"type": "error",
|
|
147
|
+
"name": "BobVaultShare_OnlySablierBob",
|
|
148
|
+
"inputs": [
|
|
149
|
+
{ "name": "caller", "type": "address", "internalType": "address" },
|
|
150
|
+
{ "name": "expectedCaller", "type": "address", "internalType": "address" }
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"type": "error",
|
|
155
|
+
"name": "BobVaultShare_VaultIdMismatch",
|
|
156
|
+
"inputs": [
|
|
157
|
+
{ "name": "providedVaultId", "type": "uint256", "internalType": "uint256" },
|
|
158
|
+
{ "name": "expectedVaultId", "type": "uint256", "internalType": "uint256" }
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"type": "error",
|
|
163
|
+
"name": "ERC20InsufficientAllowance",
|
|
164
|
+
"inputs": [
|
|
165
|
+
{ "name": "spender", "type": "address", "internalType": "address" },
|
|
166
|
+
{ "name": "allowance", "type": "uint256", "internalType": "uint256" },
|
|
167
|
+
{ "name": "needed", "type": "uint256", "internalType": "uint256" }
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"type": "error",
|
|
172
|
+
"name": "ERC20InsufficientBalance",
|
|
173
|
+
"inputs": [
|
|
174
|
+
{ "name": "sender", "type": "address", "internalType": "address" },
|
|
175
|
+
{ "name": "balance", "type": "uint256", "internalType": "uint256" },
|
|
176
|
+
{ "name": "needed", "type": "uint256", "internalType": "uint256" }
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"type": "error",
|
|
181
|
+
"name": "ERC20InvalidApprover",
|
|
182
|
+
"inputs": [{ "name": "approver", "type": "address", "internalType": "address" }]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"type": "error",
|
|
186
|
+
"name": "ERC20InvalidReceiver",
|
|
187
|
+
"inputs": [{ "name": "receiver", "type": "address", "internalType": "address" }]
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"type": "error",
|
|
191
|
+
"name": "ERC20InvalidSender",
|
|
192
|
+
"inputs": [{ "name": "sender", "type": "address", "internalType": "address" }]
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"type": "error",
|
|
196
|
+
"name": "ERC20InvalidSpender",
|
|
197
|
+
"inputs": [{ "name": "spender", "type": "address", "internalType": "address" }]
|
|
198
|
+
}
|
|
199
|
+
]
|
package/dist/cjs/evm/helpers.js
CHANGED
|
@@ -1,30 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.usesLockupSplit = exports.supportsLockupPrbProxy = exports.supportsLockupBatch = exports.isEvmReleasePayable = exports.hasSponsor = exports.hasClaimTo = exports.getLockupReleaseFeatures = exports.getFlowReleaseFeatures = exports.getAirdropsReleaseFeatures = void 0;
|
|
3
4
|
exports.getContractExplorerURL = getContractExplorerURL;
|
|
4
|
-
exports.isEvmReleasePayable = isEvmReleasePayable;
|
|
5
5
|
exports.resolveEvmStreamId = resolveEvmStreamId;
|
|
6
6
|
exports.resolveEvmContractByAlias = resolveEvmContractByAlias;
|
|
7
7
|
exports.truncateEvmAddress = truncateEvmAddress;
|
|
8
8
|
const explorer_url_js_1 = require("../internal/utils/explorer-url.js");
|
|
9
9
|
const alias_catalog_js_1 = require("./contracts/alias-catalog.js");
|
|
10
10
|
const enums_js_1 = require("./enums.js");
|
|
11
|
+
var features_js_1 = require("./releases/features.js");
|
|
12
|
+
Object.defineProperty(exports, "getAirdropsReleaseFeatures", { enumerable: true, get: function () { return features_js_1.getAirdropsReleaseFeatures; } });
|
|
13
|
+
Object.defineProperty(exports, "getFlowReleaseFeatures", { enumerable: true, get: function () { return features_js_1.getFlowReleaseFeatures; } });
|
|
14
|
+
Object.defineProperty(exports, "getLockupReleaseFeatures", { enumerable: true, get: function () { return features_js_1.getLockupReleaseFeatures; } });
|
|
15
|
+
Object.defineProperty(exports, "hasClaimTo", { enumerable: true, get: function () { return features_js_1.hasClaimTo; } });
|
|
16
|
+
Object.defineProperty(exports, "hasSponsor", { enumerable: true, get: function () { return features_js_1.hasSponsor; } });
|
|
17
|
+
Object.defineProperty(exports, "isEvmReleasePayable", { enumerable: true, get: function () { return features_js_1.isEvmReleasePayable; } });
|
|
18
|
+
Object.defineProperty(exports, "supportsLockupBatch", { enumerable: true, get: function () { return features_js_1.supportsLockupBatch; } });
|
|
19
|
+
Object.defineProperty(exports, "supportsLockupPrbProxy", { enumerable: true, get: function () { return features_js_1.supportsLockupPrbProxy; } });
|
|
20
|
+
Object.defineProperty(exports, "usesLockupSplit", { enumerable: true, get: function () { return features_js_1.usesLockupSplit; } });
|
|
11
21
|
function getContractExplorerURL(explorerURL, contractAddress) {
|
|
12
22
|
return (0, explorer_url_js_1.getContractExplorerURL)(explorerURL, contractAddress);
|
|
13
23
|
}
|
|
14
|
-
const MIN_PAYABLE_VERSIONS = {
|
|
15
|
-
airdrops: enums_js_1.Version.Airdrops.V1_3,
|
|
16
|
-
flow: enums_js_1.Version.Flow.V1_1,
|
|
17
|
-
lockup: enums_js_1.Version.Lockup.V2_0,
|
|
18
|
-
};
|
|
19
|
-
function isEvmReleasePayable(protocol, version) {
|
|
20
|
-
const minVersion = MIN_PAYABLE_VERSIONS[protocol];
|
|
21
|
-
const [vMajor, vMinor] = version.slice(1).split(".").map(Number);
|
|
22
|
-
const [mMajor, mMinor] = minVersion.slice(1).split(".").map(Number);
|
|
23
|
-
if (vMajor !== mMajor) {
|
|
24
|
-
return vMajor > mMajor;
|
|
25
|
-
}
|
|
26
|
-
return vMinor >= mMinor;
|
|
27
|
-
}
|
|
28
24
|
function resolveEvmStreamId(opts) {
|
|
29
25
|
const { alias, chainId, tokenId, protocol } = opts;
|
|
30
26
|
const contract = resolveEvmContractByAlias({ alias, chainId, protocol });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../src/evm/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B,CAAC;IAED,MAAM,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC;IAC3C,MAAM,MAAM,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC;IAEpD,OAAO,GAAG,MAAM,MAAM,MAAM,EAAE,CAAC;AACjC,CAAC","sourcesContent":["import { getContractExplorerURL as getContractExplorerURLInternal } from \"@/src/internal/utils/explorer-url.js\";\nimport type { Sablier, TruncateAddressOptions } from \"@/src/types.js\";\nimport { getAliasCatalog } from \"./contracts/alias-catalog.js\";\nimport { Protocol } from \"./enums.js\";\n\nexport type { PayableEvmProtocol } from \"./releases/features.js\";\nexport {\n getAirdropsReleaseFeatures,\n getFlowReleaseFeatures,\n getLockupReleaseFeatures,\n hasClaimTo,\n hasSponsor,\n isEvmReleasePayable,\n supportsLockupBatch,\n supportsLockupPrbProxy,\n usesLockupSplit,\n} from \"./releases/features.js\";\n\n/**\n * Get the explorer URL for a contract. Compatible with Etherscan, Blockscout, etc.\n * @param explorerURL - The base explorer URL, e.g. https://etherscan.io\n * @param contractAddress - The contract object\n * @returns The explorer URL for the contract, e.g. https://etherscan.io/address/0x123...\n */\nexport function getContractExplorerURL(explorerURL: string, contractAddress: Sablier.EVM.Address) {\n return getContractExplorerURLInternal(explorerURL, contractAddress);\n}\n\n/**\n * Constructs a stream/airdrop entity ID for EVM chains in the format used by Sablier indexers.\n * Format: `{contractAddress}-{chainId}-{tokenId}`\n *\n * The contract address is lowercased for normalization, as EVM addresses are case-insensitive.\n *\n * @param opts - Configuration object\n * @param opts.alias - Contract alias (e.g., \"LL2\", \"LK2\", \"FL2\")\n * @param opts.chainId - Chain ID where the contract is deployed\n * @param opts.tokenId - Stream/airdrop token ID\n * @param opts.protocol - Optional protocol to disambiguate aliases\n * @returns Stream ID in format \"0xabc...-1-123\"\n * @example\n * resolveEvmStreamId({ alias: \"LL2\", chainId: 1, tokenId: 123n })\n * // => \"0xabc...-1-123\"\n */\nexport function resolveEvmStreamId(opts: {\n alias: string;\n chainId: number;\n tokenId: bigint | string | number;\n protocol?: Sablier.EVM.Protocol;\n}): string {\n const { alias, chainId, tokenId, protocol } = opts;\n\n const contract = resolveEvmContractByAlias({ alias, chainId, protocol });\n return `${contract.address.toLowerCase()}-${chainId}-${tokenId}`;\n}\n\n/**\n * Resolves an EVM contract by its alias from the alias catalog.\n *\n * @param opts - Configuration object\n * @param opts.alias - Contract alias (e.g., \"LL2\", \"LK2\", \"FL2\")\n * @param opts.chainId - Chain ID where the contract is deployed\n * @param opts.protocol - Optional protocol to disambiguate aliases that exist in multiple protocols\n * @returns The resolved contract\n * @throws Error if alias is not found or is ambiguous without protocol specified\n * @example\n * resolveEvmContractByAlias({ alias: \"LL2\", chainId: 1 })\n * // => { address: \"0x...\", name: \"SablierLockupLinear\", ... }\n */\nexport function resolveEvmContractByAlias(opts: {\n alias: string;\n chainId: number;\n protocol?: Sablier.EVM.Protocol;\n}): Sablier.EVM.Contract {\n const { alias, chainId, protocol } = opts;\n const aliasCatalog = getAliasCatalog();\n\n if (protocol) {\n const contract = aliasCatalog[protocol]?.[chainId]?.[alias];\n if (!contract) {\n throw new Error(\n `Sablier SDK: Unknown EVM contract alias \"${alias}\" on chain ${chainId} for protocol \"${protocol}\"`\n );\n }\n return contract;\n }\n\n const protocols: Sablier.EVM.Protocol[] = [\n Protocol.Airdrops,\n Protocol.Bob,\n Protocol.Flow,\n Protocol.Legacy,\n Protocol.Lockup,\n ];\n\n const matches = protocols\n .map((p) => aliasCatalog[p]?.[chainId]?.[alias])\n .filter(Boolean) as Sablier.EVM.Contract[];\n\n if (matches.length === 0) {\n throw new Error(`Sablier SDK: Unknown EVM contract alias \"${alias}\" on chain ${chainId}`);\n }\n\n if (matches.length > 1) {\n throw new Error(\n `Sablier SDK: Ambiguous EVM contract alias \"${alias}\" on chain ${chainId}; specify protocol`\n );\n }\n\n return matches[0];\n}\n\n/**\n * Truncate an Ethereum address for display purposes.\n * @param address - The Ethereum address to truncate (0x-prefixed)\n * @param options - Truncation options with start/end character counts (default: 4 each, must be >= 1)\n * @returns Truncated address in format \"0xcafe...beef\" or original if too short\n * @example\n * truncateEvmAddress(\"0x1234567890abcdef1234567890abcdef12345678\") // \"0x1234...5678\"\n * truncateEvmAddress(\"0x1234567890abcdef1234567890abcdef12345678\", { start: 6, end: 6 }) // \"0x123456...345678\"\n * truncateEvmAddress(\"0x1234567890abcdef1234567890abcdef12345678\", { start: 2, end: 6 }) // \"0x12...345678\"\n * truncateEvmAddress(\"0x123\") // \"0x123\" (too short, returns original)\n */\nexport function truncateEvmAddress(\n address: Sablier.EVM.Address,\n options?: TruncateAddressOptions\n): string {\n if (!address) {\n return address;\n }\n\n const start = options?.start ?? 4;\n const end = options?.end ?? 4;\n const minLength = 2 + start + end;\n\n if (address.length <= minLength) {\n return address;\n }\n\n const prefix = address.slice(0, 2 + start);\n const suffix = end === 0 ? \"\" : address.slice(-end);\n\n return `${prefix}...${suffix}`;\n}\n"]}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bobVaultShareAbi = void 0;
|
|
4
|
+
exports.bobVaultShareAbi = [
|
|
5
|
+
{
|
|
6
|
+
type: "constructor",
|
|
7
|
+
inputs: [
|
|
8
|
+
{ name: "name_", type: "string", internalType: "string" },
|
|
9
|
+
{ name: "symbol_", type: "string", internalType: "string" },
|
|
10
|
+
{ name: "decimals_", type: "uint8", internalType: "uint8" },
|
|
11
|
+
{ name: "sablierBob", type: "address", internalType: "address" },
|
|
12
|
+
{ name: "vaultId", type: "uint256", internalType: "uint256" },
|
|
13
|
+
],
|
|
14
|
+
stateMutability: "nonpayable",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
type: "function",
|
|
18
|
+
name: "SABLIER_BOB",
|
|
19
|
+
inputs: [],
|
|
20
|
+
outputs: [{ name: "", type: "address", internalType: "address" }],
|
|
21
|
+
stateMutability: "view",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
type: "function",
|
|
25
|
+
name: "VAULT_ID",
|
|
26
|
+
inputs: [],
|
|
27
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
28
|
+
stateMutability: "view",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
type: "function",
|
|
32
|
+
name: "allowance",
|
|
33
|
+
inputs: [
|
|
34
|
+
{ name: "owner", type: "address", internalType: "address" },
|
|
35
|
+
{ name: "spender", type: "address", internalType: "address" },
|
|
36
|
+
],
|
|
37
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
38
|
+
stateMutability: "view",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
type: "function",
|
|
42
|
+
name: "approve",
|
|
43
|
+
inputs: [
|
|
44
|
+
{ name: "spender", type: "address", internalType: "address" },
|
|
45
|
+
{ name: "value", type: "uint256", internalType: "uint256" },
|
|
46
|
+
],
|
|
47
|
+
outputs: [{ name: "", type: "bool", internalType: "bool" }],
|
|
48
|
+
stateMutability: "nonpayable",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
type: "function",
|
|
52
|
+
name: "balanceOf",
|
|
53
|
+
inputs: [{ name: "account", type: "address", internalType: "address" }],
|
|
54
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
55
|
+
stateMutability: "view",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
type: "function",
|
|
59
|
+
name: "burn",
|
|
60
|
+
inputs: [
|
|
61
|
+
{ name: "vaultId", type: "uint256", internalType: "uint256" },
|
|
62
|
+
{ name: "from", type: "address", internalType: "address" },
|
|
63
|
+
{ name: "amount", type: "uint256", internalType: "uint256" },
|
|
64
|
+
],
|
|
65
|
+
outputs: [],
|
|
66
|
+
stateMutability: "nonpayable",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
type: "function",
|
|
70
|
+
name: "decimals",
|
|
71
|
+
inputs: [],
|
|
72
|
+
outputs: [{ name: "", type: "uint8", internalType: "uint8" }],
|
|
73
|
+
stateMutability: "view",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
type: "function",
|
|
77
|
+
name: "mint",
|
|
78
|
+
inputs: [
|
|
79
|
+
{ name: "vaultId", type: "uint256", internalType: "uint256" },
|
|
80
|
+
{ name: "to", type: "address", internalType: "address" },
|
|
81
|
+
{ name: "amount", type: "uint256", internalType: "uint256" },
|
|
82
|
+
],
|
|
83
|
+
outputs: [],
|
|
84
|
+
stateMutability: "nonpayable",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
type: "function",
|
|
88
|
+
name: "name",
|
|
89
|
+
inputs: [],
|
|
90
|
+
outputs: [{ name: "", type: "string", internalType: "string" }],
|
|
91
|
+
stateMutability: "view",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
type: "function",
|
|
95
|
+
name: "symbol",
|
|
96
|
+
inputs: [],
|
|
97
|
+
outputs: [{ name: "", type: "string", internalType: "string" }],
|
|
98
|
+
stateMutability: "view",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: "function",
|
|
102
|
+
name: "totalSupply",
|
|
103
|
+
inputs: [],
|
|
104
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
105
|
+
stateMutability: "view",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
type: "function",
|
|
109
|
+
name: "transfer",
|
|
110
|
+
inputs: [
|
|
111
|
+
{ name: "to", type: "address", internalType: "address" },
|
|
112
|
+
{ name: "value", type: "uint256", internalType: "uint256" },
|
|
113
|
+
],
|
|
114
|
+
outputs: [{ name: "", type: "bool", internalType: "bool" }],
|
|
115
|
+
stateMutability: "nonpayable",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
type: "function",
|
|
119
|
+
name: "transferFrom",
|
|
120
|
+
inputs: [
|
|
121
|
+
{ name: "from", type: "address", internalType: "address" },
|
|
122
|
+
{ name: "to", type: "address", internalType: "address" },
|
|
123
|
+
{ name: "value", type: "uint256", internalType: "uint256" },
|
|
124
|
+
],
|
|
125
|
+
outputs: [{ name: "", type: "bool", internalType: "bool" }],
|
|
126
|
+
stateMutability: "nonpayable",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
type: "event",
|
|
130
|
+
name: "Approval",
|
|
131
|
+
inputs: [
|
|
132
|
+
{ name: "owner", type: "address", indexed: true, internalType: "address" },
|
|
133
|
+
{ name: "spender", type: "address", indexed: true, internalType: "address" },
|
|
134
|
+
{ name: "value", type: "uint256", indexed: false, internalType: "uint256" },
|
|
135
|
+
],
|
|
136
|
+
anonymous: false,
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
type: "event",
|
|
140
|
+
name: "Transfer",
|
|
141
|
+
inputs: [
|
|
142
|
+
{ name: "from", type: "address", indexed: true, internalType: "address" },
|
|
143
|
+
{ name: "to", type: "address", indexed: true, internalType: "address" },
|
|
144
|
+
{ name: "value", type: "uint256", indexed: false, internalType: "uint256" },
|
|
145
|
+
],
|
|
146
|
+
anonymous: false,
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
type: "error",
|
|
150
|
+
name: "BobVaultShare_OnlySablierBob",
|
|
151
|
+
inputs: [
|
|
152
|
+
{ name: "caller", type: "address", internalType: "address" },
|
|
153
|
+
{ name: "expectedCaller", type: "address", internalType: "address" },
|
|
154
|
+
],
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: "error",
|
|
158
|
+
name: "BobVaultShare_VaultIdMismatch",
|
|
159
|
+
inputs: [
|
|
160
|
+
{ name: "providedVaultId", type: "uint256", internalType: "uint256" },
|
|
161
|
+
{ name: "expectedVaultId", type: "uint256", internalType: "uint256" },
|
|
162
|
+
],
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
type: "error",
|
|
166
|
+
name: "ERC20InsufficientAllowance",
|
|
167
|
+
inputs: [
|
|
168
|
+
{ name: "spender", type: "address", internalType: "address" },
|
|
169
|
+
{ name: "allowance", type: "uint256", internalType: "uint256" },
|
|
170
|
+
{ name: "needed", type: "uint256", internalType: "uint256" },
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
type: "error",
|
|
175
|
+
name: "ERC20InsufficientBalance",
|
|
176
|
+
inputs: [
|
|
177
|
+
{ name: "sender", type: "address", internalType: "address" },
|
|
178
|
+
{ name: "balance", type: "uint256", internalType: "uint256" },
|
|
179
|
+
{ name: "needed", type: "uint256", internalType: "uint256" },
|
|
180
|
+
],
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
type: "error",
|
|
184
|
+
name: "ERC20InvalidApprover",
|
|
185
|
+
inputs: [{ name: "approver", type: "address", internalType: "address" }],
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
type: "error",
|
|
189
|
+
name: "ERC20InvalidReceiver",
|
|
190
|
+
inputs: [{ name: "receiver", type: "address", internalType: "address" }],
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
type: "error",
|
|
194
|
+
name: "ERC20InvalidSender",
|
|
195
|
+
inputs: [{ name: "sender", type: "address", internalType: "address" }],
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
type: "error",
|
|
199
|
+
name: "ERC20InvalidSpender",
|
|
200
|
+
inputs: [{ name: "spender", type: "address", internalType: "address" }],
|
|
201
|
+
},
|
|
202
|
+
];
|
|
203
|
+
//# sourceMappingURL=BobVaultShare.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BobVaultShare.js","sourceRoot":"","sources":["../../../../../../../src/evm/releases/bob/v1.0/abi/BobVaultShare.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B;QACE,IAAI,EAAE,aAAa;QACnB,MAAM,EAAE;YACN,E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AO;QACb,IAAI,EAAE,0BAA0B;QAChC,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;YAC5D,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;YAC7D,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;SAC7D;KACF;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,sBAAsB;QAC5B,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;KACzE;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,sBAAsB;QAC5B,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;KACzE;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,oBAAoB;QAC1B,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;KACvE;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;KACxE;CACO,CAAC","sourcesContent":["export const bobVaultShareAbi = [\n {\n type: \"constructor\",\n inputs: [\n { name: \"name_\", type: \"string\", internalType: \"string\" },\n { name: \"symbol_\", type: \"string\", internalType: \"string\" },\n { name: \"decimals_\", type: \"uint8\", internalType: \"uint8\" },\n { name: \"sablierBob\", type: \"address\", internalType: \"address\" },\n { name: \"vaultId\", type: \"uint256\", internalType: \"uint256\" },\n ],\n stateMutability: \"nonpayable\",\n },\n {\n type: \"function\",\n name: \"SABLIER_BOB\",\n inputs: [],\n outputs: [{ name: \"\", type: \"address\", internalType: \"address\" }],\n stateMutability: \"view\",\n },\n {\n type: \"function\",\n name: \"VAULT_ID\",\n inputs: [],\n outputs: [{ name: \"\", type: \"uint256\", internalType: \"uint256\" }],\n stateMutability: \"view\",\n },\n {\n type: \"function\",\n name: \"allowance\",\n inputs: [\n { name: \"owner\", type: \"address\", internalType: \"address\" },\n { name: \"spender\", type: \"address\", internalType: \"address\" },\n ],\n outputs: [{ name: \"\", type: \"uint256\", internalType: \"uint256\" }],\n stateMutability: \"view\",\n },\n {\n type: \"function\",\n name: \"approve\",\n inputs: [\n { name: \"spender\", type: \"address\", internalType: \"address\" },\n { name: \"value\", type: \"uint256\", internalType: \"uint256\" },\n ],\n outputs: [{ name: \"\", type: \"bool\", internalType: \"bool\" }],\n stateMutability: \"nonpayable\",\n },\n {\n type: \"function\",\n name: \"balanceOf\",\n inputs: [{ name: \"account\", type: \"address\", internalType: \"address\" }],\n outputs: [{ name: \"\", type: \"uint256\", internalType: \"uint256\" }],\n stateMutability: \"view\",\n },\n {\n type: \"function\",\n name: \"burn\",\n inputs: [\n { name: \"vaultId\", type: \"uint256\", internalType: \"uint256\" },\n { name: \"from\", type: \"address\", internalType: \"address\" },\n { name: \"amount\", type: \"uint256\", internalType: \"uint256\" },\n ],\n outputs: [],\n stateMutability: \"nonpayable\",\n },\n {\n type: \"function\",\n name: \"decimals\",\n inputs: [],\n outputs: [{ name: \"\", type: \"uint8\", internalType: \"uint8\" }],\n stateMutability: \"view\",\n },\n {\n type: \"function\",\n name: \"mint\",\n inputs: [\n { name: \"vaultId\", type: \"uint256\", internalType: \"uint256\" },\n { name: \"to\", type: \"address\", internalType: \"address\" },\n { name: \"amount\", type: \"uint256\", internalType: \"uint256\" },\n ],\n outputs: [],\n stateMutability: \"nonpayable\",\n },\n {\n type: \"function\",\n name: \"name\",\n inputs: [],\n outputs: [{ name: \"\", type: \"string\", internalType: \"string\" }],\n stateMutability: \"view\",\n },\n {\n type: \"function\",\n name: \"symbol\",\n inputs: [],\n outputs: [{ name: \"\", type: \"string\", internalType: \"string\" }],\n stateMutability: \"view\",\n },\n {\n type: \"function\",\n name: \"totalSupply\",\n inputs: [],\n outputs: [{ name: \"\", type: \"uint256\", internalType: \"uint256\" }],\n stateMutability: \"view\",\n },\n {\n type: \"function\",\n name: \"transfer\",\n inputs: [\n { name: \"to\", type: \"address\", internalType: \"address\" },\n { name: \"value\", type: \"uint256\", internalType: \"uint256\" },\n ],\n outputs: [{ name: \"\", type: \"bool\", internalType: \"bool\" }],\n stateMutability: \"nonpayable\",\n },\n {\n type: \"function\",\n name: \"transferFrom\",\n inputs: [\n { name: \"from\", type: \"address\", internalType: \"address\" },\n { name: \"to\", type: \"address\", internalType: \"address\" },\n { name: \"value\", type: \"uint256\", internalType: \"uint256\" },\n ],\n outputs: [{ name: \"\", type: \"bool\", internalType: \"bool\" }],\n stateMutability: \"nonpayable\",\n },\n {\n type: \"event\",\n name: \"Approval\",\n inputs: [\n { name: \"owner\", type: \"address\", indexed: true, internalType: \"address\" },\n { name: \"spender\", type: \"address\", indexed: true, internalType: \"address\" },\n { name: \"value\", type: \"uint256\", indexed: false, internalType: \"uint256\" },\n ],\n anonymous: false,\n },\n {\n type: \"event\",\n name: \"Transfer\",\n inputs: [\n { name: \"from\", type: \"address\", indexed: true, internalType: \"address\" },\n { name: \"to\", type: \"address\", indexed: true, internalType: \"address\" },\n { name: \"value\", type: \"uint256\", indexed: false, internalType: \"uint256\" },\n ],\n anonymous: false,\n },\n {\n type: \"error\",\n name: \"BobVaultShare_OnlySablierBob\",\n inputs: [\n { name: \"caller\", type: \"address\", internalType: \"address\" },\n { name: \"expectedCaller\", type: \"address\", internalType: \"address\" },\n ],\n },\n {\n type: \"error\",\n name: \"BobVaultShare_VaultIdMismatch\",\n inputs: [\n { name: \"providedVaultId\", type: \"uint256\", internalType: \"uint256\" },\n { name: \"expectedVaultId\", type: \"uint256\", internalType: \"uint256\" },\n ],\n },\n {\n type: \"error\",\n name: \"ERC20InsufficientAllowance\",\n inputs: [\n { name: \"spender\", type: \"address\", internalType: \"address\" },\n { name: \"allowance\", type: \"uint256\", internalType: \"uint256\" },\n { name: \"needed\", type: \"uint256\", internalType: \"uint256\" },\n ],\n },\n {\n type: \"error\",\n name: \"ERC20InsufficientBalance\",\n inputs: [\n { name: \"sender\", type: \"address\", internalType: \"address\" },\n { name: \"balance\", type: \"uint256\", internalType: \"uint256\" },\n { name: \"needed\", type: \"uint256\", internalType: \"uint256\" },\n ],\n },\n {\n type: \"error\",\n name: \"ERC20InvalidApprover\",\n inputs: [{ name: \"approver\", type: \"address\", internalType: \"address\" }],\n },\n {\n type: \"error\",\n name: \"ERC20InvalidReceiver\",\n inputs: [{ name: \"receiver\", type: \"address\", internalType: \"address\" }],\n },\n {\n type: \"error\",\n name: \"ERC20InvalidSender\",\n inputs: [{ name: \"sender\", type: \"address\", internalType: \"address\" }],\n },\n {\n type: \"error\",\n name: \"ERC20InvalidSpender\",\n inputs: [{ name: \"spender\", type: \"address\", internalType: \"address\" }],\n },\n] as const;\n"]}
|
|
@@ -4,11 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.abi = void 0;
|
|
7
|
+
const BobVaultShare_js_1 = require("./abi/BobVaultShare.js");
|
|
7
8
|
const SablierBob_js_1 = require("./abi/SablierBob.js");
|
|
8
9
|
const SablierEscrow_js_1 = require("./abi/SablierEscrow.js");
|
|
9
10
|
const SablierLidoAdapter_js_1 = require("./abi/SablierLidoAdapter.js");
|
|
10
11
|
const manifest_js_1 = __importDefault(require("./manifest.js"));
|
|
11
12
|
exports.abi = {
|
|
13
|
+
[manifest_js_1.default.BOB_VAULT_SHARE]: BobVaultShare_js_1.bobVaultShareAbi,
|
|
12
14
|
[manifest_js_1.default.SABLIER_BOB]: SablierBob_js_1.sablierBobAbi,
|
|
13
15
|
[manifest_js_1.default.SABLIER_ESCROW]: SablierEscrow_js_1.sablierEscrowAbi,
|
|
14
16
|
[manifest_js_1.default.SABLIER_LIDO_ADAPTER]: SablierLidoAdapter_js_1.sablierLidoAdapterAbi,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abi.js","sourceRoot":"","sources":["../../../../../../src/evm/releases/bob/v1.0/abi.ts"],"names":[],"mappings":";;;;;;AAAA,uDAAoD;AACpD,6DAA0D;AAC1D,uEAAoE;AACpE,gEAAqC;AAExB,QAAA,GAAG,GAAG;IACjB,CAAC,qBAAQ,CAAC,WAAW,CAAC,EAAE,6BAAa;IACrC,CAAC,qBAAQ,CAAC,cAAc,CAAC,EAAE,mCAAgB;IAC3C,CAAC,qBAAQ,CAAC,oBAAoB,CAAC,EAAE,6CAAqB;CAC9C,CAAC","sourcesContent":["import { sablierBobAbi } from \"./abi/SablierBob.js\";\nimport { sablierEscrowAbi } from \"./abi/SablierEscrow.js\";\nimport { sablierLidoAdapterAbi } from \"./abi/SablierLidoAdapter.js\";\nimport manifest from \"./manifest.js\";\n\nexport const abi = {\n [manifest.SABLIER_BOB]: sablierBobAbi,\n [manifest.SABLIER_ESCROW]: sablierEscrowAbi,\n [manifest.SABLIER_LIDO_ADAPTER]: sablierLidoAdapterAbi,\n} as const;\n"]}
|
|
1
|
+
{"version":3,"file":"abi.js","sourceRoot":"","sources":["../../../../../../src/evm/releases/bob/v1.0/abi.ts"],"names":[],"mappings":";;;;;;AAAA,6DAA0D;AAC1D,uDAAoD;AACpD,6DAA0D;AAC1D,uEAAoE;AACpE,gEAAqC;AAExB,QAAA,GAAG,GAAG;IACjB,CAAC,qBAAQ,CAAC,eAAe,CAAC,EAAE,mCAAgB;IAC5C,CAAC,qBAAQ,CAAC,WAAW,CAAC,EAAE,6BAAa;IACrC,CAAC,qBAAQ,CAAC,cAAc,CAAC,EAAE,mCAAgB;IAC3C,CAAC,qBAAQ,CAAC,oBAAoB,CAAC,EAAE,6CAAqB;CAC9C,CAAC","sourcesContent":["import { bobVaultShareAbi } from \"./abi/BobVaultShare.js\";\nimport { sablierBobAbi } from \"./abi/SablierBob.js\";\nimport { sablierEscrowAbi } from \"./abi/SablierEscrow.js\";\nimport { sablierLidoAdapterAbi } from \"./abi/SablierLidoAdapter.js\";\nimport manifest from \"./manifest.js\";\n\nexport const abi = {\n [manifest.BOB_VAULT_SHARE]: bobVaultShareAbi,\n [manifest.SABLIER_BOB]: sablierBobAbi,\n [manifest.SABLIER_ESCROW]: sablierEscrowAbi,\n [manifest.SABLIER_LIDO_ADAPTER]: sablierLidoAdapterAbi,\n} as const;\n"]}
|
|
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const manifest_js_1 = __importDefault(require("./manifest.js"));
|
|
7
7
|
const aliases = {
|
|
8
|
+
[manifest_js_1.default.BOB_VAULT_SHARE]: "BOB_VAULT_SHARE",
|
|
8
9
|
[manifest_js_1.default.SABLIER_BOB]: "BOB",
|
|
9
10
|
[manifest_js_1.default.SABLIER_ESCROW]: "ESCROW",
|
|
10
11
|
[manifest_js_1.default.SABLIER_LIDO_ADAPTER]: "LIDO_ADAPTER",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aliases.js","sourceRoot":"","sources":["../../../../../../src/evm/releases/bob/v1.0/aliases.ts"],"names":[],"mappings":";;;;;AAAA,gEAAqC;AAErC,MAAM,OAAO,GAAG;IACd,CAAC,qBAAQ,CAAC,WAAW,CAAC,EAAE,KAAK;IAC7B,CAAC,qBAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ;IACnC,CAAC,qBAAQ,CAAC,oBAAoB,CAAC,EAAE,cAAc;CAChD,CAAC;AAEF,kBAAe,OAAO,CAAC","sourcesContent":["import manifest from \"./manifest.js\";\n\nconst aliases = {\n [manifest.SABLIER_BOB]: \"BOB\",\n [manifest.SABLIER_ESCROW]: \"ESCROW\",\n [manifest.SABLIER_LIDO_ADAPTER]: \"LIDO_ADAPTER\",\n};\n\nexport default aliases;\n"]}
|
|
1
|
+
{"version":3,"file":"aliases.js","sourceRoot":"","sources":["../../../../../../src/evm/releases/bob/v1.0/aliases.ts"],"names":[],"mappings":";;;;;AAAA,gEAAqC;AAErC,MAAM,OAAO,GAAG;IACd,CAAC,qBAAQ,CAAC,eAAe,CAAC,EAAE,iBAAiB;IAC7C,CAAC,qBAAQ,CAAC,WAAW,CAAC,EAAE,KAAK;IAC7B,CAAC,qBAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ;IACnC,CAAC,qBAAQ,CAAC,oBAAoB,CAAC,EAAE,cAAc;CAChD,CAAC;AAEF,kBAAe,OAAO,CAAC","sourcesContent":["import manifest from \"./manifest.js\";\n\nconst aliases = {\n [manifest.BOB_VAULT_SHARE]: \"BOB_VAULT_SHARE\",\n [manifest.SABLIER_BOB]: \"BOB\",\n [manifest.SABLIER_ESCROW]: \"ESCROW\",\n [manifest.SABLIER_LIDO_ADAPTER]: \"LIDO_ADAPTER\",\n};\n\nexport default aliases;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../../../../src/evm/releases/bob/v1.0/manifest.ts"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG;IACf,WAAW,EAAE,YAAY;IACzB,cAAc,EAAE,eAAe;IAC/B,oBAAoB,EAAE,oBAAoB;CAClC,CAAC;AAEX,kBAAe,QAAQ,CAAC","sourcesContent":["const manifest = {\n SABLIER_BOB: \"SablierBob\",\n SABLIER_ESCROW: \"SablierEscrow\",\n SABLIER_LIDO_ADAPTER: \"SablierLidoAdapter\",\n} as const;\n\nexport default manifest;\n"]}
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../../../../src/evm/releases/bob/v1.0/manifest.ts"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG;IACf,eAAe,EAAE,eAAe;IAChC,WAAW,EAAE,YAAY;IACzB,cAAc,EAAE,eAAe;IAC/B,oBAAoB,EAAE,oBAAoB;CAClC,CAAC;AAEX,kBAAe,QAAQ,CAAC","sourcesContent":["const manifest = {\n BOB_VAULT_SHARE: \"BobVaultShare\",\n SABLIER_BOB: \"SablierBob\",\n SABLIER_ESCROW: \"SablierEscrow\",\n SABLIER_LIDO_ADAPTER: \"SablierLidoAdapter\",\n} as const;\n\nexport default manifest;\n"]}
|