From b9d484d757c983b4a3670e272ba231121f6c71cc Mon Sep 17 00:00:00 2001 From: Adrien Lacombe Date: Wed, 15 Nov 2023 15:39:28 +0100 Subject: [PATCH] add lens --- ...680fccb36748fa9831851643781608844.abi.json | 146 + ...c155634fbc732f92e853b10b288ad5a1d.abi.json | 3233 +++++++++++++++++ ...361f3aacd73a61a9bd6c10ca17f38e945.abi.json | 146 + polygon/lens/b2c.json | 190 + polygon/lens/eip712.json | 1805 +++++++++ 5 files changed, 5520 insertions(+) create mode 100644 polygon/lens/abis/0xd4f2f33680fccb36748fa9831851643781608844.abi.json create mode 100644 polygon/lens/abis/0xdb46d1dc155634fbc732f92e853b10b288ad5a1d.abi.json create mode 100644 polygon/lens/abis/0xe7e7ead361f3aacd73a61a9bd6c10ca17f38e945.abi.json create mode 100644 polygon/lens/b2c.json create mode 100644 polygon/lens/eip712.json diff --git a/polygon/lens/abis/0xd4f2f33680fccb36748fa9831851643781608844.abi.json b/polygon/lens/abis/0xd4f2f33680fccb36748fa9831851643781608844.abi.json new file mode 100644 index 00000000..81e2c51f --- /dev/null +++ b/polygon/lens/abis/0xd4f2f33680fccb36748fa9831851643781608844.abi.json @@ -0,0 +1,146 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "_logic", + "type": "address" + }, + { + "internalType": "address", + "name": "admin_", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "stateMutability": "payable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousAdmin", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newAdmin", + "type": "address" + } + ], + "name": "AdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "beacon", + "type": "address" + } + ], + "name": "BeaconUpgraded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "admin", + "outputs": [ + { + "internalType": "address", + "name": "admin_", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newAdmin", + "type": "address" + } + ], + "name": "changeAdmin", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "implementation", + "outputs": [ + { + "internalType": "address", + "name": "implementation_", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newImplementation", + "type": "address" + } + ], + "name": "upgradeTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newImplementation", + "type": "address" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "upgradeToAndCall", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] diff --git a/polygon/lens/abis/0xdb46d1dc155634fbc732f92e853b10b288ad5a1d.abi.json b/polygon/lens/abis/0xdb46d1dc155634fbc732f92e853b10b288ad5a1d.abi.json new file mode 100644 index 00000000..c9639034 --- /dev/null +++ b/polygon/lens/abis/0xdb46d1dc155634fbc732f92e853b10b288ad5a1d.abi.json @@ -0,0 +1,3233 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "followNFTImpl", + "type": "address" + }, + { + "internalType": "address", + "name": "collectNFTImpl", + "type": "address" + }, + { + "internalType": "address", + "name": "moduleRegistry", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenGuardianCooldown", + "type": "uint256" + }, + { + "components": [ + { + "internalType": "address", + "name": "lensHandlesAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "tokenHandleRegistryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "legacyFeeFollowModule", + "type": "address" + }, + { + "internalType": "address", + "name": "legacyProfileFollowModule", + "type": "address" + }, + { + "internalType": "address", + "name": "newFeeFollowModule", + "type": "address" + } + ], + "internalType": "struct Types.MigrationParams", + "name": "migrationParams", + "type": "tuple" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "AlreadyEnabled", + "type": "error" + }, + { + "inputs": [], + "name": "CallerNotCollectNFT", + "type": "error" + }, + { + "inputs": [], + "name": "CallerNotFollowNFT", + "type": "error" + }, + { + "inputs": [], + "name": "CannotInitImplementation", + "type": "error" + }, + { + "inputs": [], + "name": "DisablingAlreadyTriggered", + "type": "error" + }, + { + "inputs": [], + "name": "ExecutorInvalid", + "type": "error" + }, + { + "inputs": [], + "name": "GuardianEnabled", + "type": "error" + }, + { + "inputs": [], + "name": "InitParamsInvalid", + "type": "error" + }, + { + "inputs": [], + "name": "Initialized", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidOwner", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidParameter", + "type": "error" + }, + { + "inputs": [], + "name": "NonERC721ReceiverImplementer", + "type": "error" + }, + { + "inputs": [], + "name": "NotEOA", + "type": "error" + }, + { + "inputs": [], + "name": "NotGovernance", + "type": "error" + }, + { + "inputs": [], + "name": "NotHub", + "type": "error" + }, + { + "inputs": [], + "name": "NotMigrationAdmin", + "type": "error" + }, + { + "inputs": [], + "name": "NotOwnerOrApproved", + "type": "error" + }, + { + "inputs": [], + "name": "NotProfileOwner", + "type": "error" + }, + { + "inputs": [], + "name": "NotWhitelisted", + "type": "error" + }, + { + "inputs": [], + "name": "Paused", + "type": "error" + }, + { + "inputs": [], + "name": "PublishingPaused", + "type": "error" + }, + { + "inputs": [], + "name": "TokenDoesNotExist", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "approved", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "pubId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "collectNFTId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "timestamp", + "type": "uint256" + } + ], + "name": "CollectNFTTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "implementation", + "type": "address" + }, + { + "indexed": false, + "internalType": "string", + "name": "version", + "type": "string" + }, + { + "indexed": false, + "internalType": "bytes20", + "name": "gitCommit", + "type": "bytes20" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "timestamp", + "type": "uint256" + } + ], + "name": "LensUpgradeVersion", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "wallet", + "type": "address" + }, + { + "indexed": true, + "internalType": "bool", + "name": "enabled", + "type": "bool" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "tokenGuardianDisablingTimestamp", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "timestamp", + "type": "uint256" + } + ], + "name": "TokenGuardianStateChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint16", + "name": "prevTreasuryFee", + "type": "uint16" + }, + { + "indexed": true, + "internalType": "uint16", + "name": "newTreasuryFee", + "type": "uint16" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "timestamp", + "type": "uint256" + } + ], + "name": "TreasuryFeeSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "prevTreasury", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newTreasury", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "timestamp", + "type": "uint256" + } + ], + "name": "TreasurySet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "unfollowerProfileId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "idOfProfileUnfollowed", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "transactionExecutor", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "timestamp", + "type": "uint256" + } + ], + "name": "Unfollowed", + "type": "event" + }, + { + "inputs": [], + "name": "DANGER__disableTokenGuardian", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "TOKEN_GUARDIAN_COOLDOWN", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "publicationActedProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "publicationActedId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "actorProfileId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "referrerProfileIds", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "referrerPubIds", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "actionModuleAddress", + "type": "address" + }, + { + "internalType": "bytes", + "name": "actionModuleData", + "type": "bytes" + } + ], + "internalType": "struct Types.PublicationActionParams", + "name": "publicationActionParams", + "type": "tuple" + } + ], + "name": "act", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "publicationActedProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "publicationActedId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "actorProfileId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "referrerProfileIds", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "referrerPubIds", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "actionModuleAddress", + "type": "address" + }, + { + "internalType": "bytes", + "name": "actionModuleData", + "type": "bytes" + } + ], + "internalType": "struct Types.PublicationActionParams", + "name": "publicationActionParams", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + } + ], + "internalType": "struct Types.EIP712Signature", + "name": "signature", + "type": "tuple" + } + ], + "name": "actWithSig", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "profileIds", + "type": "uint256[]" + } + ], + "name": "batchMigrateFollowModules", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "followerProfileIds", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "idOfProfileFollowed", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "followTokenIds", + "type": "uint256[]" + } + ], + "name": "batchMigrateFollowers", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "followerProfileId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "idsOfProfileFollowed", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "followTokenIds", + "type": "uint256[]" + } + ], + "name": "batchMigrateFollows", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "profileIds", + "type": "uint256[]" + } + ], + "name": "batchMigrateProfiles", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "delegatorProfileId", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "delegatedExecutors", + "type": "address[]" + }, + { + "internalType": "bool[]", + "name": "approvals", + "type": "bool[]" + }, + { + "internalType": "uint64", + "name": "configNumber", + "type": "uint64" + }, + { + "internalType": "bool", + "name": "switchToGivenConfig", + "type": "bool" + } + ], + "name": "changeDelegatedExecutorsConfig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "delegatorProfileId", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "delegatedExecutors", + "type": "address[]" + }, + { + "internalType": "bool[]", + "name": "approvals", + "type": "bool[]" + } + ], + "name": "changeDelegatedExecutorsConfig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "delegatorProfileId", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "delegatedExecutors", + "type": "address[]" + }, + { + "internalType": "bool[]", + "name": "approvals", + "type": "bool[]" + }, + { + "internalType": "uint64", + "name": "configNumber", + "type": "uint64" + }, + { + "internalType": "bool", + "name": "switchToGivenConfig", + "type": "bool" + }, + { + "components": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + } + ], + "internalType": "struct Types.EIP712Signature", + "name": "signature", + "type": "tuple" + } + ], + "name": "changeDelegatedExecutorsConfigWithSig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "publicationCollectedProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "publicationCollectedId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "collectorProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "referrerProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "referrerPubId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "collectModuleData", + "type": "bytes" + } + ], + "internalType": "struct Types.LegacyCollectParams", + "name": "collectParams", + "type": "tuple" + } + ], + "name": "collectLegacy", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "publicationCollectedProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "publicationCollectedId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "collectorProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "referrerProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "referrerPubId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "collectModuleData", + "type": "bytes" + } + ], + "internalType": "struct Types.LegacyCollectParams", + "name": "collectParams", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + } + ], + "internalType": "struct Types.EIP712Signature", + "name": "signature", + "type": "tuple" + } + ], + "name": "collectLegacyWithSig", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "contentURI", + "type": "string" + }, + { + "internalType": "uint256", + "name": "pointedProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pointedPubId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "referrerProfileIds", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "referrerPubIds", + "type": "uint256[]" + }, + { + "internalType": "bytes", + "name": "referenceModuleData", + "type": "bytes" + }, + { + "internalType": "address[]", + "name": "actionModules", + "type": "address[]" + }, + { + "internalType": "bytes[]", + "name": "actionModulesInitDatas", + "type": "bytes[]" + }, + { + "internalType": "address", + "name": "referenceModule", + "type": "address" + }, + { + "internalType": "bytes", + "name": "referenceModuleInitData", + "type": "bytes" + } + ], + "internalType": "struct Types.CommentParams", + "name": "commentParams", + "type": "tuple" + } + ], + "name": "comment", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "contentURI", + "type": "string" + }, + { + "internalType": "uint256", + "name": "pointedProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pointedPubId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "referrerProfileIds", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "referrerPubIds", + "type": "uint256[]" + }, + { + "internalType": "bytes", + "name": "referenceModuleData", + "type": "bytes" + }, + { + "internalType": "address[]", + "name": "actionModules", + "type": "address[]" + }, + { + "internalType": "bytes[]", + "name": "actionModulesInitDatas", + "type": "bytes[]" + }, + { + "internalType": "address", + "name": "referenceModule", + "type": "address" + }, + { + "internalType": "bytes", + "name": "referenceModuleInitData", + "type": "bytes" + } + ], + "internalType": "struct Types.CommentParams", + "name": "commentParams", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + } + ], + "internalType": "struct Types.EIP712Signature", + "name": "signature", + "type": "tuple" + } + ], + "name": "commentWithSig", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "address", + "name": "followModule", + "type": "address" + }, + { + "internalType": "bytes", + "name": "followModuleInitData", + "type": "bytes" + } + ], + "internalType": "struct Types.CreateProfileParams", + "name": "createProfileParams", + "type": "tuple" + } + ], + "name": "createProfile", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pubId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "collectNFTId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "emitCollectNFTTransferEvent", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "unfollowerProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "idOfProfileUnfollowed", + "type": "uint256" + }, + { + "internalType": "address", + "name": "transactionExecutor", + "type": "address" + } + ], + "name": "emitUnfollowedEvent", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "emitVersion", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "enableTokenGuardian", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "exists", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "followerProfileId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "idsOfProfilesToFollow", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "followTokenIds", + "type": "uint256[]" + }, + { + "internalType": "bytes[]", + "name": "datas", + "type": "bytes[]" + } + ], + "name": "follow", + "outputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "followerProfileId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "idsOfProfilesToFollow", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "followTokenIds", + "type": "uint256[]" + }, + { + "internalType": "bytes[]", + "name": "datas", + "type": "bytes[]" + }, + { + "components": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + } + ], + "internalType": "struct Types.EIP712Signature", + "name": "signature", + "type": "tuple" + } + ], + "name": "followWithSig", + "outputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pubId", + "type": "uint256" + } + ], + "name": "getContentURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "delegatorProfileId", + "type": "uint256" + } + ], + "name": "getDelegatedExecutorsConfigNumber", + "outputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "delegatorProfileId", + "type": "uint256" + } + ], + "name": "getDelegatedExecutorsMaxConfigNumberSet", + "outputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "delegatorProfileId", + "type": "uint256" + } + ], + "name": "getDelegatedExecutorsPrevConfigNumber", + "outputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDomainSeparator", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getFollowNFTImpl", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getFollowTokenURIContract", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getGitCommit", + "outputs": [ + { + "internalType": "bytes20", + "name": "", + "type": "bytes20" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getGovernance", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getLegacyCollectNFTImpl", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getModuleRegistry", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + } + ], + "name": "getProfile", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "pubCount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "followModule", + "type": "address" + }, + { + "internalType": "address", + "name": "followNFT", + "type": "address" + }, + { + "internalType": "string", + "name": "__DEPRECATED__handle", + "type": "string" + }, + { + "internalType": "string", + "name": "__DEPRECATED__imageURI", + "type": "string" + }, + { + "internalType": "string", + "name": "__DEPRECATED__followNFTURI", + "type": "string" + }, + { + "internalType": "string", + "name": "metadataURI", + "type": "string" + } + ], + "internalType": "struct Types.Profile", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "handleHash", + "type": "bytes32" + } + ], + "name": "getProfileIdByHandleHash", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getProfileTokenURIContract", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pubId", + "type": "uint256" + } + ], + "name": "getPublication", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "pointedProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pointedPubId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "contentURI", + "type": "string" + }, + { + "internalType": "address", + "name": "referenceModule", + "type": "address" + }, + { + "internalType": "address", + "name": "__DEPRECATED__collectModule", + "type": "address" + }, + { + "internalType": "address", + "name": "__DEPRECATED__collectNFT", + "type": "address" + }, + { + "internalType": "enum Types.PublicationType", + "name": "pubType", + "type": "uint8" + }, + { + "internalType": "uint256", + "name": "rootProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "rootPubId", + "type": "uint256" + } + ], + "internalType": "struct Types.PublicationMemory", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pubId", + "type": "uint256" + } + ], + "name": "getPublicationType", + "outputs": [ + { + "internalType": "enum Types.PublicationType", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getState", + "outputs": [ + { + "internalType": "enum Types.ProtocolState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "wallet", + "type": "address" + } + ], + "name": "getTokenGuardianDisablingTimestamp", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTreasury", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTreasuryData", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint16", + "name": "", + "type": "uint16" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTreasuryFee", + "outputs": [ + { + "internalType": "uint16", + "name": "", + "type": "uint16" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getVersion", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint8", + "name": "increment", + "type": "uint8" + } + ], + "name": "incrementNonce", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol", + "type": "string" + }, + { + "internalType": "address", + "name": "newGovernance", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pubId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "module", + "type": "address" + } + ], + "name": "isActionModuleEnabledInPublication", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "byProfileId", + "type": "uint256" + } + ], + "name": "isBlocked", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "delegatorProfileId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "delegatedExecutor", + "type": "address" + } + ], + "name": "isDelegatedExecutorApproved", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "delegatorProfileId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "delegatedExecutor", + "type": "address" + }, + { + "internalType": "uint64", + "name": "configNumber", + "type": "uint64" + } + ], + "name": "isDelegatedExecutorApproved", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "followerProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "followedProfileId", + "type": "uint256" + } + ], + "name": "isFollowing", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "profileCreator", + "type": "address" + } + ], + "name": "isProfileCreatorWhitelisted", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "mintTimestampOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "metadataURI", + "type": "string" + }, + { + "internalType": "uint256", + "name": "pointedProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pointedPubId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "referrerProfileIds", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "referrerPubIds", + "type": "uint256[]" + }, + { + "internalType": "bytes", + "name": "referenceModuleData", + "type": "bytes" + } + ], + "internalType": "struct Types.MirrorParams", + "name": "mirrorParams", + "type": "tuple" + } + ], + "name": "mirror", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "metadataURI", + "type": "string" + }, + { + "internalType": "uint256", + "name": "pointedProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pointedPubId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "referrerProfileIds", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "referrerPubIds", + "type": "uint256[]" + }, + { + "internalType": "bytes", + "name": "referenceModuleData", + "type": "bytes" + } + ], + "internalType": "struct Types.MirrorParams", + "name": "mirrorParams", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + } + ], + "internalType": "struct Types.EIP712Signature", + "name": "signature", + "type": "tuple" + } + ], + "name": "mirrorWithSig", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + } + ], + "name": "nonces", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "contentURI", + "type": "string" + }, + { + "internalType": "address[]", + "name": "actionModules", + "type": "address[]" + }, + { + "internalType": "bytes[]", + "name": "actionModulesInitDatas", + "type": "bytes[]" + }, + { + "internalType": "address", + "name": "referenceModule", + "type": "address" + }, + { + "internalType": "bytes", + "name": "referenceModuleInitData", + "type": "bytes" + } + ], + "internalType": "struct Types.PostParams", + "name": "postParams", + "type": "tuple" + } + ], + "name": "post", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "contentURI", + "type": "string" + }, + { + "internalType": "address[]", + "name": "actionModules", + "type": "address[]" + }, + { + "internalType": "bytes[]", + "name": "actionModulesInitDatas", + "type": "bytes[]" + }, + { + "internalType": "address", + "name": "referenceModule", + "type": "address" + }, + { + "internalType": "bytes", + "name": "referenceModuleInitData", + "type": "bytes" + } + ], + "internalType": "struct Types.PostParams", + "name": "postParams", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + } + ], + "internalType": "struct Types.EIP712Signature", + "name": "signature", + "type": "tuple" + } + ], + "name": "postWithSig", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "contentURI", + "type": "string" + }, + { + "internalType": "uint256", + "name": "pointedProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pointedPubId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "referrerProfileIds", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "referrerPubIds", + "type": "uint256[]" + }, + { + "internalType": "bytes", + "name": "referenceModuleData", + "type": "bytes" + }, + { + "internalType": "address[]", + "name": "actionModules", + "type": "address[]" + }, + { + "internalType": "bytes[]", + "name": "actionModulesInitDatas", + "type": "bytes[]" + }, + { + "internalType": "address", + "name": "referenceModule", + "type": "address" + }, + { + "internalType": "bytes", + "name": "referenceModuleInitData", + "type": "bytes" + } + ], + "internalType": "struct Types.QuoteParams", + "name": "quoteParams", + "type": "tuple" + } + ], + "name": "quote", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "contentURI", + "type": "string" + }, + { + "internalType": "uint256", + "name": "pointedProfileId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pointedPubId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "referrerProfileIds", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "referrerPubIds", + "type": "uint256[]" + }, + { + "internalType": "bytes", + "name": "referenceModuleData", + "type": "bytes" + }, + { + "internalType": "address[]", + "name": "actionModules", + "type": "address[]" + }, + { + "internalType": "bytes[]", + "name": "actionModulesInitDatas", + "type": "bytes[]" + }, + { + "internalType": "address", + "name": "referenceModule", + "type": "address" + }, + { + "internalType": "bytes", + "name": "referenceModuleInitData", + "type": "bytes" + } + ], + "internalType": "struct Types.QuoteParams", + "name": "quoteParams", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + } + ], + "internalType": "struct Types.EIP712Signature", + "name": "signature", + "type": "tuple" + } + ], + "name": "quoteWithSig", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "salePrice", + "type": "uint256" + } + ], + "name": "royaltyInfo", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "byProfileId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "idsOfProfilesToSetBlockStatus", + "type": "uint256[]" + }, + { + "internalType": "bool[]", + "name": "blockStatus", + "type": "bool[]" + } + ], + "name": "setBlockStatus", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "byProfileId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "idsOfProfilesToSetBlockStatus", + "type": "uint256[]" + }, + { + "internalType": "bool[]", + "name": "blockStatus", + "type": "bool[]" + }, + { + "components": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + } + ], + "internalType": "struct Types.EIP712Signature", + "name": "signature", + "type": "tuple" + } + ], + "name": "setBlockStatusWithSig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newEmergencyAdmin", + "type": "address" + } + ], + "name": "setEmergencyAdmin", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "followModule", + "type": "address" + }, + { + "internalType": "bytes", + "name": "followModuleInitData", + "type": "bytes" + } + ], + "name": "setFollowModule", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "followModule", + "type": "address" + }, + { + "internalType": "bytes", + "name": "followModuleInitData", + "type": "bytes" + }, + { + "components": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + } + ], + "internalType": "struct Types.EIP712Signature", + "name": "signature", + "type": "tuple" + } + ], + "name": "setFollowModuleWithSig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "followTokenURIContract", + "type": "address" + } + ], + "name": "setFollowTokenURIContract", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newGovernance", + "type": "address" + } + ], + "name": "setGovernance", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "migrationAdmins", + "type": "address[]" + }, + { + "internalType": "bool", + "name": "whitelisted", + "type": "bool" + } + ], + "name": "setMigrationAdmins", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "metadataURI", + "type": "string" + } + ], + "name": "setProfileMetadataURI", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "profileId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "metadataURI", + "type": "string" + }, + { + "components": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + } + ], + "internalType": "struct Types.EIP712Signature", + "name": "signature", + "type": "tuple" + } + ], + "name": "setProfileMetadataURIWithSig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "profileTokenURIContract", + "type": "address" + } + ], + "name": "setProfileTokenURIContract", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "royaltiesInBasisPoints", + "type": "uint256" + } + ], + "name": "setRoyalty", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "enum Types.ProtocolState", + "name": "newState", + "type": "uint8" + } + ], + "name": "setState", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newTreasury", + "type": "address" + } + ], + "name": "setTreasury", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint16", + "name": "newTreasuryFee", + "type": "uint16" + } + ], + "name": "setTreasuryFee", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "tokenDataOf", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint96", + "name": "mintTimestamp", + "type": "uint96" + } + ], + "internalType": "struct Types.TokenData", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "unfollowerProfileId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "idsOfProfilesToUnfollow", + "type": "uint256[]" + } + ], + "name": "unfollow", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "unfollowerProfileId", + "type": "uint256" + }, + { + "internalType": "uint256[]", + "name": "idsOfProfilesToUnfollow", + "type": "uint256[]" + }, + { + "components": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + } + ], + "internalType": "struct Types.EIP712Signature", + "name": "signature", + "type": "tuple" + } + ], + "name": "unfollowWithSig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "profileCreator", + "type": "address" + }, + { + "internalType": "bool", + "name": "whitelist", + "type": "bool" + } + ], + "name": "whitelistProfileCreator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/polygon/lens/abis/0xe7e7ead361f3aacd73a61a9bd6c10ca17f38e945.abi.json b/polygon/lens/abis/0xe7e7ead361f3aacd73a61a9bd6c10ca17f38e945.abi.json new file mode 100644 index 00000000..81e2c51f --- /dev/null +++ b/polygon/lens/abis/0xe7e7ead361f3aacd73a61a9bd6c10ca17f38e945.abi.json @@ -0,0 +1,146 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "_logic", + "type": "address" + }, + { + "internalType": "address", + "name": "admin_", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "stateMutability": "payable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousAdmin", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newAdmin", + "type": "address" + } + ], + "name": "AdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "beacon", + "type": "address" + } + ], + "name": "BeaconUpgraded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "admin", + "outputs": [ + { + "internalType": "address", + "name": "admin_", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newAdmin", + "type": "address" + } + ], + "name": "changeAdmin", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "implementation", + "outputs": [ + { + "internalType": "address", + "name": "implementation_", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newImplementation", + "type": "address" + } + ], + "name": "upgradeTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newImplementation", + "type": "address" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "upgradeToAndCall", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] diff --git a/polygon/lens/b2c.json b/polygon/lens/b2c.json new file mode 100644 index 00000000..b081e9bd --- /dev/null +++ b/polygon/lens/b2c.json @@ -0,0 +1,190 @@ +{ + "blockchainName": "polygon", + "chainId": 137, + "contracts": [ + { + "address": "0xdb46d1dc155634fbc732f92e853b10b288ad5a1d", + "contractName": "LensHub", + "selectors": { + "0x20905506": { + "erc20OfInterest": [], + "method": "whitelist_profile_creator", + "plugin": "Lens" + }, + "0x4727ce3a": { + "erc20OfInterest": [], + "method": "collect", + "plugin": "Lens" + }, + "0x4926c4ed": { + "erc20OfInterest": [], + "method": "change_del_exec_with_sign", + "plugin": "Lens" + }, + "0x4b7312a9": { + "erc20OfInterest": [], + "method": "follow", + "plugin": "Lens" + }, + "0x4d7b35a0": { + "erc20OfInterest": [], + "method": "follow_with_sign", + "plugin": "Lens" + }, + "0x51c3659c": { + "erc20OfInterest": [], + "method": "change_del_exec_1", + "plugin": "Lens" + }, + "0x560a4db1": { + "erc20OfInterest": [], + "method": "act", + "plugin": "Lens" + }, + "0x65f29f27": { + "erc20OfInterest": [], + "method": "quote_with_sign", + "plugin": "Lens" + }, + "0x66b0dcd3": { + "erc20OfInterest": [], + "method": "post", + "plugin": "Lens" + }, + "0x6d0fd658": { + "erc20OfInterest": [], + "method": "metadata_with_sign", + "plugin": "Lens" + }, + "0x6dea40b3": { + "erc20OfInterest": [], + "method": "set_follow_mod", + "plugin": "Lens" + }, + "0x809d8947": { + "erc20OfInterest": [], + "method": "unfollow_with_sign", + "plugin": "Lens" + }, + "0x815ed04a": { + "erc20OfInterest": [], + "method": "unfollow", + "plugin": "Lens" + }, + "0x907cd7d2": { + "erc20OfInterest": [], + "method": "post_with_sign", + "plugin": "Lens" + }, + "0xb273b4a7": { + "erc20OfInterest": [], + "method": "comment", + "plugin": "Lens" + }, + "0xb42df51a": { + "erc20OfInterest": [], + "method": "comment_with_sign", + "plugin": "Lens" + }, + "0xb7902e73": { + "erc20OfInterest": [], + "method": "collect_with_sign", + "plugin": "Lens" + }, + "0xc1f4b40a": { + "erc20OfInterest": [], + "method": "change_del_exec_2", + "plugin": "Lens" + }, + "0xc5d5d96a": { + "erc20OfInterest": [], + "method": "act", + "plugin": "Lens" + }, + "0xc6d45944": { + "erc20OfInterest": [], + "method": "set_block_status_with_sign", + "plugin": "Lens" + }, + "0xc86642c7": { + "erc20OfInterest": [], + "method": "act_with_sign", + "plugin": "Lens" + }, + "0xce30bb4f": { + "erc20OfInterest": [], + "method": "set_follow_mod_with_sign", + "plugin": "Lens" + }, + "0xe6a402b5": { + "erc20OfInterest": [], + "method": "mirror_with_sign", + "plugin": "Lens" + }, + "0xefe4fd83": { + "erc20OfInterest": [], + "method": "metadata", + "plugin": "Lens" + }, + "0xf0ba35f0": { + "erc20OfInterest": [], + "method": "quote", + "plugin": "Lens" + }, + "0xf90604d1": { + "erc20OfInterest": [], + "method": "mirror", + "plugin": "Lens" + }, + "0xfb827e82": { + "erc20OfInterest": [], + "method": "set_block_status", + "plugin": "Lens" + } + } + }, + { + "address": "0xd4f2f33680fccb36748fa9831851643781608844", + "contractName": "TokenHandleRegistry", + "selectors": { + "0x0c65b39d": { + "erc20OfInterest": [], + "method": "unlink", + "plugin": "Lens" + }, + "0x7e502fe0": { + "erc20OfInterest": [], + "method": "link_with_sign", + "plugin": "Lens" + }, + "0x825ab164": { + "erc20OfInterest": [], + "method": "unlink_with_sign", + "plugin": "Lens" + }, + "0x86cf48e7": { + "erc20OfInterest": [], + "method": "link", + "plugin": "Lens" + } + } + }, + { + "address": "0xe7e7ead361f3aacd73a61a9bd6c10ca17f38e945", + "contractName": "LensHandle", + "selectors": { + "0x42966c68": { + "erc20OfInterest": [], + "method": "burn", + "plugin": "Lens" + }, + "0xf08e8f5e": { + "erc20OfInterest": [], + "method": "mint", + "plugin": "Lens" + } + } + } + ], + "name": "Lens" +} \ No newline at end of file diff --git a/polygon/lens/eip712.json b/polygon/lens/eip712.json new file mode 100644 index 00000000..5c3aab7c --- /dev/null +++ b/polygon/lens/eip712.json @@ -0,0 +1,1805 @@ +{ + "blockchainName": "polygon", + "chainId": 137, + "contracts": [ + { + "address": "0xDb46d1Dc155634FbC732f92E853b10B288AD5a1d", + "contractName": "LensHub", + "messages": [ + { + "mapper": { + "fields": [ + { + "label": "pubprofileId", + "path": "pubprofileId" + }, + { + "label": "publicationId", + "path": "publicationId" + }, + { + "label": "actorprofileId", + "path": "actorprofileId" + } + ], + "label": "act" + }, + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "act": [ + { + "name": "pubprofileId", + "type": "uint256" + }, + { + "name": "publicationId", + "type": "uint256" + }, + { + "name": "actorprofileId", + "type": "uint256" + } + ] + } + }, + { + "mapper": { + "fields": [ + { + "label": "pubprofileId", + "path": "pubprofileId" + }, + { + "label": "publicationId", + "path": "publicationId" + }, + { + "label": "actorprofileId", + "path": "actorprofileId" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "act_with_sign", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "act_with_sign": [ + { + "name": "pubprofileId", + "type": "uint256" + }, + { + "name": "publicationId", + "type": "uint256" + }, + { + "name": "actorprofileId", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "tokenId", + "path": "tokenId" + } + ], + "label": "burn", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "burn": [ + { + "name": "tokenId", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "delegatorProfileId", + "path": "delegatorProfileId" + }, + { + "label": "delegatedExecutors", + "path": "delegatedExecutors" + }, + { + "label": "approvals", + "path": "approvals" + }, + { + "label": "configNumber", + "path": "configNumber" + }, + { + "label": "switchToGivenConfig", + "path": "switchToGivenConfig" + }, + { + "label": "nonce", + "path": "nonce" + }, + { + "label": "deadline", + "path": "deadline" + } + ], + "label": "ChangeDelegatedExecutorsConfig", + "schema": { + "ChangeDelegatedExecutorsConfig": [ + { + "name": "delegatorProfileId", + "type": "uint256" + }, + { + "name": "delegatedExecutors", + "type": "address[]" + }, + { + "name": "approvals", + "type": "bool[]" + }, + { + "name": "configNumber", + "type": "uint64" + }, + { + "name": "switchToGivenConfig", + "type": "bool" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ], + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "delegatorProfileId", + "path": "delegatorProfileId" + }, + { + "label": "delegatedExecutor", + "path": "delegatedExecutor" + }, + { + "label": "approval", + "path": "approval" + }, + { + "label": "configNumber", + "path": "configNumber" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "change_delegate_exe_config__with_sign", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "change_delegate_exe_config__with_sign": [ + { + "name": "delegatorProfileId", + "type": "uint256" + }, + { + "name": "delegatedExecutor", + "type": "address" + }, + { + "name": "approval", + "type": "bool" + }, + { + "name": "configNumber", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "publicationCollectedProfileId", + "path": "publicationCollectedProfileId" + }, + { + "label": "publicationCollectedId", + "path": "publicationCollectedId" + }, + { + "label": "collectorProfileId", + "path": "collectorProfileId" + } + ], + "label": "collect", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "collect": [ + { + "name": "publicationCollectedProfileId", + "type": "uint256" + }, + { + "name": "publicationCollectedId", + "type": "uint256" + }, + { + "name": "collectorProfileId", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "publicationCollectedProfileId", + "path": "publicationCollectedProfileId" + }, + { + "label": "publicationCollectedId", + "path": "publicationCollectedId" + }, + { + "label": "collectorProfileId", + "path": "collectorProfileId" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "collect_with_sign", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "collect_with_sign": [ + { + "name": "publicationCollectedProfileId", + "type": "uint256" + }, + { + "name": "publicationCollectedId", + "type": "uint256" + }, + { + "name": "collectorProfileId", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "profileId", + "path": "profileId" + }, + { + "label": "contentURI", + "path": "contentURI" + }, + { + "label": "pointedProfileId", + "path": "pointedProfileId" + }, + { + "label": "pointedPubId", + "path": "pointedPubId" + }, + { + "label": "referrerProfileIds", + "path": "referrerProfileIds" + }, + { + "label": "referrerPubIds", + "path": "referrerPubIds" + }, + { + "label": "referenceModuleData", + "path": "referenceModuleData" + }, + { + "label": "actionModules", + "path": "actionModules" + }, + { + "label": "actionModulesInitDatas", + "path": "actionModulesInitDatas" + }, + { + "label": "referenceModule", + "path": "referenceModule" + }, + { + "label": "referenceModuleInitData", + "path": "referenceModuleInitData" + }, + { + "label": "nonce", + "path": "nonce" + }, + { + "label": "deadline", + "path": "deadline" + } + ], + "label": "Comment", + "schema": { + "Comment": [ + { + "name": "profileId", + "type": "uint256" + }, + { + "name": "contentURI", + "type": "string" + }, + { + "name": "pointedProfileId", + "type": "uint256" + }, + { + "name": "pointedPubId", + "type": "uint256" + }, + { + "name": "referrerProfileIds", + "type": "uint256[]" + }, + { + "name": "referrerPubIds", + "type": "uint256[]" + }, + { + "name": "referenceModuleData", + "type": "bytes" + }, + { + "name": "actionModules", + "type": "address[]" + }, + { + "name": "actionModulesInitDatas", + "type": "bytes[]" + }, + { + "name": "referenceModule", + "type": "address" + }, + { + "name": "referenceModuleInitData", + "type": "bytes" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ], + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "profile_id", + "path": "profile_id" + }, + { + "label": "profile_id_pointed", + "path": "profile_id_pointed" + }, + { + "label": "pubid_pointed", + "path": "pubid_pointed" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "comment_with_sign", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "comment_with_sign": [ + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "profile_id_pointed", + "type": "uint256" + }, + { + "name": "pubid_pointed", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "to", + "path": "to" + }, + { + "label": "followModule", + "path": "followModule" + } + ], + "label": "create_profile", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "create_profile": [ + { + "name": "to", + "type": "address" + }, + { + "name": "followModule", + "type": "address" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "followerProfileId", + "path": "followerProfileId" + }, + { + "label": "idsOfProfilesToFollow", + "path": "idsOfProfilesToFollow" + }, + { + "label": "followTokenIds", + "path": "followTokenIds" + }, + { + "label": "datas", + "path": "datas" + }, + { + "label": "nonce", + "path": "nonce" + }, + { + "label": "deadline", + "path": "deadline" + } + ], + "label": "Follow", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "Follow": [ + { + "name": "followerProfileId", + "type": "uint256" + }, + { + "name": "idsOfProfilesToFollow", + "type": "uint256[]" + }, + { + "name": "followTokenIds", + "type": "uint256[]" + }, + { + "name": "datas", + "type": "bytes[]" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "followerProfileId", + "path": "followerProfileId" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "follow_with_sign", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "follow_with_sign": [ + { + "name": "followerProfileId", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "handle_id", + "path": "handle_id" + }, + { + "label": "profile_id", + "path": "profile_id" + } + ], + "label": "link", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "link": [ + { + "name": "handle_id", + "type": "uint256" + }, + { + "name": "profile_id", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "handle_id", + "path": "handle_id" + }, + { + "label": "profile_id", + "path": "profile_id" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "link_with_sig", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "link_with_sig": [ + { + "name": "handle_id", + "type": "uint256" + }, + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "to", + "path": "to" + }, + { + "label": "profile_id", + "path": "profile_id" + }, + { + "label": "profile_id_pointed", + "path": "profile_id_pointed" + }, + { + "label": "pubid_pointed", + "path": "pubid_pointed" + } + ], + "label": "mint", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "mint": [ + { + "name": "to", + "type": "uint256" + }, + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "profile_id_pointed", + "type": "uint256" + }, + { + "name": "pubid_pointed", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "profile_id", + "path": "profile_id" + }, + { + "label": "profileId", + "path": "profileId" + }, + { + "label": "metadataURI", + "path": "metadataURI" + }, + { + "label": "pointedProfileId", + "path": "pointedProfileId" + }, + { + "label": "pointedPubId", + "path": "pointedPubId" + }, + { + "label": "referrerProfileIds", + "path": "referrerProfileIds" + }, + { + "label": "referrerPubIds", + "path": "referrerPubIds" + }, + { + "label": "referenceModuleData", + "path": "referenceModuleData" + }, + { + "label": "nonce", + "path": "nonce" + }, + { + "label": "deadline", + "path": "deadline" + } + ], + "label": "mirror", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "Mirror": [ + { + "name": "profileId", + "type": "uint256" + }, + { + "name": "metadataURI", + "type": "string" + }, + { + "name": "pointedProfileId", + "type": "uint256" + }, + { + "name": "pointedPubId", + "type": "uint256" + }, + { + "name": "referrerProfileIds", + "type": "uint256[]" + }, + { + "name": "referrerPubIds", + "type": "uint256[]" + }, + { + "name": "referenceModuleData", + "type": "bytes" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "profile_id", + "path": "profile_id" + }, + { + "label": "profile_id_pointed", + "path": "profile_id_pointed" + }, + { + "label": "pubid_pointed", + "path": "pubid_pointed" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "mirror_with_sig", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "mirror_with_sig": [ + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "profile_id_pointed", + "type": "uint256" + }, + { + "name": "pubid_pointed", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "profileId", + "path": "profileId" + }, + { + "label": "contentURI", + "path": "contentURI" + }, + { + "label": "actionModules", + "path": "actionModules" + }, + { + "label": "actionModulesInitDatas", + "path": "actionModulesInitDatas" + }, + { + "label": "referenceModule", + "path": "referenceModule" + }, + { + "label": "referenceModuleInitData", + "path": "referenceModuleInitData" + }, + { + "label": "nonce", + "path": "nonce" + }, + { + "label": "deadline", + "path": "deadline" + } + ], + "label": "Post", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "Post": [ + { + "name": "profileId", + "type": "uint256" + }, + { + "name": "contentURI", + "type": "string" + }, + { + "name": "actionModules", + "type": "address[]" + }, + { + "name": "actionModulesInitDatas", + "type": "bytes[]" + }, + { + "name": "referenceModule", + "type": "address" + }, + { + "name": "referenceModuleInitData", + "type": "bytes" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "profile_id", + "path": "profile_id" + }, + { + "label": "referenceModule", + "path": "referenceModule" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "post_with_sign", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "post_with_sign": [ + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "referenceModule", + "type": "address" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "profileId", + "path": "profileId" + }, + { + "label": "contentURI", + "path": "contentURI" + }, + { + "label": "pointedProfileId", + "path": "pointedProfileId" + }, + { + "label": "pointedPubId", + "path": "pointedPubId" + }, + { + "label": "referrerProfileIds", + "path": "referrerProfileIds" + }, + { + "label": "referrerPubIds", + "path": "referrerPubIds" + }, + { + "label": "referenceModuleData", + "path": "referenceModuleData" + }, + { + "label": "actionModules", + "path": "actionModules" + }, + { + "label": "actionModulesInitDatas", + "path": "actionModulesInitDatas" + }, + { + "label": "referenceModule", + "path": "referenceModule" + }, + { + "label": "referenceModuleInitData", + "path": "referenceModuleInitData" + }, + { + "label": "nonce", + "path": "nonce" + }, + { + "label": "deadline", + "path": "deadline" + } + ], + "label": "Quote", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "Quote": [ + { + "name": "profileId", + "type": "uint256" + }, + { + "name": "contentURI", + "type": "string" + }, + { + "name": "pointedProfileId", + "type": "uint256" + }, + { + "name": "pointedPubId", + "type": "uint256" + }, + { + "name": "referrerProfileIds", + "type": "uint256[]" + }, + { + "name": "referrerPubIds", + "type": "uint256[]" + }, + { + "name": "referenceModuleData", + "type": "bytes" + }, + { + "name": "actionModules", + "type": "address[]" + }, + { + "name": "actionModulesInitDatas", + "type": "bytes[]" + }, + { + "name": "referenceModule", + "type": "address" + }, + { + "name": "referenceModuleInitData", + "type": "bytes" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "profile_id", + "path": "profile_id" + }, + { + "label": "profile_id_pointed", + "path": "profile_id_pointed" + }, + { + "label": "pubid_pointed", + "path": "pubid_pointed" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "quote_with_sign", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "quote_with_sign": [ + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "profile_id_pointed", + "type": "uint256" + }, + { + "name": "pubid_pointed", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "byProfileId", + "path": "byProfileId" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "set_block_status", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "set_block_status": [ + { + "name": "byProfileId", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "byProfileId", + "path": "byProfileId" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "set_block_status_with_sig", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "set_block_status_with_sig": [ + { + "name": "byProfileId", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "profile_id", + "path": "profile_id" + }, + { + "label": "followModule", + "path": "followModule" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "set_follow_mod_with_sig", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "set_follow_mod_with_sig": [ + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "followModule", + "type": "address" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "profileId", + "path": "profileId" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "set_profile_metadata_with_sign", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "set_profile_metadata_with_sign": [ + { + "name": "profileId", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "unfollowerProfileId", + "path": "unfollowerProfileId" + }, + { + "label": "idsOfProfilesToUnfollow", + "path": "idsOfProfilesToUnfollow" + }, + { + "label": "nonce", + "path": "nonce" + }, + { + "label": "deadline", + "path": "deadline" + } + ], + "label": "Unfollow", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "Unfollow": [ + { + "name": "unfollowerProfileId", + "type": "uint256" + }, + { + "name": "idsOfProfilesToUnfollow", + "type": "uint256[]" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "unfollowerProfileId", + "path": "unfollowerProfileId" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "unfollow_with_sign", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "unfollow_with_sign": [ + { + "name": "unfollowerProfileId", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + }, + { + "mapper": { + "fields": [ + { + "label": "handle_id", + "path": "handle_id" + }, + { + "label": "profile_id", + "path": "profile_id" + }, + { + "label": "signatureDeadline", + "path": "signatureDeadline" + } + ], + "label": "unlink_with_sig", + "schema": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "unlink_with_sig": [ + { + "name": "handle_id", + "type": "uint256" + }, + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + } + ], + "name": "LensHub" + } + ] +} \ No newline at end of file