Skip to content

Commit 040fe11

Browse files
committed
fix: month reference in lockup example
1 parent 592dfde commit 040fe11

17 files changed

+9857
-6
lines changed

.repomix/output.txt

Lines changed: 7261 additions & 0 deletions
Large diffs are not rendered by default.

docs/concepts/lockup/01-overview.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ Lockup is a token streaming protocol that refers to the requirement that the cre
88
amount of tokens in a smart contract. A Lockup stream, therefore, is characterized by the start time, end time, amount
99
of tokens to be streamed and a [stream shape](./02-stream-shapes.mdx).
1010

11-
Let's discuss an example. Imagine Alice wants to stream 3,000 DAI to Bob during the whole month of January.
11+
Let's take an example. Imagine Alice wants to stream 3000 DAI to Bob during the whole month of April.
1212

13-
1. Alice deposits the 3,000 DAI in Lockup before Apr 1, setting the end time to May 1.
13+
1. Alice deposits the 3000 DAI in Lockup before Apr 1, setting the end time to May 1.
1414
2. Bob's allocation of the DAI deposit increases every second beginning Apr 1.
15-
3. On Apr 10, Bob will have earned approximately 1,000 DAI. He can send a transaction to Lockup to withdraw the tokens.
16-
4. If at any point during January Alice wishes to get back her tokens, she can cancel the stream and recover what has
17-
not been streamed yet.
15+
3. On Apr 10, Bob will have earned approximately 1000 DAI. He can send a transaction to Lockup to withdraw the tokens.
16+
4. If at any point during April Alice wishes to get back her tokens, she can cancel the stream and recover what has not
17+
been streamed yet.
1818

1919
This streaming model is especially useful for use cases like vesting and airdrops. If you are looking to create an
2020
indefinite stream of tokens, please refer to our [Flow](../flow/overview) protocol.
2121

22-
Lockup enables multiple shapes of streams which is discussed in the next section.
22+
Lockup enables multiple shapes of streams, a feature that is discussed in the next section.

src/autogen/airdrops/TableDeploymentsV1.1.mdx

Lines changed: 212 additions & 0 deletions
Large diffs are not rendered by default.

src/autogen/airdrops/TableDeploymentsV1.2.mdx

Lines changed: 377 additions & 0 deletions
Large diffs are not rendered by default.

src/autogen/airdrops/TableDeploymentsV1.3.mdx

Lines changed: 219 additions & 0 deletions
Large diffs are not rendered by default.

