Skip to content

Commit

Permalink
feat: add flow deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
andreivladbrg committed Dec 4, 2024
1 parent ad1d2c0 commit a0fac8a
Show file tree
Hide file tree
Showing 33 changed files with 2,634 additions and 0 deletions.
64 changes: 64 additions & 0 deletions flow/v1.0.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# v1.0.0

## Contract Deployed

- SablierFlow
- FlowNFTDescriptor

## Sources

- Commit: [10b5bf3](https://github.com/sablier-labs/flow/commit/10b5bf315bd07a9926d18f89cc68698d8d87eea9)
- Package: [@sablier/flow@1.0.0](https://npmjs.com/package/@sablier/flow/v/1.0.0)

## Compiler Settings

| Setting | Value |
| :------------- | :------- |
| Version | 0.8.26 |
| EVM | Shanghai |
| Optimizer | Yes |
| Optimizer Runs | 10,000 |
| Via IR | true |

## Salts

The CREATE2 salts used during deployment:

### Mainnets

| Chain | Salt |
| :-------------- | :------------------------------- |
| Arbitrum One | ChainID 42161, Version 1.0.0 |
| Avalanche | ChainID 43114, Version 1.0.0 |
| Base | ChainID 8453, Version 1.0.0 |
| Blast | ChainID 81457, Version 1.0.0 |
| BNB Smart Chain | ChainID 56, Version 1.0.0 |
| Core Dao | ChainID 1116, Version 1.0.0 |
| Gnosis | ChainID 100, Version 1.0.0 |
| Lightlink | ChainID 1890, Version 1.0.0 |
| Linea | ChainID 59144, Version 1.0.0 |
| Mainnet | ChainID 1, Version 1.0.0 |
| Meld | ChainID 333000333, Version 1.0.0 |
| Mode | ChainID 34443, Version 1.0.0 |
| Morph | ChainID 2818, Version 1.0.0 |
| Optimism | ChainID 10, Version 1.0.0 |
| Polygon | ChainID 137, Version 1.0.0 |
| Scroll | ChainID 534352, Version 1.0.0 |
| Superseed | ChainID 5330, Version 1.0.0 |
| Taiko Mainnet | ChainID 167000, Version 1.0.0 |

### Testnets

| Chain | Salt |
| :---------------- | :------------------------------- |
| Berachain Bartio | ChainID 80084, Version 1.0.0 |
| Arbitrum Sepolia | ChainID 421614, Version 1.0.0 |
| Base Sepolia | ChainID 84532, Version 1.0.0 |
| Blast Sepolia | ChainID 168587773, Version 1.0.0 |
| Linea Sepolia | ChainID 59141, Version 1.0.0 |
| Mode Sepolia | ChainID 919, Version 1.0.0 |
| Morph Holesky | ChainID 2810, Version 1.0.0 |
| Optimism Sepolia | ChainID 11155420, Version 1.0.0 |
| Sepolia | ChainID 11155111, Version 1.0.0 |
| Superseed Sepolia | ChainID 53302, Version 1.0.0 |
| Taiko Hekla | ChainID 167009, Version 1.0.0 |
1 change: 1 addition & 0 deletions flow/v1.0.0/artifacts/FlowNFTDescriptor.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions flow/v1.0.0/artifacts/SablierFlow.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions flow/v1.0.0/artifacts/interfaces/IFlowNFTDescriptor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"abi":[{"type":"function","name":"tokenURI","inputs":[{"name":"sablierFlow","type":"address","internalType":"contract IERC721Metadata"},{"name":"streamId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"uri","type":"string","internalType":"string"}],"stateMutability":"view"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"tokenURI(address,uint256)":"e9dc6375"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IERC721Metadata\",\"name\":\"sablierFlow\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"streamId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"tokenURI(address,uint256)\":{\"details\":\"Currently it returns the Sablier logo as an SVG. In the future, it will return an NFT SVG.\",\"params\":{\"sablierFlow\":\"The address of the Sablier Flow the stream was created in.\",\"streamId\":\"The ID of the stream for which to produce a description.\"},\"returns\":{\"uri\":\"The URI of the ERC721-compliant metadata.\"}}},\"title\":\"IFlowNFTDescriptor\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"tokenURI(address,uint256)\":{\"notice\":\"Produces the URI describing a particular stream NFT.\"}},\"notice\":\"This contract generates the URI describing the Sablier Flow stream NFTs.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/IFlowNFTDescriptor.sol\":\"IFlowNFTDescriptor\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@prb/math/=node_modules/@prb/math/\",\":forge-std/=node_modules/forge-std/\",\":solady/=node_modules/solady/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5ef46daa3b58ef2702279d514780316efaa952915ee1aa3396f041ee2982b0b4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f8f2a76e23b02fc69e8cd24c3cb47da6c7af3a2d6c3a382f8ac25c6e094ade7\",\"dweb:/ipfs/QmPV4ZS4tPVv4mTCf9ejyZ1ai57EEibDRj7mN2ARDCLV5n\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02\",\"dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]},\"src/interfaces/IFlowNFTDescriptor.sol\":{\"keccak256\":\"0xdf964042ae7c74f03909d020fbb63e0ae56aeb2fa47213e3775a1e3263d00e54\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://0d4ede276be940185ea0b638c8f38f68232b6f4394ce0a69c2c729bc761aec82\",\"dweb:/ipfs/QmSgivdvgxrY7n6XbLQcGp645nRw1y2272iJUVhQyfnWUp\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.26+commit.8a97fa7a"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"contract IERC721Metadata","name":"sablierFlow","type":"address"},{"internalType":"uint256","name":"streamId","type":"uint256"}],"stateMutability":"view","type":"function","name":"tokenURI","outputs":[{"internalType":"string","name":"uri","type":"string"}]}],"devdoc":{"kind":"dev","methods":{"tokenURI(address,uint256)":{"details":"Currently it returns the Sablier logo as an SVG. In the future, it will return an NFT SVG.","params":{"sablierFlow":"The address of the Sablier Flow the stream was created in.","streamId":"The ID of the stream for which to produce a description."},"returns":{"uri":"The URI of the ERC721-compliant metadata."}}},"version":1},"userdoc":{"kind":"user","methods":{"tokenURI(address,uint256)":{"notice":"Produces the URI describing a particular stream NFT."}},"version":1}},"settings":{"remappings":["@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@prb/math/=node_modules/@prb/math/","forge-std/=node_modules/forge-std/","solady/=node_modules/solady/"],"optimizer":{"enabled":true,"runs":10000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"src/interfaces/IFlowNFTDescriptor.sol":"IFlowNFTDescriptor"},"evmVersion":"shanghai","libraries":{},"viaIR":true},"sources":{"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0x5ef46daa3b58ef2702279d514780316efaa952915ee1aa3396f041ee2982b0b4","urls":["bzz-raw://2f8f2a76e23b02fc69e8cd24c3cb47da6c7af3a2d6c3a382f8ac25c6e094ade7","dweb:/ipfs/QmPV4ZS4tPVv4mTCf9ejyZ1ai57EEibDRj7mN2ARDCLV5n"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"keccak256":"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1","urls":["bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02","dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b","urls":["bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df","dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL"],"license":"MIT"},"src/interfaces/IFlowNFTDescriptor.sol":{"keccak256":"0xdf964042ae7c74f03909d020fbb63e0ae56aeb2fa47213e3775a1e3263d00e54","urls":["bzz-raw://0d4ede276be940185ea0b638c8f38f68232b6f4394ce0a69c2c729bc761aec82","dweb:/ipfs/QmSgivdvgxrY7n6XbLQcGp645nRw1y2272iJUVhQyfnWUp"],"license":"GPL-3.0-or-later"}},"version":1},"id":85}
1 change: 1 addition & 0 deletions flow/v1.0.0/artifacts/interfaces/ISablierFlow.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions flow/v1.0.0/artifacts/interfaces/ISablierFlowBase.json

Large diffs are not rendered by default.

Loading

0 comments on commit a0fac8a

Please sign in to comment.