Lens Contracts
This page list useful resources for interacting with the Lens Protocol smart contracts.
Deployed Contracts
The Lens protocol smart contracts are deployed at the following addresses on the corresponding networks.
Lens Mainnet
Factories | Address | |
---|---|---|
AccessControlFactory | 0x0d028419c270C2d366929f459418a4905D1B778F | |
AccountFactory | 0x26C7fd63B06deb4F9E4B5955D540767b9Ac7bbaa | |
AppFactory | 0xB3b7502C47E16a1E3c6d660b73006f45Ec327B0B | |
FeedFactory | 0x591c6e036a6bC92C6bF0d1dB991D06E74C2B9a6A | |
GraphFactory | 0x837E95c3A69Cd6efa3eCDE87A3a07801AAB25Ba0 | |
GroupFactory | 0x9810C41e805164f30b58395b2Af976B3229b0CE6 | |
NamespaceFactory | 0x3155ccbeefbA266a4B6060fB1F9d4b8591d1De3F | |
LensFactory | 0x1fa75D26819Ac733bf7B1C1B36C3F8aEF32d2Cc0 |
Global Instances | Address | |
---|---|---|
Global Feed | 0xcB5E109FFC0E15565082d78E68dDDf2573703580 | |
Global Graph | 0x433025d9718302E7B2e1853D712d96F00764513F | |
Lens Namespace | 0x1aA55B9042f08f45825dC4b651B64c9F98Af4615 | |
Test App | 0x8A5Cc31180c37078e1EbA2A23c861Acf351a97cE |
Auxiliary | Address | |
---|---|---|
ActionHub | 0xc6d57ee750ef2ee017a9e985a0c4198bed16a802 |
Actions | Address | |
---|---|---|
TippingAccountAction | 0x20170f1e53851df4d9ea236a28399493c5b152c0 | |
TippingPostAction | 0x4984ec4ffd17e64c8f91691d829bd5aea287e47b | |
SimpleCollectAction | 0x1cee1cd464c4e44e80acdb0b0e33f88849070f6e |
Graph Rules | Address | |
---|---|---|
GroupGatedGraphRule | 0x754839c5917a063eb923e83f1194e6737bbb451c | |
TokenGatedGraphRule | 0x24779f9c251cc5c2ac0ae5c9f274666224e78035 |
Group Rules | Address | |
---|---|---|
BanMemberGroupRule | 0xe12543e5f917ada5aef92b26bc08e1925ec9f53f | |
MembershipApprovalGroupRule | 0x353064b2ee992483398dab32267e1ad597e502b9 | |
SimplePaymentGroupRule | 0x6d2251d69fba6d7e761c72d55cf478d741cb4ac1 | |
TokenGatedGroupRule | 0x0740653858863e8f4f0c734553c2bef0dc54bfa9 |
Feed Rules | Address | |
---|---|---|
GroupGatedFeedRule | 0x40a2a352583b266097234f1260b5aafb7b129047 | |
SimplePaymentFeedRule | 0xd79dfb3f8290c0da1899b91c3bbfe9ab56198004 | |
TokenGatedFeedRule | 0xe320d45b21243771dc5a47909db2389abab81d5b |
Namespace Rules | Address | |
---|---|---|
UsernameSimpleCharsetNamespaceRule | 0x5dbe2054903512ff26e336c0cbded6e0ddbeac4f | |
UsernameLengthNamespaceRule | 0xb541055222c87ee86a72558e8b582a9c0158a0d8 | |
UsernameReservedNamespaceRule | 0x0e8b9960f2a891a561f2d52f0cd98cca19cdf8c9 | |
TokenGatedNamespaceRule | 0xd108e4215963f9cb13f47a4b08110d0ff51d52d8 | |
UsernamePricePerLengthNamespaceRule | 0xad917a20bca258020ff81590f62ff05366ebb180 |
Follow Rules | Address | |
---|---|---|
SimplePaymentFollowRule | 0x10e044f026bd51f855a10f2277e35ed4c896db7e | |
TokenGatedFollowRule | 0x8b39e5e2b7a4ce8fcd8f4601ca1a43486a9d7ca4 |
Post Rules | Address | |
---|---|---|
FollowersOnlyPostRule | 0x4f573ed906cf23cb43f86ad461d10e43e29802ce |
Global Rules | Address | |
---|---|---|
AccountBlockingRule | 0x3b766408f14141f4b567681a1c29cfb58d1c1574 |
Lens Testnet
Factories | Address | |
---|---|---|
AccessControlFactory | 0x5eb740362F17815Ae67EBcA6420Cbb350f714C3E | |
AccountFactory | 0xE55C2154d1766a9C6319dBD989C89867b0457358 | |
AppFactory | 0xc650f3CcfF7801F5e95a99B99AAbD2f6319d38ed | |
FeedFactory | 0xb8169FB0FaB6a699854fd4fD2457b990988E1372 | |
GraphFactory | 0x7cbB07bD2E80A27c59Ed707B79024cC5e54dEaF0 | |
GroupFactory | 0xEF51808f8a2399282CDd156E897473b282998a29 | |
NamespaceFactory | 0xb69CBb69041a30216e2fe13E9700b32761b859C3 | |
LensFactory | 0x408BC8704Ce76DDcd00cf3a83Acd24de4101eE2D |
Global Instances | Address | |
---|---|---|
Global Feed | 0x31232Cb7dE0dce17949ffA58E9E38EEeB367C871 | |
Global Graph | 0x4d97287FF1A0e030cA4604EcDa9be355dd8A8BaC | |
Lens Namespace | 0xFBEdC5C278cc01A843D161d5469202Fe4EDC99E4 | |
Test App | 0xC75A89145d765c396fd75CbD16380Eb184Bd2ca7 |
Auxiliary | Address | |
---|---|---|
ActionHub | 0x4A92a97Ff3a3604410945ae8CA25df4fBB2fDC11 |
Actions | Address | |
---|---|---|
TippingAccountAction | 0xda614A06972C70a8d50D494FB678d48cf536f769 | |
TippingPostAction | 0x34EF0F5e41cB6c7ad9438079c179d70C7567ae00 | |
SimpleCollectAction | 0x17d5B3917Eab14Ab4923DEc597B39EF64863C830 |
Graph Rules | Address | |
---|---|---|
GroupGatedGraphRule | 0x2Cb90d67d4396385060F4f18B036176005B21d56 | |
TokenGatedGraphRule | 0x2662F99dC985d3dC710D3c13142e2D156874878d |
Group Rules | Address | |
---|---|---|
BanMemberGroupRule | 0xd12E1aD028d550F85F2a8d9130C46dB77A6A0a41 | |
MembershipApprovalGroupRule | 0x6d467E7f34e87C0D7185FAf692B43eD5792B86f5 | |
SimplePaymentGroupRule | 0xC99b11687d91EC4f6e65EcFa205795101BbaB5B2 | |
TokenGatedGroupRule | 0x3e3a35d2A67583975569c4a19761268AFB958cEF |
Feed Rules | Address | |
---|---|---|
GroupGatedFeedRule | 0xbDE71d01eC6d6c49b2bcc9067EcA352a17D25A91 | |
SimplePaymentFeedRule | 0x55efA60BE4fd711C114B853A5d251b95bdCC4F66 | |
TokenGatedFeedRule | 0x54649BfA8Ea33eDD90f93592Fe87627be6C76013 |
Namespace Rules | Address | |
---|---|---|
UsernameSimpleCharsetNamespaceRule | 0x1dB51f49DE4D266B2ab7D62656510083e0AACe44 | |
UsernameLengthNamespaceRule | 0x0F0Fe596bAfddbd2Eb4037Fc111b9C4aE5192C5C | |
UsernameReservedNamespaceRule | 0x9a8b0e3344f5ca5f6fc9FcEb8fF543FDeF5eb2b9 | |
TokenGatedNamespaceRule | 0x87A69174530aA735768096c5F24a0F559553Dd84 | |
UsernamePricePerLengthNamespaceRule | 0x4aBdf719Bc6659e91233c62D4d08D6F4229989e8 |
Follow Rules | Address | |
---|---|---|
SimplePaymentFollowRule | 0x7EA84D750E8C2b7D0EB5e8114f54111d78Eeb992 | |
TokenGatedFollowRule | 0x51BB76bae8eb8f1B69B8F4c3e310d49423a9aF33 |
Post Rules | Address | |
---|---|---|
FollowersOnlyPostRule | 0x8956af058dF5Cb3609Fc10B2ea293764f55F5B0c |
Global Rules | Address | |
---|---|---|
AccountBlockingRule | 0xf3de16e99679243E36BB449CADEA247Cf61450e1 |
Lens Contracts
You can find the source code for the Lens smart contracts on GitHub.