src/autogen/airdrops/TableEnvio.mdx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
| Chain | Production URL | Playground URL | Explorer URL |
2+
| ---------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
3+
| Abstract | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
4+
| Arbitrum | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
5+
| Avalanche | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
6+
| Base | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
7+
| Berachain | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
8+
| BNB Chain | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
9+
| Chiliz | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
10+
| Gnosis | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
11+
| Linea Mainnet | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
12+
| Ethereum | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
13+
| Mode | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
14+
| Morph | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
15+
| OP Mainnet | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
16+
| Polygon | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
17+
| Scroll | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
18+
| Sophon | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
19+
| Superseed | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
20+
| Tangle | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
21+
| Unichain | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
22+
| XDC | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
23+
| ZKsync Era | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
24+
| Arbitrum Sepolia | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
25+
| Base Sepolia | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
26+
| OP Sepolia | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
27+
| Sepolia | https://indexer.hyperindex.xyz/508d217/v1/graphql | [Playground](https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.hyperindex.xyz%2F508d217%2Fv1%2Fgraphql) | [Explorer](https://envio.dev/app/sablier-labs/merkle-envio) |
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
| Chain | Production URL | Testing URL | Explorer URL |
2+
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
3+
| Abstract | [sablier-airdrops-abstract](https://gateway.thegraph.com/api/subgraphs/id/DRrf6mYEhRt9QieKvTjDHnSWcBm3GW96hpedMKVxLABx) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-abstract/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/DRrf6mYEhRt9QieKvTjDHnSWcBm3GW96hpedMKVxLABx) |
4+
| Arbitrum | [sablier-airdrops-arbitrum-one](https://gateway.thegraph.com/api/subgraphs/id/HkHDg6NVVVeobhpcU4pTPMktyC25zd6xAQBGpYrWDgRr) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-arbitrum-one/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/HkHDg6NVVVeobhpcU4pTPMktyC25zd6xAQBGpYrWDgRr) |
5+
| Arbitrum Sepolia | [sablier-airdrops-arbitrum-sepolia](https://gateway.thegraph.com/api/subgraphs/id/3S7v3VkDq8XMBd8EFVhKur2Vk44xScaW8a4BRjoPuYWk) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-arbitrum-sepolia/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/3S7v3VkDq8XMBd8EFVhKur2Vk44xScaW8a4BRjoPuYWk) |
6+
| Avalanche | [sablier-airdrops-avalanche](https://gateway.thegraph.com/api/subgraphs/id/CpbN5Ps25UzqfdoqYdrjoSK4Him6nwDvdLK6a2sGS1PA) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-avalanche/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/CpbN5Ps25UzqfdoqYdrjoSK4Him6nwDvdLK6a2sGS1PA) |
7+
| Base | [sablier-airdrops-base](https://gateway.thegraph.com/api/subgraphs/id/4SxPXkQNifgBYqje2C4yP5gz69erZwtD7GuLWgXHSLGe) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-base/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/4SxPXkQNifgBYqje2C4yP5gz69erZwtD7GuLWgXHSLGe) |
8+
| Base Sepolia | [sablier-airdrops-base-sepolia](https://gateway.thegraph.com/api/subgraphs/id/4R2hm27YJ7CVEJ97BbBJz2r4KTKYc8sTqqzrD8UzEfJt) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-base-sepolia/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/4R2hm27YJ7CVEJ97BbBJz2r4KTKYc8sTqqzrD8UzEfJt) |
9+
| Berachain | [sablier-airdrops-berachain](https://gateway.thegraph.com/api/subgraphs/id/CnYsdmzuY3Mebwywvqv1WrXw9UZuPMTrxoGgR2UdThJE) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-berachain/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/CnYsdmzuY3Mebwywvqv1WrXw9UZuPMTrxoGgR2UdThJE) |
10+
| Blast | [sablier-airdrops-blast-mainnet](https://gateway.thegraph.com/api/subgraphs/id/657bogqYaDSSeqsoJcJ1kRqGnc3jC15UmcVLzsYxyxKK) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-blast-mainnet/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/657bogqYaDSSeqsoJcJ1kRqGnc3jC15UmcVLzsYxyxKK) |
11+
| BNB Chain | [sablier-airdrops-bsc](https://gateway.thegraph.com/api/subgraphs/id/FXQT42kQPvpMJgsF5Bs6CqpxVvPP1LBqEhWThCCLMeGL) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-bsc/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/FXQT42kQPvpMJgsF5Bs6CqpxVvPP1LBqEhWThCCLMeGL) |
12+
| Chiliz | [sablier-airdrops-chiliz](https://gateway.thegraph.com/api/subgraphs/id/6LK1aqrhzZCp6c88MEBDAR1VDLpZQiXpBKkceJ5Lu4LU) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-chiliz/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/6LK1aqrhzZCp6c88MEBDAR1VDLpZQiXpBKkceJ5Lu4LU) |
13+
| Ethereum | [sablier-airdrops-mainnet](https://gateway.thegraph.com/api/subgraphs/id/DFD73EcSue44R7mpHvXeyvcgaT8tR1iKakZFjBsiFpjs) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-mainnet/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/DFD73EcSue44R7mpHvXeyvcgaT8tR1iKakZFjBsiFpjs) |
14+
| Form | [sablier-airdrops-form](https://formapi.0xgraph.xyz/api/public/5961fb30-8fdc-45ad-9a35-555dd5e0dd56/subgraphs/sablier-airdrops-form/2.3_1.0.0/gn) | N/A | N/A |
15+
| Gnosis | [sablier-airdrops-gnosis](https://gateway.thegraph.com/api/subgraphs/id/kQEY5PYbjx4SMKyMUwqJHRLDzKH1aUqGsf1cnibU7Kn) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-gnosis/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/kQEY5PYbjx4SMKyMUwqJHRLDzKH1aUqGsf1cnibU7Kn) |
16+
| IoTeX | [sablier-airdrops-iotex](https://gateway.thegraph.com/api/subgraphs/id/G39uCzr1FDY7pBFe8DwShAxhMeC6dbZetutVg6wjtks3) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-iotex/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/G39uCzr1FDY7pBFe8DwShAxhMeC6dbZetutVg6wjtks3) |
17+
| Lightlink | [sablier-airdrops-lightlink](https://graph.phoenix.lightlink.io/query/subgraphs/name/lightlink/sablier-airdrops-lightlink) | N/A | N/A |
18+
| Linea Mainnet | [sablier-airdrops-linea](https://gateway.thegraph.com/api/subgraphs/id/6koYFSd8FQizdQWLTdRpL1yTmAbpMgN1vZN5W6ajZiTN) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-linea/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/6koYFSd8FQizdQWLTdRpL1yTmAbpMgN1vZN5W6ajZiTN) |
19+
| Mode | [sablier-airdrops-mode-mainnet](https://gateway.thegraph.com/api/subgraphs/id/HZMkVX5c2qf7BqbidwpcQMsHGWTDdEKwVjnwenzo9s6m) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-mode-mainnet/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/HZMkVX5c2qf7BqbidwpcQMsHGWTDdEKwVjnwenzo9s6m) |
20+
| OP Mainnet | [sablier-airdrops-optimism](https://gateway.thegraph.com/api/subgraphs/id/CHJtCNDzPqngpa1YJoaVrjuufZL6k6VkEkG9ZFUMQzF7) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-optimism/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/CHJtCNDzPqngpa1YJoaVrjuufZL6k6VkEkG9ZFUMQzF7) |
21+
| OP Sepolia | [sablier-airdrops-optimism-sepolia](https://gateway.thegraph.com/api/subgraphs/id/3kp1eR2T1XpvvLkSZ7Wtt45DbDaiykTes478RZ7zwTz) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-optimism-sepolia/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/3kp1eR2T1XpvvLkSZ7Wtt45DbDaiykTes478RZ7zwTz) |
22+
| Polygon | [sablier-airdrops-polygon](https://gateway.thegraph.com/api/subgraphs/id/FRbBKiDyM5YpFAqHLXRfQWwQdMGzFL82hqoPXPpXzAHE) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-polygon/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/FRbBKiDyM5YpFAqHLXRfQWwQdMGzFL82hqoPXPpXzAHE) |
23+
| Scroll | [sablier-airdrops-scroll](https://gateway.thegraph.com/api/subgraphs/id/Ev4xS8VxuoUcpgqz5A2BkTgQxQeskm4Fg41XzVJ2DX9) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-scroll/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/Ev4xS8VxuoUcpgqz5A2BkTgQxQeskm4Fg41XzVJ2DX9) |
24+
| Sei Network | [sablier-airdrops-sei-mainnet](https://gateway.thegraph.com/api/subgraphs/id/HCxLCRqd5MorHXxmXFUBBcA71zTGXnn97Xk2uaBmStsy) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-sei-mainnet/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/HCxLCRqd5MorHXxmXFUBBcA71zTGXnn97Xk2uaBmStsy) |
25+
| Sepolia | [sablier-airdrops-sepolia](https://gateway.thegraph.com/api/subgraphs/id/8PLGDyXEsPgRTAnozL7MAjmTUFY4TBzs8i4F9Pq3wwSh) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-sepolia/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/8PLGDyXEsPgRTAnozL7MAjmTUFY4TBzs8i4F9Pq3wwSh) |
26+
| Unichain | [sablier-airdrops-unichain](https://gateway.thegraph.com/api/subgraphs/id/4rQMJ85hKNhcaDyirGipGvcqS4auGU3QCFRBnpiexyNy) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-unichain/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/4rQMJ85hKNhcaDyirGipGvcqS4auGU3QCFRBnpiexyNy) |
27+
| XDC | [sablier-airdrops-xdc](https://graphql.xinfin.network/subgraphs/name/xdc/sablier-airdrops-xdc) | N/A | N/A |
28+
| ZKsync Era | [sablier-airdrops-zksync](https://gateway.thegraph.com/api/subgraphs/id/64iDUwNVWKukw67nqTXif5taEfLug4Qf1c2suAv5hrqN) | [Testing](https://api.studio.thegraph.com/query/112500/sablier-airdrops-zksync/version/latest) | [Explorer](https://thegraph.com/explorer/subgraphs/64iDUwNVWKukw67nqTXif5taEfLug4Qf1c2suAv5hrqN) |

0 commit comments

Comments
 (0)