From 107bbdbfb6bddd0434771f18f5e3e821e6ff2102 Mon Sep 17 00:00:00 2001 From: Volodymyr Lykhonis Date: Wed, 6 Dec 2023 16:25:08 +0100 Subject: [PATCH] Update contracts --- README.md | 4 +- .../abi/assets/lsp7/DigitalAssetDrop.json | 294 +-- .../abi/assets/lsp7/GenesisDigitalAsset.json | 1124 ++++----- .../abi/assets/lsp7/MintableDigitalAsset.json | 1064 ++++----- .../CollectorIdentifiableDigitalAsset.json | 1924 ++++++++-------- .../MintableIdentifiableDigitalAsset.json | 1278 +++++------ .../abi/drops/LSP7DropsDigitalAsset.json | 1704 +++++++------- .../abi/drops/LSP8DropsDigitalAsset.json | 2012 +++++++++-------- artifacts/abi/marketplace/Participant.json | 366 +-- .../abi/marketplace/lsp7/LSP7Listings.json | 898 ++++---- .../abi/marketplace/lsp7/LSP7Marketplace.json | 876 +++---- .../abi/marketplace/lsp7/LSP7Offers.json | 732 +++--- .../abi/marketplace/lsp8/LSP8Auctions.json | 1232 +++++----- .../abi/marketplace/lsp8/LSP8Listings.json | 804 +++---- .../abi/marketplace/lsp8/LSP8Marketplace.json | 1062 ++++----- .../abi/marketplace/lsp8/LSP8Offers.json | 676 +++--- artifacts/abi/page/PageName.json | 1984 ++++++++-------- .../bytecode/assets/lsp7/DigitalAssetDrop.bin | 2 +- .../assets/lsp7/MintableDigitalAsset.bin | 2 +- .../lsp8/MintableIdentifiableDigitalAsset.bin | 2 +- .../bytecode/drops/LSP7DropsDigitalAsset.bin | 2 +- .../bytecode/drops/LSP8DropsDigitalAsset.bin | 2 +- lib/erc725 | 2 +- lib/lsp-smart-contracts | 2 +- .../CollectorIdentifiableDigitalAsset.sol | 4 +- src/page/PageName.sol | 4 +- test/assets/lsp7/DigitalAssetDrop.t.sol | 4 +- .../CollectorIdentifiableDigitalAsset.t.sol | 30 +- test/drops/LSP7DropsDigitalAsset.t.sol | 4 +- test/drops/LSP8DropsDigitalAsset.t.sol | 7 +- test/marketplace/Participant.t.sol | 25 +- test/marketplace/lsp7/LSP7Listings.t.sol | 20 +- test/marketplace/lsp7/LSP7Marketplace.t.sol | 43 +- test/marketplace/lsp7/LSP7Offers.t.sol | 26 +- test/marketplace/lsp8/LSP8Auctions.t.sol | 34 +- test/marketplace/lsp8/LSP8Listings.t.sol | 20 +- test/marketplace/lsp8/LSP8Marketplace.t.sol | 55 +- test/marketplace/lsp8/LSP8Offers.t.sol | 26 +- test/page/PageName.t.sol | 62 +- 39 files changed, 9416 insertions(+), 8996 deletions(-) diff --git a/README.md b/README.md index 81db747..2b3aaf7 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ | ------- | --------------------- | ------------------------------------------ | | mainnet | PageName | 0x39456bcd4d450e55f851f97c30df828a4e1f6c66 | | mainnet | GenesisDigitalAsset | 0x8da488c29fb873c9561ccf5ff44dda6c1deddc37 | -| testnet | CollectorDigitalAsset | 0xe9f0feab3d50ccbe40d99f669fe1e89172908cdf | +| testnet | CollectorDigitalAsset | | | mainnet | Participant | 0xa29aeaabb5da0cc3635576933a66c1b714f058c1 | | mainnet | LSP7Listings | 0xe7f5c709d62bcc3701f4c0cb871eb77e301283b5 | | mainnet | LSP7Offers | 0xb2379f3f3c623cd2ed18e97e407cdda8fe6c6da6 | @@ -19,7 +19,7 @@ | mainnet | Royalties | 0x391B24e80d85587C1cb698f0cD7Dfb7191D6875F | | testnet | PageName | 0x288d83c922b2424dba195df40756b63f7cd9ef0d | | testnet | GenesisDigitalAsset | 0xc06bcd7a286308861bd99da220acbc8901949fbd | -| testnet | CollectorDigitalAsset | 0x60cf27c6ca1ff842511256029fc5f723c1b296ee | +| testnet | CollectorDigitalAsset | | | testnet | Participant | 0x5a485297a1b909032a6b7000354f3322047028ee | | testnet | LSP7Listings | 0x44cd7d06ceb509370b75e426ea3c12824a665e36 | | testnet | LSP7Offers | 0xdf9defd55365b7b073cae009cf53dd830902c5a7 | diff --git a/artifacts/abi/assets/lsp7/DigitalAssetDrop.json b/artifacts/abi/assets/lsp7/DigitalAssetDrop.json index 7e62d9c..b840214 100644 --- a/artifacts/abi/assets/lsp7/DigitalAssetDrop.json +++ b/artifacts/abi/assets/lsp7/DigitalAssetDrop.json @@ -1,240 +1,256 @@ [ { - "type": "constructor", "inputs": [ { + "internalType": "contract ILSP7DigitalAsset", "name": "asset_", - "type": "address", - "internalType": "contract ILSP7DigitalAsset" + "type": "address" }, { + "internalType": "bytes32", "name": "root_", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" }, { + "internalType": "address", "name": "owner_", - "type": "address", - "internalType": "address" + "type": "address" } ], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "function", - "name": "asset", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ILSP7DigitalAsset" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "claim", "inputs": [ { - "name": "proof", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { + "internalType": "uint256", "name": "index", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { - "name": "recipient", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes", + "name": "data", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "AlreadyClaimed", + "type": "error" + }, + { + "inputs": [], + "name": "ClaimingUnavailable", + "type": "error" }, { - "type": "function", - "name": "dispose", "inputs": [ { + "internalType": "address", "name": "beneficiary", - "type": "address", - "internalType": "address" + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InvalidBeneficiary", + "type": "error" }, { - "type": "function", - "name": "isClaimed", "inputs": [ { + "internalType": "uint256", "name": "index", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ + "type": "uint256" + }, { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "bytes", + "name": "data", + "type": "bytes" } ], - "stateMutability": "view" + "name": "InvalidClaim", + "type": "error" }, { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "stateMutability": "view" + "name": "OwnableCallerNotTheOwner", + "type": "error" }, { - "type": "function", - "name": "renounceOwnership", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" }, { - "type": "function", - "name": "transferOwnership", + "anonymous": false, "inputs": [ { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Claimed", - "inputs": [ - { - "name": "index", - "type": "uint256", "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "index", + "type": "uint256" }, { - "name": "recipient", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "recipient", + "type": "address" }, { - "name": "amount", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "anonymous": false + "name": "Claimed", + "type": "event" }, { - "type": "event", - "name": "Disposed", + "anonymous": false, "inputs": [ { - "name": "beneficiary", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "beneficiary", + "type": "address" }, { - "name": "amount", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "anonymous": false + "name": "Disposed", + "type": "event" }, { - "type": "event", - "name": "OwnershipTransferred", + "anonymous": false, "inputs": [ { - "name": "previousOwner", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "previousOwner", + "type": "address" }, { - "name": "newOwner", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "newOwner", + "type": "address" } ], - "anonymous": false + "name": "OwnershipTransferred", + "type": "event" + }, + { + "inputs": [], + "name": "asset", + "outputs": [ + { + "internalType": "contract ILSP7DigitalAsset", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "AlreadyClaimed", "inputs": [ { + "internalType": "bytes32[]", + "name": "proof", + "type": "bytes32[]" + }, + { + "internalType": "uint256", "name": "index", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" } - ] - }, - { - "type": "error", - "name": "ClaimingUnavailable", - "inputs": [] + ], + "name": "claim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidBeneficiary", "inputs": [ { + "internalType": "address", "name": "beneficiary", - "type": "address", - "internalType": "address" + "type": "address" } - ] + ], + "name": "dispose", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidClaim", "inputs": [ { + "internalType": "uint256", "name": "index", - "type": "uint256", - "internalType": "uint256" - }, + "type": "uint256" + } + ], + "name": "isClaimed", + "outputs": [ { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" } - ] + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" } ] diff --git a/artifacts/abi/assets/lsp7/GenesisDigitalAsset.json b/artifacts/abi/assets/lsp7/GenesisDigitalAsset.json index d74d1a5..0bcae74 100644 --- a/artifacts/abi/assets/lsp7/GenesisDigitalAsset.json +++ b/artifacts/abi/assets/lsp7/GenesisDigitalAsset.json @@ -1,846 +1,862 @@ [ { - "type": "constructor", "inputs": [ { + "internalType": "string", "name": "name_", - "type": "string", - "internalType": "string" + "type": "string" }, { + "internalType": "string", "name": "symbol_", - "type": "string", - "internalType": "string" + "type": "string" }, { + "internalType": "address", "name": "newOwner_", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "address", "name": "newBeneficiary_", - "type": "address", - "internalType": "address" + "type": "address" } ], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "fallback", - "stateMutability": "payable" + "inputs": [], + "name": "ERC725Y_DataKeysValuesEmptyArray", + "type": "error" }, { - "type": "receive", - "stateMutability": "payable" + "inputs": [], + "name": "ERC725Y_DataKeysValuesLengthMismatch", + "type": "error" }, { - "type": "function", - "name": "authorizeOperator", - "inputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "inputs": [], + "name": "ERC725Y_MsgValueDisallowed", + "type": "error" }, { - "type": "function", - "name": "authorizedAmountFor", - "inputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" + "inputs": [], + "name": "InvalidBeneficiary", + "type": "error" }, { - "type": "function", - "name": "balanceOf", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes", + "name": "storedData", + "type": "bytes" } ], - "stateMutability": "view" + "name": "InvalidExtensionAddress", + "type": "error" }, { - "type": "function", - "name": "batchCalls", "inputs": [ { + "internalType": "bytes", "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [ - { - "name": "results", - "type": "bytes[]", - "internalType": "bytes[]" + "type": "bytes" } ], - "stateMutability": "nonpayable" + "name": "InvalidFunctionSelector", + "type": "error" }, { - "type": "function", - "name": "beneficiary", "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" + "name": "LSP4TokenNameNotEditable", + "type": "error" }, { - "type": "function", - "name": "decimals", "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" + "name": "LSP4TokenSymbolNotEditable", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenTypeNotEditable", + "type": "error" }, { - "type": "function", - "name": "decreaseAllowance", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "tokenOwner", + "type": "address" }, { - "name": "subtractedAmount", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "authorizedAmount", + "type": "uint256" }, { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "LSP7AmountExceedsAuthorizedAmount", + "type": "error" }, { - "type": "function", - "name": "getData", "inputs": [ { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ + "internalType": "uint256", + "name": "balance", + "type": "uint256" + }, { - "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "internalType": "address", + "name": "tokenOwner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "stateMutability": "view" + "name": "LSP7AmountExceedsBalance", + "type": "error" }, { - "type": "function", - "name": "getDataBatch", "inputs": [ { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [ - { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "uint256", + "name": "callIndex", + "type": "uint256" } ], - "stateMutability": "view" + "name": "LSP7BatchCallFailed", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7CannotSendToSelf", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7CannotSendWithAddressZero", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7CannotUseAddressZeroAsOperator", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7DecreasedAllowanceBelowZero", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7InvalidTransferBatch", + "type": "error" }, { - "type": "function", - "name": "getOperatorsOf", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "tokenReceiver", + "type": "address" } ], - "outputs": [ + "name": "LSP7NotifyTokenReceiverContractMissingLSP1Interface", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "address[]", - "internalType": "address[]" + "internalType": "address", + "name": "tokenReceiver", + "type": "address" } ], - "stateMutability": "view" + "name": "LSP7NotifyTokenReceiverIsEOA", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7TokenContractCannotHoldValue", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7TokenOwnerCannotBeOperator", + "type": "error" }, { - "type": "function", - "name": "increaseAllowance", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "addedAmount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes4", + "name": "functionSelector", + "type": "bytes4" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "NoExtensionFoundForFunctionSelector", + "type": "error" }, { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "operator", + "type": "address" } ], - "stateMutability": "view" + "name": "OperatorAllowanceCannotBeIncreasedFromZero", + "type": "error" }, { - "type": "function", - "name": "release", "inputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnableCallerNotTheOwner", + "type": "error" }, { - "type": "function", - "name": "renounceOwnership", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" }, { - "type": "function", - "name": "reserve", "inputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "UnathorizedAccount", + "type": "error" }, { - "type": "function", - "name": "revokeOperator", + "anonymous": false, "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "notify", - "type": "bool", - "internalType": "bool" + "indexed": true, + "internalType": "address", + "name": "oldBeneficiary", + "type": "address" }, { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setBeneficiary", - "inputs": [ - { + "indexed": true, + "internalType": "address", "name": "newBeneficiary", - "type": "address", - "internalType": "address" + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "BeneficiaryChanged", + "type": "event" }, { - "type": "function", - "name": "setData", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "bytes32", "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" }, { + "indexed": false, + "internalType": "bytes", "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "type": "bytes" } ], - "outputs": [], - "stateMutability": "payable" + "name": "DataChanged", + "type": "event" }, { - "type": "function", - "name": "setDataBatch", + "anonymous": false, "inputs": [ { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "indexed": true, + "internalType": "address", + "name": "tokenOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "payable" + "name": "OperatorAuthorizationChanged", + "type": "event" }, { - "type": "function", - "name": "supportsInterface", + "anonymous": false, "inputs": [ { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, { - "name": "", - "type": "bool", - "internalType": "bool" + "indexed": true, + "internalType": "address", + "name": "tokenOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "bool", + "name": "notified", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "stateMutability": "view" + "name": "OperatorRevoked", + "type": "event" }, { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" } ], - "stateMutability": "view" + "name": "OwnershipTransferred", + "type": "event" }, { - "type": "function", - "name": "transfer", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", "name": "from", - "type": "address", - "internalType": "address" + "type": "address" }, { + "indexed": true, + "internalType": "address", "name": "to", - "type": "address", - "internalType": "address" + "type": "address" }, { + "indexed": false, + "internalType": "uint256", "name": "amount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "indexed": false, + "internalType": "bool", "name": "force", - "type": "bool", - "internalType": "bool" + "type": "bool" }, { + "indexed": false, + "internalType": "bytes", "name": "data", - "type": "bytes", - "internalType": "bytes" + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Transfer", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" }, { - "type": "function", - "name": "transferBatch", "inputs": [ { - "name": "from", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "to", - "type": "address[]", - "internalType": "address[]" + "internalType": "address", + "name": "operator", + "type": "address" }, { + "internalType": "uint256", "name": "amount", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "force", - "type": "bool[]", - "internalType": "bool[]" + "type": "uint256" }, { - "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], + "name": "authorizeOperator", "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "transferOwnership", "inputs": [ { - "name": "newOwner", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "address", + "name": "tokenOwner", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "authorizedAmountFor", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "BeneficiaryChanged", "inputs": [ { - "name": "oldBeneficiary", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "internalType": "address", + "name": "tokenOwner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ { - "name": "newBeneficiary", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "uint256", + "name": "", + "type": "uint256" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "DataChanged", "inputs": [ { - "name": "dataKey", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, + "internalType": "bytes[]", + "name": "data", + "type": "bytes[]" + } + ], + "name": "batchCalls", + "outputs": [ { - "name": "dataValue", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "bytes[]", + "name": "results", + "type": "bytes[]" } ], - "anonymous": false + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "beneficiary", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "OperatorAuthorizationChanged", "inputs": [ { + "internalType": "address", "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" + "type": "address" }, { - "name": "tokenOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "subtractedAmount", + "type": "uint256" }, { + "internalType": "bytes", "name": "operatorNotificationData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "type": "bytes" } ], - "anonymous": false + "name": "decreaseAllowance", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "OperatorRevoked", "inputs": [ { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" + } + ], + "name": "getData", + "outputs": [ { - "name": "tokenOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ { - "name": "notified", - "type": "bool", - "indexed": true, - "internalType": "bool" - }, + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" + } + ], + "name": "getDataBatch", + "outputs": [ { - "name": "operatorNotificationData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "OwnershipTransferred", "inputs": [ { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "internalType": "address", + "name": "tokenOwner", + "type": "address" + } + ], + "name": "getOperatorsOf", + "outputs": [ { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address[]", + "name": "", + "type": "address[]" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Transfer", "inputs": [ { + "internalType": "address", "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "type": "address" }, { - "name": "force", - "type": "bool", - "indexed": false, - "internalType": "bool" + "internalType": "uint256", + "name": "addedAmount", + "type": "uint256" }, { - "name": "data", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "anonymous": false - }, - { - "type": "error", - "name": "ERC725Y_DataKeysValuesEmptyArray", - "inputs": [] - }, - { - "type": "error", - "name": "ERC725Y_DataKeysValuesLengthMismatch", - "inputs": [] - }, - { - "type": "error", - "name": "ERC725Y_MsgValueDisallowed", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidBeneficiary", - "inputs": [] + "name": "increaseAllowance", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidExtensionAddress", - "inputs": [ + "inputs": [], + "name": "owner", + "outputs": [ { - "name": "storedData", - "type": "bytes", - "internalType": "bytes" + "internalType": "address", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidFunctionSelector", "inputs": [ { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } - ] - }, - { - "type": "error", - "name": "LSP4TokenNameNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP4TokenSymbolNotEditable", - "inputs": [] + ], + "name": "release", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP4TokenTypeNotEditable", - "inputs": [] + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP7AmountExceedsAuthorizedAmount", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" - }, - { - "name": "authorizedAmount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { + "internalType": "uint256", "name": "amount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } - ] + ], + "name": "reserve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP7AmountExceedsBalance", "inputs": [ { - "name": "balance", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "tokenOwner", - "type": "address", - "internalType": "address" + "internalType": "bool", + "name": "notify", + "type": "bool" }, { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } - ] + ], + "name": "revokeOperator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP7BatchCallFailed", "inputs": [ { - "name": "callIndex", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "newBeneficiary", + "type": "address" } - ] - }, - { - "type": "error", - "name": "LSP7CannotSendToSelf", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7CannotSendWithAddressZero", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7CannotUseAddressZeroAsOperator", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7DecreasedAllowanceBelowZero", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7InvalidTransferBatch", - "inputs": [] + ], + "name": "setBeneficiary", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP7NotifyTokenReceiverContractMissingLSP1Interface", "inputs": [ { - "name": "tokenReceiver", - "type": "address", - "internalType": "address" + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } - ] + ], + "name": "setData", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "error", - "name": "LSP7NotifyTokenReceiverIsEOA", "inputs": [ { - "name": "tokenReceiver", - "type": "address", - "internalType": "address" + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" + }, + { + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } - ] + ], + "name": "setDataBatch", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "error", - "name": "LSP7TokenContractCannotHoldValue", - "inputs": [] + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP7TokenOwnerCannotBeOperator", - "inputs": [] + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "NoExtensionFoundForFunctionSelector", "inputs": [ { - "name": "functionSelector", - "type": "bytes4", - "internalType": "bytes4" + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "force", + "type": "bool" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" } - ] + ], + "name": "transfer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "OperatorAllowanceCannotBeIncreasedFromZero", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" + "internalType": "address[]", + "name": "from", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "to", + "type": "address[]" + }, + { + "internalType": "uint256[]", + "name": "amount", + "type": "uint256[]" + }, + { + "internalType": "bool[]", + "name": "force", + "type": "bool[]" + }, + { + "internalType": "bytes[]", + "name": "data", + "type": "bytes[]" } - ] + ], + "name": "transferBatch", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "UnathorizedAccount", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "newOwner", + "type": "address" } - ] + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" } ] diff --git a/artifacts/abi/assets/lsp7/MintableDigitalAsset.json b/artifacts/abi/assets/lsp7/MintableDigitalAsset.json index d3e4a96..e6f0c28 100644 --- a/artifacts/abi/assets/lsp7/MintableDigitalAsset.json +++ b/artifacts/abi/assets/lsp7/MintableDigitalAsset.json @@ -1,820 +1,836 @@ [ { - "type": "constructor", "inputs": [ { + "internalType": "string", "name": "name_", - "type": "string", - "internalType": "string" + "type": "string" }, { + "internalType": "string", "name": "symbol_", - "type": "string", - "internalType": "string" + "type": "string" }, { + "internalType": "address", "name": "newOwner_", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "uint256", "name": "lsp4TokenType_", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "bool", "name": "isNonDivisible_", - "type": "bool", - "internalType": "bool" + "type": "bool" }, { + "internalType": "uint256", "name": "tokenSupplyCap_", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "fallback", - "stateMutability": "payable" + "inputs": [], + "name": "ERC725Y_DataKeysValuesEmptyArray", + "type": "error" }, { - "type": "receive", - "stateMutability": "payable" + "inputs": [], + "name": "ERC725Y_DataKeysValuesLengthMismatch", + "type": "error" + }, + { + "inputs": [], + "name": "ERC725Y_MsgValueDisallowed", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "storedData", + "type": "bytes" + } + ], + "name": "InvalidExtensionAddress", + "type": "error" }, { - "type": "function", - "name": "authorizeOperator", "inputs": [ { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "InvalidFunctionSelector", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenNameNotEditable", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenSymbolNotEditable", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenTypeNotEditable", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "tokenOwner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "authorizedAmount", + "type": "uint256" + }, + { + "internalType": "address", "name": "operator", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "uint256", "name": "amount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" + } + ], + "name": "LSP7AmountExceedsAuthorizedAmount", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "balance", + "type": "uint256" + }, + { + "internalType": "address", + "name": "tokenOwner", + "type": "address" }, { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "LSP7AmountExceedsBalance", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "callIndex", + "type": "uint256" + } + ], + "name": "LSP7BatchCallFailed", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7CannotSendToSelf", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7CannotSendWithAddressZero", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7CannotUseAddressZeroAsOperator", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7CappedSupplyCannotMintOverCap", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7CappedSupplyRequired", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7DecreasedAllowanceBelowZero", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7InvalidTransferBatch", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "tokenReceiver", + "type": "address" + } + ], + "name": "LSP7NotifyTokenReceiverContractMissingLSP1Interface", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "tokenReceiver", + "type": "address" + } + ], + "name": "LSP7NotifyTokenReceiverIsEOA", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7TokenContractCannotHoldValue", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7TokenOwnerCannotBeOperator", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "functionSelector", + "type": "bytes4" + } + ], + "name": "NoExtensionFoundForFunctionSelector", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "OperatorAllowanceCannotBeIncreasedFromZero", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "callerAddress", + "type": "address" + } + ], + "name": "OwnableCallerNotTheOwner", + "type": "error" + }, + { + "inputs": [], + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" + } + ], + "name": "DataChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "tokenOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" + } + ], + "name": "OperatorAuthorizationChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "tokenOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "bool", + "name": "notified", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" + } + ], + "name": "OperatorRevoked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bool", + "name": "force", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "bytes", "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "type": "bytes" } ], + "name": "authorizeOperator", "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "authorizedAmountFor", "inputs": [ { + "internalType": "address", "name": "operator", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "address", "name": "tokenOwner", - "type": "address", - "internalType": "address" + "type": "address" } ], + "name": "authorizedAmountFor", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "balanceOf", "inputs": [ { + "internalType": "address", "name": "tokenOwner", - "type": "address", - "internalType": "address" + "type": "address" } ], + "name": "balanceOf", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "batchCalls", "inputs": [ { + "internalType": "bytes[]", "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" + "type": "bytes[]" } ], + "name": "batchCalls", "outputs": [ { + "internalType": "bytes[]", "name": "results", - "type": "bytes[]", - "internalType": "bytes[]" + "type": "bytes[]" } ], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "decimals", "inputs": [], + "name": "decimals", "outputs": [ { + "internalType": "uint8", "name": "", - "type": "uint8", - "internalType": "uint8" + "type": "uint8" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "decreaseAllowance", "inputs": [ { + "internalType": "address", "name": "operator", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "uint256", "name": "subtractedAmount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "bytes", "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "type": "bytes" } ], + "name": "decreaseAllowance", "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "getData", "inputs": [ { + "internalType": "bytes32", "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" } ], + "name": "getData", "outputs": [ { + "internalType": "bytes", "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "type": "bytes" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "getDataBatch", "inputs": [ { + "internalType": "bytes32[]", "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" + "type": "bytes32[]" } ], + "name": "getDataBatch", "outputs": [ { + "internalType": "bytes[]", "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "type": "bytes[]" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "getOperatorsOf", "inputs": [ { + "internalType": "address", "name": "tokenOwner", - "type": "address", - "internalType": "address" + "type": "address" } ], + "name": "getOperatorsOf", "outputs": [ { + "internalType": "address[]", "name": "", - "type": "address[]", - "internalType": "address[]" + "type": "address[]" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "increaseAllowance", "inputs": [ { + "internalType": "address", "name": "operator", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "uint256", "name": "addedAmount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "bytes", "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "type": "bytes" } ], + "name": "increaseAllowance", "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "mint", "inputs": [ { + "internalType": "address", "name": "to", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "uint256", "name": "amount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "bool", "name": "force", - "type": "bool", - "internalType": "bool" + "type": "bool" }, { + "internalType": "bytes", "name": "data", - "type": "bytes", - "internalType": "bytes" + "type": "bytes" } ], + "name": "mint", "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "owner", "inputs": [], + "name": "owner", "outputs": [ { + "internalType": "address", "name": "", - "type": "address", - "internalType": "address" + "type": "address" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "renounceOwnership", "inputs": [], + "name": "renounceOwnership", "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "revokeOperator", "inputs": [ { + "internalType": "address", "name": "operator", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "bool", "name": "notify", - "type": "bool", - "internalType": "bool" + "type": "bool" }, { + "internalType": "bytes", "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "type": "bytes" } ], + "name": "revokeOperator", "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "setData", "inputs": [ { + "internalType": "bytes32", "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" }, { + "internalType": "bytes", "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "type": "bytes" } ], + "name": "setData", "outputs": [], - "stateMutability": "payable" + "stateMutability": "payable", + "type": "function" }, { - "type": "function", - "name": "setDataBatch", "inputs": [ { + "internalType": "bytes32[]", "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" + "type": "bytes32[]" }, { + "internalType": "bytes[]", "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "type": "bytes[]" } ], + "name": "setDataBatch", "outputs": [], - "stateMutability": "payable" + "stateMutability": "payable", + "type": "function" }, { - "type": "function", - "name": "supportsInterface", "inputs": [ { + "internalType": "bytes4", "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" + "type": "bytes4" } ], + "name": "supportsInterface", "outputs": [ { + "internalType": "bool", "name": "", - "type": "bool", - "internalType": "bool" + "type": "bool" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "tokenSupplyCap", "inputs": [], + "name": "tokenSupplyCap", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "totalSupply", "inputs": [], + "name": "totalSupply", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "transfer", "inputs": [ { + "internalType": "address", "name": "from", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "address", "name": "to", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "uint256", "name": "amount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "bool", "name": "force", - "type": "bool", - "internalType": "bool" + "type": "bool" }, { + "internalType": "bytes", "name": "data", - "type": "bytes", - "internalType": "bytes" + "type": "bytes" } ], + "name": "transfer", "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "transferBatch", "inputs": [ { + "internalType": "address[]", "name": "from", - "type": "address[]", - "internalType": "address[]" + "type": "address[]" }, { + "internalType": "address[]", "name": "to", - "type": "address[]", - "internalType": "address[]" + "type": "address[]" }, { + "internalType": "uint256[]", "name": "amount", - "type": "uint256[]", - "internalType": "uint256[]" + "type": "uint256[]" }, { + "internalType": "bool[]", "name": "force", - "type": "bool[]", - "internalType": "bool[]" + "type": "bool[]" }, { + "internalType": "bytes[]", "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" + "type": "bytes[]" } ], + "name": "transferBatch", "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "transferOwnership", "inputs": [ { + "internalType": "address", "name": "newOwner", - "type": "address", - "internalType": "address" + "type": "address" } ], + "name": "transferOwnership", "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "DataChanged", - "inputs": [ - { - "name": "dataKey", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "dataValue", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OperatorAuthorizationChanged", - "inputs": [ - { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "tokenOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "operatorNotificationData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OperatorRevoked", - "inputs": [ - { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "tokenOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "notified", - "type": "bool", - "indexed": true, - "internalType": "bool" - }, - { - "name": "operatorNotificationData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OwnershipTransferred", - "inputs": [ - { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "force", - "type": "bool", - "indexed": false, - "internalType": "bool" - }, - { - "name": "data", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "ERC725Y_DataKeysValuesEmptyArray", - "inputs": [] - }, - { - "type": "error", - "name": "ERC725Y_DataKeysValuesLengthMismatch", - "inputs": [] - }, - { - "type": "error", - "name": "ERC725Y_MsgValueDisallowed", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidExtensionAddress", - "inputs": [ - { - "name": "storedData", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "type": "error", - "name": "InvalidFunctionSelector", - "inputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "type": "error", - "name": "LSP4TokenNameNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP4TokenSymbolNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP4TokenTypeNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7AmountExceedsAuthorizedAmount", - "inputs": [ - { - "name": "tokenOwner", - "type": "address", - "internalType": "address" - }, - { - "name": "authorizedAmount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "LSP7AmountExceedsBalance", - "inputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "tokenOwner", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "LSP7BatchCallFailed", - "inputs": [ - { - "name": "callIndex", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "LSP7CannotSendToSelf", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7CannotSendWithAddressZero", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7CannotUseAddressZeroAsOperator", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7CappedSupplyCannotMintOverCap", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7CappedSupplyRequired", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7DecreasedAllowanceBelowZero", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7InvalidTransferBatch", - "inputs": [] + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP7NotifyTokenReceiverContractMissingLSP1Interface", - "inputs": [ - { - "name": "tokenReceiver", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "LSP7NotifyTokenReceiverIsEOA", - "inputs": [ - { - "name": "tokenReceiver", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "LSP7TokenContractCannotHoldValue", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7TokenOwnerCannotBeOperator", - "inputs": [] - }, - { - "type": "error", - "name": "NoExtensionFoundForFunctionSelector", - "inputs": [ - { - "name": "functionSelector", - "type": "bytes4", - "internalType": "bytes4" - } - ] - }, - { - "type": "error", - "name": "OperatorAllowanceCannotBeIncreasedFromZero", - "inputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - } - ] + "stateMutability": "payable", + "type": "receive" } ] diff --git a/artifacts/abi/assets/lsp8/CollectorIdentifiableDigitalAsset.json b/artifacts/abi/assets/lsp8/CollectorIdentifiableDigitalAsset.json index 6c46df9..9af1f31 100644 --- a/artifacts/abi/assets/lsp8/CollectorIdentifiableDigitalAsset.json +++ b/artifacts/abi/assets/lsp8/CollectorIdentifiableDigitalAsset.json @@ -1,1481 +1,1497 @@ [ { - "type": "constructor", "inputs": [ { + "internalType": "string", "name": "name_", - "type": "string", - "internalType": "string" + "type": "string" }, { + "internalType": "string", "name": "symbol_", - "type": "string", - "internalType": "string" + "type": "string" }, { + "internalType": "address", "name": "newOwner_", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "address", "name": "controller_", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "uint256", "name": "tokenSupplyCap_", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "fallback", - "stateMutability": "payable" - }, - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "authorizeOperator", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "beneficiary", + "type": "address" }, { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "DispositionFailure", + "type": "error" + }, + { + "inputs": [], + "name": "ERC725Y_DataKeysValuesEmptyArray", + "type": "error" + }, + { + "inputs": [], + "name": "ERC725Y_DataKeysValuesLengthMismatch", + "type": "error" + }, + { + "inputs": [], + "name": "ERC725Y_MsgValueDisallowed", + "type": "error" }, { - "type": "function", - "name": "balanceOf", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [ + "name": "InvalidBeneficiary", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidController", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes", + "name": "storedData", + "type": "bytes" } ], - "stateMutability": "view" + "name": "InvalidExtensionAddress", + "type": "error" }, { - "type": "function", - "name": "batchCalls", "inputs": [ { + "internalType": "bytes", "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" + "type": "bytes" } ], - "outputs": [ + "name": "InvalidFunctionSelector", + "type": "error" + }, + { + "inputs": [ { - "name": "results", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "uint256", + "name": "required", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "stateMutability": "nonpayable" + "name": "InvalidPurchaseAmount", + "type": "error" }, { - "type": "function", - "name": "beneficiary", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "stateMutability": "view" + "name": "InvalidTokenId", + "type": "error" }, { - "type": "function", - "name": "controller", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "cap", + "type": "uint256" } ], - "stateMutability": "view" + "name": "InvalidTokenSupplyCap", + "type": "error" }, { - "type": "function", - "name": "getData", "inputs": [ { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "limit", + "type": "uint256" } ], - "outputs": [ + "name": "InvalidTokenSupplyLimit", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenNameNotEditable", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenSymbolNotEditable", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenTypeNotEditable", + "type": "error" + }, + { + "inputs": [ { - "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "internalType": "uint256", + "name": "callIndex", + "type": "uint256" } ], - "stateMutability": "view" + "name": "LSP8BatchCallFailed", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CannotSendToAddressZero", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CannotSendToSelf", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CannotUseAddressZeroAsOperator", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CappedSupplyCannotMintOverCap", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CappedSupplyRequired", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8InvalidTransferBatch", + "type": "error" }, { - "type": "function", - "name": "getDataBatch", "inputs": [ { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "outputs": [ + "name": "LSP8NonExistentTokenId", + "type": "error" + }, + { + "inputs": [ { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "stateMutability": "view" + "name": "LSP8NonExistingOperator", + "type": "error" }, { - "type": "function", - "name": "getOperatorsOf", "inputs": [ { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ + "type": "bytes32" + }, { - "name": "", - "type": "address[]", - "internalType": "address[]" + "internalType": "address", + "name": "caller", + "type": "address" } ], - "stateMutability": "view" + "name": "LSP8NotTokenOperator", + "type": "error" }, { - "type": "function", - "name": "getTokenIdData", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "tokenOwner", + "type": "address" }, { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, { - "name": "dataValues", - "type": "bytes", - "internalType": "bytes" + "internalType": "address", + "name": "caller", + "type": "address" } ], - "stateMutability": "view" + "name": "LSP8NotTokenOwner", + "type": "error" }, { - "type": "function", - "name": "getTokenIdDataBatch", "inputs": [ { - "name": "tokenIds", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" + "internalType": "address", + "name": "tokenReceiver", + "type": "address" } ], - "outputs": [ + "name": "LSP8NotifyTokenReceiverContractMissingLSP1Interface", + "type": "error" + }, + { + "inputs": [ { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "address", + "name": "tokenReceiver", + "type": "address" } ], - "stateMutability": "view" + "name": "LSP8NotifyTokenReceiverIsEOA", + "type": "error" }, { - "type": "function", - "name": "isOperatorFor", "inputs": [ { + "internalType": "address", "name": "operator", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" } ], - "outputs": [ + "name": "LSP8OperatorAlreadyAuthorized", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "stateMutability": "view" + "name": "LSP8TokenIdAlreadyMinted", + "type": "error" }, { - "type": "function", - "name": "owner", "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" + "name": "LSP8TokenIdFormatNotEditable", + "type": "error" }, { - "type": "function", - "name": "pause", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "LSP8TokenIdsDataEmptyArray", + "type": "error" }, { - "type": "function", - "name": "paused", "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" + "name": "LSP8TokenIdsDataLengthMismatch", + "type": "error" }, { - "type": "function", - "name": "price", "inputs": [], - "outputs": [ + "name": "LSP8TokenOwnerCannotBeOperator", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes4", + "name": "functionSelector", + "type": "bytes4" } ], - "stateMutability": "view" + "name": "NoExtensionFoundForFunctionSelector", + "type": "error" }, { - "type": "function", - "name": "purchase", "inputs": [ { - "name": "recipient", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenIds", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "outputs": [], - "stateMutability": "payable" + "name": "OwnableCallerNotTheOwner", + "type": "error" }, { - "type": "function", - "name": "renounceOwnership", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" }, { - "type": "function", - "name": "reserve", "inputs": [ { - "name": "recipient", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "supply", + "type": "uint256" }, { - "name": "tokenIds", - "type": "bytes32[]", - "internalType": "bytes32[]" + "internalType": "uint256", + "name": "limit", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "TokenSupplyLimitExceeded", + "type": "error" }, { - "type": "function", - "name": "revokeOperator", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "recipient", + "type": "address" }, { - "name": "notify", - "type": "bool", - "internalType": "bool" + "internalType": "bytes32[]", + "name": "tokenIds", + "type": "bytes32[]" }, { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "internalType": "uint256", + "name": "totalPrice", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "UnauthorizedPurchase", + "type": "error" }, { - "type": "function", - "name": "setBeneficiary", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "address", + "name": "oldBeneficiary", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", "name": "newBeneficiary", - "type": "address", - "internalType": "address" + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "BeneficiaryChanged", + "type": "event" }, { - "type": "function", - "name": "setController", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "address", + "name": "oldController", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", "name": "newController", - "type": "address", - "internalType": "address" + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "ControllerChanged", + "type": "event" }, { - "type": "function", - "name": "setData", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "bytes32", "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" }, { + "indexed": false, + "internalType": "bytes", "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "type": "bytes" } ], - "outputs": [], - "stateMutability": "payable" + "name": "DataChanged", + "type": "event" }, { - "type": "function", - "name": "setDataBatch", + "anonymous": false, "inputs": [ { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "indexed": true, + "internalType": "address", + "name": "tokenOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "payable" + "name": "OperatorAuthorizationChanged", + "type": "event" }, { - "type": "function", - "name": "setPrice", + "anonymous": false, "inputs": [ { - "name": "newPrice", - "type": "uint256", - "internalType": "uint256" + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "tokenOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bool", + "name": "notified", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OperatorRevoked", + "type": "event" }, { - "type": "function", - "name": "setTokenIdData", + "anonymous": false, "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" }, { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" - }, + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ { - "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Paused", + "type": "event" }, { - "type": "function", - "name": "setTokenIdDataBatch", + "anonymous": false, "inputs": [ { - "name": "tokenIds", - "type": "bytes32[]", - "internalType": "bytes32[]" + "indexed": false, + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "name": "PriceChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" + "indexed": true, + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" }, { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "indexed": false, + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "TokenIdDataChanged", + "type": "event" }, { - "type": "function", - "name": "setTokenSupplyLimit", + "anonymous": false, "inputs": [ { + "indexed": false, + "internalType": "uint256", "name": "limit", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "TokenSupplyLimitChanged", + "type": "event" }, { - "type": "function", - "name": "supportsInterface", + "anonymous": false, "inputs": [ { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" + "indexed": true, + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "tokenIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "totalPaid", + "type": "uint256" } ], - "outputs": [ + "name": "TokensPurchased", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "indexed": true, + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "tokenIds", + "type": "bytes32[]" } ], - "stateMutability": "view" + "name": "TokensReserved", + "type": "event" }, { - "type": "function", - "name": "tokenAt", + "anonymous": false, "inputs": [ { - "name": "index", - "type": "uint256", - "internalType": "uint256" + "indexed": false, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bool", + "name": "force", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "data", + "type": "bytes" } ], - "outputs": [ + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ { - "name": "", - "type": "bytes32", - "internalType": "bytes32" + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" } ], - "stateMutability": "view" + "name": "Unpaused", + "type": "event" }, { - "type": "function", - "name": "tokenIdsOf", + "anonymous": false, "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "value", + "type": "uint256" } ], - "outputs": [ + "name": "ValueReceived", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ { - "name": "", - "type": "bytes32[]", - "internalType": "bytes32[]" + "indexed": true, + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "value", + "type": "uint256" } ], - "stateMutability": "view" + "name": "ValueWithdrawn", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" }, { - "type": "function", - "name": "tokenIndexOf", "inputs": [ { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" + } + ], + "name": "authorizeOperator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "tokenOwner", + "type": "address" } ], + "name": "balanceOf", "outputs": [ { - "name": "index", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "", + "type": "uint256" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "tokenOwnerOf", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "bytes[]", + "name": "data", + "type": "bytes[]" } ], + "name": "batchCalls", "outputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "bytes[]", + "name": "results", + "type": "bytes[]" } ], - "stateMutability": "view" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "tokenSupplyCap", "inputs": [], + "name": "beneficiary", "outputs": [ { + "internalType": "address", "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "address" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "tokenSupplyLimit", "inputs": [], + "name": "controller", "outputs": [ { + "internalType": "address", "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "address" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "tokenTierOf", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" } ], + "name": "getData", "outputs": [ { - "name": "tier", - "type": "uint8", - "internalType": "uint8" + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "totalSupply", - "inputs": [], + "inputs": [ + { + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" + } + ], + "name": "getDataBatch", "outputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "transfer", "inputs": [ { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "bytes32[]", + "name": "tokenIds", + "type": "bytes32[]" }, { - "name": "force", - "type": "bool", - "internalType": "bool" - }, + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" + } + ], + "name": "getDataBatchForTokenIds", + "outputs": [ { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } ], - "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "transferBatch", "inputs": [ { - "name": "from", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "to", - "type": "address[]", - "internalType": "address[]" - }, - { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32[]", - "internalType": "bytes32[]" + "type": "bytes32" }, { - "name": "force", - "type": "bool[]", - "internalType": "bool[]" - }, + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" + } + ], + "name": "getDataForTokenId", + "outputs": [ { - "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "transferOwnership", "inputs": [ { - "name": "newOwner", - "type": "address", - "internalType": "address" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unpause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "getOperatorsOf", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "withdraw", "inputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "isOperatorFor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "BeneficiaryChanged", - "inputs": [ - { - "name": "oldBeneficiary", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "inputs": [], + "name": "owner", + "outputs": [ { - "name": "newBeneficiary", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "", + "type": "address" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "ControllerChanged", - "inputs": [ - { - "name": "oldController", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "inputs": [], + "name": "pause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "paused", + "outputs": [ { - "name": "newController", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bool", + "name": "", + "type": "bool" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "DataChanged", - "inputs": [ - { - "name": "dataKey", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, + "inputs": [], + "name": "price", + "outputs": [ { - "name": "dataValue", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "uint256", + "name": "", + "type": "uint256" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "OperatorAuthorizationChanged", "inputs": [ { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "recipient", + "type": "address" }, { - "name": "tokenOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bytes32[]", + "name": "tokenIds", + "type": "bytes32[]" }, { - "name": "tokenId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "internalType": "uint8", + "name": "v", + "type": "uint8" }, { - "name": "operatorNotificationData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" } ], - "anonymous": false + "name": "purchase", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "OperatorRevoked", "inputs": [ { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "tokenOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "notified", - "type": "bool", - "indexed": false, - "internalType": "bool" + "internalType": "address", + "name": "recipient", + "type": "address" }, { - "name": "operatorNotificationData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "bytes32[]", + "name": "tokenIds", + "type": "bytes32[]" } ], - "anonymous": false + "name": "reserve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "OwnershipTransferred", "inputs": [ { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "notify", + "type": "bool" + }, + { + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "anonymous": false + "name": "revokeOperator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Paused", "inputs": [ { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "address", + "name": "newBeneficiary", + "type": "address" } ], - "anonymous": false + "name": "setBeneficiary", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "PriceChanged", "inputs": [ { - "name": "price", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "address", + "name": "newController", + "type": "address" } ], - "anonymous": false + "name": "setController", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "TokenIdDataChanged", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { + "internalType": "bytes32", "name": "dataKey", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "type": "bytes32" }, { + "internalType": "bytes", "name": "dataValue", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "type": "bytes" } ], - "anonymous": false + "name": "setData", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "event", - "name": "TokenSupplyLimitChanged", "inputs": [ { - "name": "limit", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" + }, + { + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } ], - "anonymous": false + "name": "setDataBatch", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "event", - "name": "TokensPurchased", "inputs": [ { - "name": "recipient", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { + "internalType": "bytes32[]", "name": "tokenIds", - "type": "bytes32[]", - "indexed": false, - "internalType": "bytes32[]" + "type": "bytes32[]" }, { - "name": "totalPaid", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TokensReserved", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" }, { - "name": "tokenIds", - "type": "bytes32[]", - "indexed": false, - "internalType": "bytes32[]" + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } ], - "anonymous": false + "name": "setDataBatchForTokenIds", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Transfer", "inputs": [ { - "name": "operator", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "type": "bytes32" }, { - "name": "force", - "type": "bool", - "indexed": false, - "internalType": "bool" + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" }, { - "name": "data", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } ], - "anonymous": false + "name": "setDataForTokenId", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Unpaused", "inputs": [ { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "uint256", + "name": "newPrice", + "type": "uint256" } ], - "anonymous": false + "name": "setPrice", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "ValueReceived", "inputs": [ { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "limit", + "type": "uint256" } ], - "anonymous": false + "name": "setTokenSupplyLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "ValueWithdrawn", "inputs": [ { - "name": "beneficiary", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ { - "name": "value", - "type": "uint256", - "indexed": true, - "internalType": "uint256" + "internalType": "bool", + "name": "", + "type": "bool" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "DispositionFailure", "inputs": [ { - "name": "beneficiary", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "index", + "type": "uint256" } - ] - }, - { - "type": "error", - "name": "ERC725Y_DataKeysValuesEmptyArray", - "inputs": [] - }, - { - "type": "error", - "name": "ERC725Y_DataKeysValuesLengthMismatch", - "inputs": [] - }, - { - "type": "error", - "name": "ERC725Y_MsgValueDisallowed", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidBeneficiary", - "inputs": [ + ], + "name": "tokenAt", + "outputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "bytes32", + "name": "", + "type": "bytes32" } - ] - }, - { - "type": "error", - "name": "InvalidController", - "inputs": [] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidExtensionAddress", "inputs": [ { - "name": "storedData", - "type": "bytes", - "internalType": "bytes" + "internalType": "address", + "name": "tokenOwner", + "type": "address" } - ] - }, - { - "type": "error", - "name": "InvalidFunctionSelector", - "inputs": [ + ], + "name": "tokenIdsOf", + "outputs": [ { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidPurchaseAmount", "inputs": [ { - "name": "required", - "type": "uint256", - "internalType": "uint256" - }, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + } + ], + "name": "tokenIndexOf", + "outputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "index", + "type": "uint256" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidTokenId", "inputs": [ { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" } - ] - }, - { - "type": "error", - "name": "InvalidTokenSupplyCap", - "inputs": [ + ], + "name": "tokenOwnerOf", + "outputs": [ { - "name": "cap", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidTokenSupplyLimit", - "inputs": [ + "inputs": [], + "name": "tokenSupplyCap", + "outputs": [ { - "name": "limit", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] - }, - { - "type": "error", - "name": "LSP4TokenNameNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP4TokenSymbolNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP4TokenTypeNotEditable", - "inputs": [] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8BatchCallFailed", - "inputs": [ + "inputs": [], + "name": "tokenSupplyLimit", + "outputs": [ { - "name": "callIndex", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] - }, - { - "type": "error", - "name": "LSP8CannotSendToAddressZero", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8CannotSendToSelf", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8CannotUseAddressZeroAsOperator", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8CappedSupplyCannotMintOverCap", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8CappedSupplyRequired", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8InvalidTransferBatch", - "inputs": [] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8NonExistentTokenId", "inputs": [ { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" } - ] - }, - { - "type": "error", - "name": "LSP8NonExistingOperator", - "inputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - }, + ], + "name": "tokenTierOf", + "outputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint8", + "name": "tier", + "type": "uint8" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8NotTokenOperator", - "inputs": [ - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - }, + "inputs": [], + "name": "totalSupply", + "outputs": [ { - "name": "caller", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8NotTokenOwner", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" }, { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" }, { - "name": "caller", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "LSP8NotifyTokenReceiverContractMissingLSP1Interface", - "inputs": [ + "internalType": "bool", + "name": "force", + "type": "bool" + }, { - "name": "tokenReceiver", - "type": "address", - "internalType": "address" + "internalType": "bytes", + "name": "data", + "type": "bytes" } - ] + ], + "name": "transfer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8NotifyTokenReceiverIsEOA", "inputs": [ { - "name": "tokenReceiver", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "LSP8OperatorAlreadyAuthorized", - "inputs": [ + "internalType": "address[]", + "name": "from", + "type": "address[]" + }, { - "name": "operator", - "type": "address", - "internalType": "address" + "internalType": "address[]", + "name": "to", + "type": "address[]" }, { + "internalType": "bytes32[]", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32[]" + }, + { + "internalType": "bool[]", + "name": "force", + "type": "bool[]" + }, + { + "internalType": "bytes[]", + "name": "data", + "type": "bytes[]" } - ] + ], + "name": "transferBatch", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8TokenIdAlreadyMinted", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "newOwner", + "type": "address" } - ] - }, - { - "type": "error", - "name": "LSP8TokenIdSchemaNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8TokenIdsDataEmptyArray", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8TokenIdsDataLengthMismatch", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8TokenOwnerCannotBeOperator", - "inputs": [] + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "NoExtensionFoundForFunctionSelector", - "inputs": [ - { - "name": "functionSelector", - "type": "bytes4", - "internalType": "bytes4" - } - ] + "inputs": [], + "name": "unpause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "TokenSupplyLimitExceeded", "inputs": [ { - "name": "supply", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "limit", - "type": "uint256", - "internalType": "uint256" - }, - { + "internalType": "uint256", "name": "amount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } - ] + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "UnauthorizedPurchase", - "inputs": [ - { - "name": "recipient", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenIds", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "totalPrice", - "type": "uint256", - "internalType": "uint256" - } - ] + "stateMutability": "payable", + "type": "receive" } ] diff --git a/artifacts/abi/assets/lsp8/MintableIdentifiableDigitalAsset.json b/artifacts/abi/assets/lsp8/MintableIdentifiableDigitalAsset.json index 910c557..619f820 100644 --- a/artifacts/abi/assets/lsp8/MintableIdentifiableDigitalAsset.json +++ b/artifacts/abi/assets/lsp8/MintableIdentifiableDigitalAsset.json @@ -1,991 +1,1007 @@ [ { - "type": "constructor", "inputs": [ { + "internalType": "string", "name": "name_", - "type": "string", - "internalType": "string" + "type": "string" }, { + "internalType": "string", "name": "symbol_", - "type": "string", - "internalType": "string" + "type": "string" }, { + "internalType": "address", "name": "newOwner_", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "uint256", "name": "tokenIdType_", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "uint256", "name": "lsp8TokenIdSchema_", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "uint256", "name": "tokenSupplyCap_", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "fallback", - "stateMutability": "payable" + "inputs": [], + "name": "ERC725Y_DataKeysValuesEmptyArray", + "type": "error" }, { - "type": "receive", - "stateMutability": "payable" + "inputs": [], + "name": "ERC725Y_DataKeysValuesLengthMismatch", + "type": "error" }, { - "type": "function", - "name": "authorizeOperator", - "inputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "inputs": [], + "name": "ERC725Y_MsgValueDisallowed", + "type": "error" }, { - "type": "function", - "name": "balanceOf", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes", + "name": "storedData", + "type": "bytes" } ], - "stateMutability": "view" + "name": "InvalidExtensionAddress", + "type": "error" }, { - "type": "function", - "name": "batchCalls", "inputs": [ { + "internalType": "bytes", "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [ - { - "name": "results", - "type": "bytes[]", - "internalType": "bytes[]" + "type": "bytes" } ], - "stateMutability": "nonpayable" + "name": "InvalidFunctionSelector", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenNameNotEditable", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenSymbolNotEditable", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenTypeNotEditable", + "type": "error" }, { - "type": "function", - "name": "getData", "inputs": [ { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "callIndex", + "type": "uint256" } ], - "outputs": [ + "name": "LSP8BatchCallFailed", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CannotSendToAddressZero", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CannotSendToSelf", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CannotUseAddressZeroAsOperator", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CappedSupplyCannotMintOverCap", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CappedSupplyRequired", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8InvalidTransferBatch", + "type": "error" + }, + { + "inputs": [ { - "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "stateMutability": "view" + "name": "LSP8NonExistentTokenId", + "type": "error" }, { - "type": "function", - "name": "getDataBatch", "inputs": [ { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [ + "internalType": "address", + "name": "operator", + "type": "address" + }, { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "stateMutability": "view" + "name": "LSP8NonExistingOperator", + "type": "error" }, { - "type": "function", - "name": "getOperatorsOf", "inputs": [ { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ + "type": "bytes32" + }, { - "name": "", - "type": "address[]", - "internalType": "address[]" + "internalType": "address", + "name": "caller", + "type": "address" } ], - "stateMutability": "view" + "name": "LSP8NotTokenOperator", + "type": "error" }, { - "type": "function", - "name": "getTokenIdData", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "tokenOwner", + "type": "address" }, { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, { - "name": "dataValues", - "type": "bytes", - "internalType": "bytes" + "internalType": "address", + "name": "caller", + "type": "address" } ], - "stateMutability": "view" + "name": "LSP8NotTokenOwner", + "type": "error" }, { - "type": "function", - "name": "getTokenIdDataBatch", "inputs": [ { - "name": "tokenIds", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" + "internalType": "address", + "name": "tokenReceiver", + "type": "address" } ], - "outputs": [ + "name": "LSP8NotifyTokenReceiverContractMissingLSP1Interface", + "type": "error" + }, + { + "inputs": [ { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "address", + "name": "tokenReceiver", + "type": "address" } ], - "stateMutability": "view" + "name": "LSP8NotifyTokenReceiverIsEOA", + "type": "error" }, { - "type": "function", - "name": "isOperatorFor", "inputs": [ { + "internalType": "address", "name": "operator", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" } ], - "outputs": [ + "name": "LSP8OperatorAlreadyAuthorized", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8TokenContractCannotHoldValue", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "stateMutability": "view" + "name": "LSP8TokenIdAlreadyMinted", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8TokenIdFormatNotEditable", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8TokenIdsDataEmptyArray", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8TokenIdsDataLengthMismatch", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8TokenOwnerCannotBeOperator", + "type": "error" }, { - "type": "function", - "name": "mint", "inputs": [ { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "force", - "type": "bool", - "internalType": "bool" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes4", + "name": "functionSelector", + "type": "bytes4" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "NoExtensionFoundForFunctionSelector", + "type": "error" }, { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "stateMutability": "view" + "name": "OwnableCallerNotTheOwner", + "type": "error" }, { - "type": "function", - "name": "renounceOwnership", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" }, { - "type": "function", - "name": "revokeOperator", + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" + } + ], + "name": "DataChanged", + "type": "event" + }, + { + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "address", "name": "operator", - "type": "address", - "internalType": "address" + "type": "address" }, { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "indexed": true, + "internalType": "address", + "name": "tokenOwner", + "type": "address" }, { - "name": "notify", - "type": "bool", - "internalType": "bool" + "indexed": true, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { + "indexed": false, + "internalType": "bytes", "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OperatorAuthorizationChanged", + "type": "event" }, { - "type": "function", - "name": "setData", + "anonymous": false, "inputs": [ { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "indexed": true, + "internalType": "address", + "name": "tokenOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bool", + "name": "notified", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "payable" + "name": "OperatorRevoked", + "type": "event" }, { - "type": "function", - "name": "setDataBatch", + "anonymous": false, "inputs": [ { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" }, { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" } ], - "outputs": [], - "stateMutability": "payable" + "name": "OwnershipTransferred", + "type": "event" }, { - "type": "function", - "name": "setTokenIdData", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" }, { + "indexed": true, + "internalType": "bytes32", "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" }, { + "indexed": false, + "internalType": "bytes", "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "TokenIdDataChanged", + "type": "event" }, { - "type": "function", - "name": "setTokenIdDataBatch", + "anonymous": false, "inputs": [ { - "name": "tokenIds", - "type": "bytes32[]", - "internalType": "bytes32[]" + "indexed": false, + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" }, { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bool", + "name": "force", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "data", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Transfer", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" }, { - "type": "function", - "name": "supportsInterface", "inputs": [ { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ + "internalType": "address", + "name": "operator", + "type": "address" + }, { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "stateMutability": "view" + "name": "authorizeOperator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "tokenAt", "inputs": [ { - "name": "index", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "tokenOwner", + "type": "address" } ], + "name": "balanceOf", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "bytes32", - "internalType": "bytes32" + "type": "uint256" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "tokenIdsOf", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" + "internalType": "bytes[]", + "name": "data", + "type": "bytes[]" } ], + "name": "batchCalls", "outputs": [ { - "name": "", - "type": "bytes32[]", - "internalType": "bytes32[]" + "internalType": "bytes[]", + "name": "results", + "type": "bytes[]" } ], - "stateMutability": "view" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "tokenOwnerOf", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" } ], + "name": "getData", "outputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "tokenSupplyCap", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], + "name": "getDataBatch", "outputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "transfer", "inputs": [ { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "bytes32[]", + "name": "tokenIds", + "type": "bytes32[]" }, { - "name": "force", - "type": "bool", - "internalType": "bool" - }, + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" + } + ], + "name": "getDataBatchForTokenIds", + "outputs": [ { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } ], - "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "transferBatch", "inputs": [ { - "name": "from", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "to", - "type": "address[]", - "internalType": "address[]" - }, - { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32[]", - "internalType": "bytes32[]" + "type": "bytes32" }, { - "name": "force", - "type": "bool[]", - "internalType": "bool[]" - }, + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" + } + ], + "name": "getDataForTokenId", + "outputs": [ { - "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "transferOwnership", "inputs": [ { - "name": "newOwner", - "type": "address", - "internalType": "address" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "getOperatorsOf", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "DataChanged", "inputs": [ { - "name": "dataKey", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "dataValue", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + } + ], + "name": "isOperatorFor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "OperatorAuthorizationChanged", "inputs": [ { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "to", + "type": "address" }, { - "name": "tokenOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "tokenId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "internalType": "bool", + "name": "force", + "type": "bool" }, { - "name": "operatorNotificationData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "bytes", + "name": "data", + "type": "bytes" } ], - "anonymous": false + "name": "mint", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "OperatorRevoked", "inputs": [ { + "internalType": "address", "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "tokenOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "type": "address" }, { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "type": "bytes32" }, { - "name": "notified", - "type": "bool", - "indexed": false, - "internalType": "bool" + "internalType": "bool", + "name": "notify", + "type": "bool" }, { + "internalType": "bytes", "name": "operatorNotificationData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "type": "bytes" } ], - "anonymous": false + "name": "revokeOperator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "OwnershipTransferred", "inputs": [ { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" }, { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } ], - "anonymous": false + "name": "setData", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "event", - "name": "TokenIdDataChanged", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "dataKey", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" }, { - "name": "dataValue", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } ], - "anonymous": false + "name": "setDataBatch", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "event", - "name": "Transfer", "inputs": [ { - "name": "operator", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "bytes32[]", + "name": "tokenIds", + "type": "bytes32[]" }, { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" }, { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" + } + ], + "name": "setDataBatchForTokenIds", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "type": "bytes32" }, { - "name": "force", - "type": "bool", - "indexed": false, - "internalType": "bool" + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" }, { - "name": "data", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } ], - "anonymous": false - }, - { - "type": "error", - "name": "ERC725Y_DataKeysValuesEmptyArray", - "inputs": [] - }, - { - "type": "error", - "name": "ERC725Y_DataKeysValuesLengthMismatch", - "inputs": [] - }, - { - "type": "error", - "name": "ERC725Y_MsgValueDisallowed", - "inputs": [] + "name": "setDataForTokenId", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidExtensionAddress", "inputs": [ { - "name": "storedData", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidFunctionSelector", "inputs": [ { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "internalType": "uint256", + "name": "index", + "type": "uint256" } - ] - }, - { - "type": "error", - "name": "LSP4TokenNameNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP4TokenSymbolNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP4TokenTypeNotEditable", - "inputs": [] + ], + "name": "tokenAt", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8BatchCallFailed", "inputs": [ { - "name": "callIndex", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "tokenOwner", + "type": "address" } - ] - }, - { - "type": "error", - "name": "LSP8CannotSendToAddressZero", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8CannotSendToSelf", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8CannotUseAddressZeroAsOperator", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8CappedSupplyCannotMintOverCap", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8CappedSupplyRequired", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8InvalidTransferBatch", - "inputs": [] + ], + "name": "tokenIdsOf", + "outputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8NonExistentTokenId", "inputs": [ { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" + } + ], + "name": "tokenOwnerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8NonExistingOperator", - "inputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - }, + "inputs": [], + "name": "tokenSupplyCap", + "outputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8NotTokenOperator", - "inputs": [ - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - }, + "inputs": [], + "name": "totalSupply", + "outputs": [ { - "name": "caller", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8NotTokenOwner", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "from", + "type": "address" }, { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" }, { - "name": "caller", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "LSP8NotifyTokenReceiverContractMissingLSP1Interface", - "inputs": [ + "internalType": "bool", + "name": "force", + "type": "bool" + }, { - "name": "tokenReceiver", - "type": "address", - "internalType": "address" + "internalType": "bytes", + "name": "data", + "type": "bytes" } - ] + ], + "name": "transfer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8NotifyTokenReceiverIsEOA", "inputs": [ { - "name": "tokenReceiver", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "LSP8OperatorAlreadyAuthorized", - "inputs": [ + "internalType": "address[]", + "name": "from", + "type": "address[]" + }, { - "name": "operator", - "type": "address", - "internalType": "address" + "internalType": "address[]", + "name": "to", + "type": "address[]" }, { + "internalType": "bytes32[]", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32[]" + }, + { + "internalType": "bool[]", + "name": "force", + "type": "bool[]" + }, + { + "internalType": "bytes[]", + "name": "data", + "type": "bytes[]" } - ] - }, - { - "type": "error", - "name": "LSP8TokenContractCannotHoldValue", - "inputs": [] + ], + "name": "transferBatch", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8TokenIdAlreadyMinted", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "newOwner", + "type": "address" } - ] - }, - { - "type": "error", - "name": "LSP8TokenIdSchemaNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8TokenIdsDataEmptyArray", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8TokenIdsDataLengthMismatch", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8TokenOwnerCannotBeOperator", - "inputs": [] + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "NoExtensionFoundForFunctionSelector", - "inputs": [ - { - "name": "functionSelector", - "type": "bytes4", - "internalType": "bytes4" - } - ] + "stateMutability": "payable", + "type": "receive" } ] diff --git a/artifacts/abi/drops/LSP7DropsDigitalAsset.json b/artifacts/abi/drops/LSP7DropsDigitalAsset.json index d0576cd..9a8e7e4 100644 --- a/artifacts/abi/drops/LSP7DropsDigitalAsset.json +++ b/artifacts/abi/drops/LSP7DropsDigitalAsset.json @@ -1,1287 +1,1303 @@ [ { - "type": "constructor", "inputs": [ { + "internalType": "string", "name": "name_", - "type": "string", - "internalType": "string" + "type": "string" }, { + "internalType": "string", "name": "symbol_", - "type": "string", - "internalType": "string" + "type": "string" }, { + "internalType": "address", "name": "newOwner_", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "address", "name": "service_", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "address", "name": "verifier_", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "uint256", "name": "tokenSupplyCap_", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "uint32", "name": "serviceFeePoints_", - "type": "uint32", - "internalType": "uint32" + "type": "uint32" } ], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "fallback", - "stateMutability": "payable" + "inputs": [ + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "AlreadyClaimed", + "type": "error" }, { - "type": "receive", - "stateMutability": "payable" + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "ClaimInvalidAmount", + "type": "error" }, { - "type": "function", - "name": "activate", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "ClaimingUnavailable", + "type": "error" }, { - "type": "function", - "name": "activated", "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" + "name": "ERC725Y_DataKeysValuesEmptyArray", + "type": "error" }, { - "type": "function", - "name": "allowlist", "inputs": [], - "outputs": [ - { - "name": "aRoot", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" + "name": "ERC725Y_DataKeysValuesLengthMismatch", + "type": "error" + }, + { + "inputs": [], + "name": "ERC725Y_MsgValueDisallowed", + "type": "error" + }, + { + "inputs": [], + "name": "Inactive", + "type": "error" }, { - "type": "function", - "name": "authorizeOperator", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "index", + "type": "uint256" }, { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes", + "name": "data", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InvalidClaim", + "type": "error" }, { - "type": "function", - "name": "authorizedAmountFor", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenOwner", - "type": "address", - "internalType": "address" + "internalType": "bytes", + "name": "storedData", + "type": "bytes" } ], - "outputs": [ + "name": "InvalidExtensionAddress", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes", + "name": "data", + "type": "bytes" } ], - "stateMutability": "view" + "name": "InvalidFunctionSelector", + "type": "error" }, { - "type": "function", - "name": "balanceOf", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "fee", + "type": "uint256" } ], - "outputs": [ + "name": "InvalidServiceFee", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "startTime", + "type": "uint256" } ], - "stateMutability": "view" + "name": "InvalidStartTime", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenNameNotEditable", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenSymbolNotEditable", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenTypeNotEditable", + "type": "error" }, { - "type": "function", - "name": "batchCalls", "inputs": [ { - "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [ + "internalType": "address", + "name": "tokenOwner", + "type": "address" + }, { - "name": "results", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "uint256", + "name": "authorizedAmount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "stateMutability": "nonpayable" + "name": "LSP7AmountExceedsAuthorizedAmount", + "type": "error" }, { - "type": "function", - "name": "claim", "inputs": [ { - "name": "beneficiary", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "balance", + "type": "uint256" + }, + { + "internalType": "address", + "name": "tokenOwner", + "type": "address" }, { + "internalType": "uint256", "name": "amount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "LSP7AmountExceedsBalance", + "type": "error" }, { - "type": "function", - "name": "claimBalanceOf", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "callIndex", + "type": "uint256" } ], - "outputs": [ + "name": "LSP7BatchCallFailed", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7CannotSendToSelf", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7CannotSendWithAddressZero", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7CannotUseAddressZeroAsOperator", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7CappedSupplyCannotMintOverCap", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7CappedSupplyRequired", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7DecreasedAllowanceBelowZero", + "type": "error" + }, + { + "inputs": [], + "name": "LSP7InvalidTransferBatch", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "tokenReceiver", + "type": "address" } ], - "stateMutability": "view" + "name": "LSP7NotifyTokenReceiverContractMissingLSP1Interface", + "type": "error" }, { - "type": "function", - "name": "configure", "inputs": [ { - "name": "startTime_", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "mintPrice_", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "profileMintLimit_", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "allowlistRoot_", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "tokenReceiver", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "LSP7NotifyTokenReceiverIsEOA", + "type": "error" }, { - "type": "function", - "name": "deactivate", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "LSP7TokenContractCannotHoldValue", + "type": "error" }, { - "type": "function", - "name": "decimals", "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" + "name": "LSP7TokenOwnerCannotBeOperator", + "type": "error" + }, + { + "inputs": [], + "name": "MintDisallowed", + "type": "error" }, { - "type": "function", - "name": "decreaseAllowance", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "subtractedAmount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "MintExceedLimit", + "type": "error" }, { - "type": "function", - "name": "getData", "inputs": [ { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "outputs": [ + "name": "MintInvalidAmount", + "type": "error" + }, + { + "inputs": [], + "name": "MintInvalidSignature", + "type": "error" + }, + { + "inputs": [ { - "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes4", + "name": "functionSelector", + "type": "bytes4" } ], - "stateMutability": "view" + "name": "NoExtensionFoundForFunctionSelector", + "type": "error" }, { - "type": "function", - "name": "getDataBatch", "inputs": [ { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" + "internalType": "address", + "name": "operator", + "type": "address" } ], - "outputs": [ + "name": "OperatorAllowanceCannotBeIncreasedFromZero", + "type": "error" + }, + { + "inputs": [ { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "stateMutability": "view" + "name": "OwnableCallerNotTheOwner", + "type": "error" + }, + { + "inputs": [], + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" + }, + { + "inputs": [], + "name": "ProfileMintZeroLimit", + "type": "error" }, { - "type": "function", - "name": "getOperatorsOf", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ + "internalType": "address", + "name": "account", + "type": "address" + }, { - "name": "", - "type": "address[]", - "internalType": "address[]" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "stateMutability": "view" + "name": "UnpaidClaim", + "type": "error" }, { - "type": "function", - "name": "increaseAllowance", + "inputs": [], + "name": "ZeroAddress", + "type": "error" + }, + { + "inputs": [], + "name": "ZeroAmount", + "type": "error" + }, + { + "anonymous": false, + "inputs": [], + "name": "Activated", + "type": "event" + }, + { + "anonymous": false, "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "addedAmount", - "type": "uint256", - "internalType": "uint256" + "indexed": true, + "internalType": "address", + "name": "beneficiary", + "type": "address" }, { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Claimed", + "type": "event" }, { - "type": "function", - "name": "mint", + "anonymous": false, "inputs": [ { - "name": "recipient", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "indexed": false, + "internalType": "uint256", + "name": "startTime", + "type": "uint256" }, { - "name": "v", - "type": "uint8", - "internalType": "uint8" + "indexed": false, + "internalType": "uint256", + "name": "mintPrice", + "type": "uint256" }, { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" + "indexed": false, + "internalType": "uint256", + "name": "profileMintLimit", + "type": "uint256" }, { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" + "indexed": false, + "internalType": "bytes32", + "name": "allowlistRoot", + "type": "bytes32" } ], - "outputs": [], - "stateMutability": "payable" + "name": "ConfigurationChanged", + "type": "event" }, { - "type": "function", - "name": "mintAllowlist", + "anonymous": false, "inputs": [ { - "name": "proof", - "type": "bytes32[]", - "internalType": "bytes32[]" + "indexed": true, + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" }, { - "name": "index", - "type": "uint256", - "internalType": "uint256" - }, + "indexed": false, + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" + } + ], + "name": "DataChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [], + "name": "Deactivated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ { + "indexed": true, + "internalType": "address", "name": "recipient", - "type": "address", - "internalType": "address" + "type": "address" }, { + "indexed": false, + "internalType": "uint256", "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" + "type": "uint256" }, { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" + "indexed": false, + "internalType": "uint256", + "name": "totalPrice", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "payable" + "name": "Minted", + "type": "event" }, { - "type": "function", - "name": "mintPrice", - "inputs": [], - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "tokenOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "stateMutability": "view" + "name": "OperatorAuthorizationChanged", + "type": "event" }, { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "tokenOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "bool", + "name": "notified", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "stateMutability": "view" + "name": "OperatorRevoked", + "type": "event" }, { - "type": "function", - "name": "profileMintLimit", - "inputs": [], - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnershipTransferred", + "type": "event" }, { - "type": "function", - "name": "revokeOperator", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "address", "name": "operator", - "type": "address", - "internalType": "address" + "type": "address" }, { - "name": "notify", - "type": "bool", - "internalType": "bool" + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" }, { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bool", + "name": "force", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "data", + "type": "bytes" } ], + "name": "Transfer", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "activate", "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "service", "inputs": [], + "name": "activated", "outputs": [ { + "internalType": "bool", "name": "", - "type": "address", - "internalType": "address" + "type": "bool" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "serviceFeePoints", "inputs": [], + "name": "allowlist", "outputs": [ { - "name": "", - "type": "uint32", - "internalType": "uint32" + "internalType": "bytes32", + "name": "aRoot", + "type": "bytes32" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "setData", "inputs": [ { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], + "name": "authorizeOperator", "outputs": [], - "stateMutability": "payable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "setDataBatch", "inputs": [ { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "address", + "name": "tokenOwner", + "type": "address" } ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "startTime", - "inputs": [], + "name": "authorizedAmountFor", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "supportsInterface", "inputs": [ { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" + "internalType": "address", + "name": "tokenOwner", + "type": "address" } ], + "name": "balanceOf", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "bool", - "internalType": "bool" + "type": "uint256" } ], - "stateMutability": "view" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "tokenSupplyCap", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes[]", + "name": "data", + "type": "bytes[]" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], + "name": "batchCalls", "outputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes[]", + "name": "results", + "type": "bytes[]" } ], - "stateMutability": "view" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "transfer", "inputs": [ { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "beneficiary", + "type": "address" }, { + "internalType": "uint256", "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "force", - "type": "bool", - "internalType": "bool" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "type": "uint256" } ], + "name": "claim", "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "transferBatch", "inputs": [ { - "name": "from", - "type": "address[]", - "internalType": "address[]" - }, + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "claimBalanceOf", + "outputs": [ { - "name": "to", - "type": "address[]", - "internalType": "address[]" + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "startTime_", + "type": "uint256" }, { - "name": "amount", - "type": "uint256[]", - "internalType": "uint256[]" + "internalType": "uint256", + "name": "mintPrice_", + "type": "uint256" }, { - "name": "force", - "type": "bool[]", - "internalType": "bool[]" + "internalType": "uint256", + "name": "profileMintLimit_", + "type": "uint256" }, { - "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "bytes32", + "name": "allowlistRoot_", + "type": "bytes32" } ], + "name": "configure", "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "transferOwnership", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], + "inputs": [], + "name": "deactivate", "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "verifier", "inputs": [], + "name": "decimals", "outputs": [ { + "internalType": "uint8", "name": "", - "type": "address", - "internalType": "address" + "type": "uint8" } ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "Activated", - "inputs": [], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Claimed", "inputs": [ { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "beneficiary", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "uint256", + "name": "subtractedAmount", + "type": "uint256" }, { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "anonymous": false + "name": "decreaseAllowance", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "ConfigurationChanged", "inputs": [ { - "name": "startTime", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "mintPrice", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "profileMintLimit", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "allowlistRoot", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" } ], - "anonymous": false - }, - { - "type": "event", - "name": "DataChanged", - "inputs": [ - { - "name": "dataKey", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, + "name": "getData", + "outputs": [ { + "internalType": "bytes", "name": "dataValue", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "type": "bytes" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Deactivated", - "inputs": [], - "anonymous": false - }, - { - "type": "event", - "name": "Minted", "inputs": [ { - "name": "recipient", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" + } + ], + "name": "getDataBatch", + "outputs": [ { - "name": "totalPrice", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "OperatorAuthorizationChanged", "inputs": [ { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { + "internalType": "address", "name": "tokenOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, + "type": "address" + } + ], + "name": "getOperatorsOf", + "outputs": [ { - "name": "operatorNotificationData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "address[]", + "name": "", + "type": "address[]" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "OperatorRevoked", "inputs": [ { + "internalType": "address", "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" + "type": "address" }, { - "name": "tokenOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "notified", - "type": "bool", - "indexed": true, - "internalType": "bool" + "internalType": "uint256", + "name": "addedAmount", + "type": "uint256" }, { + "internalType": "bytes", "name": "operatorNotificationData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "type": "bytes" } ], - "anonymous": false + "name": "increaseAllowance", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "OwnershipTransferred", "inputs": [ { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "recipient", + "type": "address" }, { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" } ], - "anonymous": false + "name": "mint", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "event", - "name": "Transfer", "inputs": [ { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bytes32[]", + "name": "proof", + "type": "bytes32[]" }, { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "uint256", + "name": "index", + "type": "uint256" }, { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "recipient", + "type": "address" }, { + "internalType": "uint256", "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "type": "uint256" }, { - "name": "force", - "type": "bool", - "indexed": false, - "internalType": "bool" + "internalType": "uint8", + "name": "v", + "type": "uint8" }, { - "name": "data", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" } ], - "anonymous": false + "name": "mintAllowlist", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "error", - "name": "AlreadyClaimed", - "inputs": [ - { - "name": "index", - "type": "uint256", - "internalType": "uint256" - }, + "inputs": [], + "name": "mintPrice", + "outputs": [ { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "ClaimInvalidAmount", - "inputs": [ + "inputs": [], + "name": "owner", + "outputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "", + "type": "address" } - ] - }, - { - "type": "error", - "name": "ClaimingUnavailable", - "inputs": [] - }, - { - "type": "error", - "name": "ERC725Y_DataKeysValuesEmptyArray", - "inputs": [] - }, - { - "type": "error", - "name": "ERC725Y_DataKeysValuesLengthMismatch", - "inputs": [] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "ERC725Y_MsgValueDisallowed", - "inputs": [] + "inputs": [], + "name": "profileMintLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "Inactive", - "inputs": [] + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidClaim", "inputs": [ { - "name": "index", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "type": "error", - "name": "InvalidExtensionAddress", - "inputs": [ - { - "name": "storedData", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "type": "error", - "name": "InvalidFunctionSelector", - "inputs": [ + "internalType": "bool", + "name": "notify", + "type": "bool" + }, { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } - ] + ], + "name": "revokeOperator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidServiceFee", - "inputs": [ + "inputs": [], + "name": "service", + "outputs": [ { - "name": "fee", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidStartTime", - "inputs": [ + "inputs": [], + "name": "serviceFeePoints", + "outputs": [ { - "name": "startTime", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint32", + "name": "", + "type": "uint32" } - ] - }, - { - "type": "error", - "name": "LSP4TokenNameNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP4TokenSymbolNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP4TokenTypeNotEditable", - "inputs": [] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP7AmountExceedsAuthorizedAmount", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" - }, - { - "name": "authorizedAmount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "operator", - "type": "address", - "internalType": "address" + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" }, { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } - ] + ], + "name": "setData", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "error", - "name": "LSP7AmountExceedsBalance", "inputs": [ { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "tokenOwner", - "type": "address", - "internalType": "address" + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" }, { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } - ] + ], + "name": "setDataBatch", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "error", - "name": "LSP7BatchCallFailed", - "inputs": [ + "inputs": [], + "name": "startTime", + "outputs": [ { - "name": "callIndex", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] - }, - { - "type": "error", - "name": "LSP7CannotSendToSelf", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7CannotSendWithAddressZero", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7CannotUseAddressZeroAsOperator", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7CappedSupplyCannotMintOverCap", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7CappedSupplyRequired", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7DecreasedAllowanceBelowZero", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7InvalidTransferBatch", - "inputs": [] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP7NotifyTokenReceiverContractMissingLSP1Interface", "inputs": [ { - "name": "tokenReceiver", - "type": "address", - "internalType": "address" + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" } - ] - }, - { - "type": "error", - "name": "LSP7NotifyTokenReceiverIsEOA", - "inputs": [ + ], + "name": "supportsInterface", + "outputs": [ { - "name": "tokenReceiver", - "type": "address", - "internalType": "address" + "internalType": "bool", + "name": "", + "type": "bool" } - ] - }, - { - "type": "error", - "name": "LSP7TokenContractCannotHoldValue", - "inputs": [] - }, - { - "type": "error", - "name": "LSP7TokenOwnerCannotBeOperator", - "inputs": [] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "MintDisallowed", - "inputs": [] + "inputs": [], + "name": "tokenSupplyCap", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "MintExceedLimit", - "inputs": [ + "inputs": [], + "name": "totalSupply", + "outputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "MintInvalidAmount", "inputs": [ { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", "name": "amount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" + }, + { + "internalType": "bool", + "name": "force", + "type": "bool" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" } - ] - }, - { - "type": "error", - "name": "MintInvalidSignature", - "inputs": [] + ], + "name": "transfer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "NoExtensionFoundForFunctionSelector", "inputs": [ { - "name": "functionSelector", - "type": "bytes4", - "internalType": "bytes4" + "internalType": "address[]", + "name": "from", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "to", + "type": "address[]" + }, + { + "internalType": "uint256[]", + "name": "amount", + "type": "uint256[]" + }, + { + "internalType": "bool[]", + "name": "force", + "type": "bool[]" + }, + { + "internalType": "bytes[]", + "name": "data", + "type": "bytes[]" } - ] + ], + "name": "transferBatch", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "OperatorAllowanceCannotBeIncreasedFromZero", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "newOwner", + "type": "address" } - ] - }, - { - "type": "error", - "name": "ProfileMintZeroLimit", - "inputs": [] + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "UnpaidClaim", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, + "inputs": [], + "name": "verifier", + "outputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "", + "type": "address" } - ] - }, - { - "type": "error", - "name": "ZeroAddress", - "inputs": [] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "ZeroAmount", - "inputs": [] + "stateMutability": "payable", + "type": "receive" } ] diff --git a/artifacts/abi/drops/LSP8DropsDigitalAsset.json b/artifacts/abi/drops/LSP8DropsDigitalAsset.json index 52dc056..bd3c017 100644 --- a/artifacts/abi/drops/LSP8DropsDigitalAsset.json +++ b/artifacts/abi/drops/LSP8DropsDigitalAsset.json @@ -1,1497 +1,1513 @@ [ { - "type": "constructor", "inputs": [ { + "internalType": "string", "name": "name_", - "type": "string", - "internalType": "string" + "type": "string" }, { + "internalType": "string", "name": "symbol_", - "type": "string", - "internalType": "string" + "type": "string" }, { + "internalType": "address", "name": "newOwner_", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "address", "name": "service_", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "address", "name": "verifier_", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "uint256", "name": "tokenSupplyCap_", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "uint32", "name": "serviceFeePoints_", - "type": "uint32", - "internalType": "uint32" + "type": "uint32" } ], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "fallback", - "stateMutability": "payable" + "inputs": [ + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "AlreadyClaimed", + "type": "error" }, { - "type": "receive", - "stateMutability": "payable" + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "ClaimInvalidAmount", + "type": "error" }, { - "type": "function", - "name": "activate", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "ClaimingUnavailable", + "type": "error" }, { - "type": "function", - "name": "activated", "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" + "name": "ERC725Y_DataKeysValuesEmptyArray", + "type": "error" }, { - "type": "function", - "name": "allowlist", "inputs": [], - "outputs": [ - { - "name": "aRoot", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" + "name": "ERC725Y_DataKeysValuesLengthMismatch", + "type": "error" + }, + { + "inputs": [], + "name": "ERC725Y_MsgValueDisallowed", + "type": "error" + }, + { + "inputs": [], + "name": "Inactive", + "type": "error" }, { - "type": "function", - "name": "authorizeOperator", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "index", + "type": "uint256" }, { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes", + "name": "data", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InvalidClaim", + "type": "error" }, { - "type": "function", - "name": "balanceOf", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes", + "name": "storedData", + "type": "bytes" } ], - "stateMutability": "view" + "name": "InvalidExtensionAddress", + "type": "error" }, { - "type": "function", - "name": "batchCalls", "inputs": [ { + "internalType": "bytes", "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [ - { - "name": "results", - "type": "bytes[]", - "internalType": "bytes[]" + "type": "bytes" } ], - "stateMutability": "nonpayable" + "name": "InvalidFunctionSelector", + "type": "error" }, { - "type": "function", - "name": "claim", "inputs": [ { - "name": "beneficiary", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "fee", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InvalidServiceFee", + "type": "error" }, { - "type": "function", - "name": "claimBalanceOf", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "startTime", + "type": "uint256" } ], - "stateMutability": "view" + "name": "InvalidStartTime", + "type": "error" }, { - "type": "function", - "name": "configure", - "inputs": [ - { - "name": "startTime_", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "mintPrice_", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "profileMintLimit_", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "allowlistRoot_", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "inputs": [], + "name": "LSP4TokenNameNotEditable", + "type": "error" }, { - "type": "function", - "name": "deactivate", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "LSP4TokenSymbolNotEditable", + "type": "error" }, { - "type": "function", - "name": "defaultTokenUri", "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" + "name": "LSP4TokenTypeNotEditable", + "type": "error" }, { - "type": "function", - "name": "getData", "inputs": [ { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "internalType": "uint256", + "name": "callIndex", + "type": "uint256" } ], - "stateMutability": "view" + "name": "LSP8BatchCallFailed", + "type": "error" }, { - "type": "function", - "name": "getDataBatch", - "inputs": [ - { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [ - { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "view" + "inputs": [], + "name": "LSP8CannotSendToAddressZero", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CannotSendToSelf", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CannotUseAddressZeroAsOperator", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CappedSupplyCannotMintOverCap", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CappedSupplyRequired", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8InvalidTransferBatch", + "type": "error" }, { - "type": "function", - "name": "getOperatorsOf", "inputs": [ { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "address[]", - "internalType": "address[]" + "type": "bytes32" } ], - "stateMutability": "view" + "name": "LSP8NonExistentTokenId", + "type": "error" }, { - "type": "function", - "name": "getTokenIdData", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "dataValues", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "stateMutability": "view" + "name": "LSP8NonExistingOperator", + "type": "error" }, { - "type": "function", - "name": "getTokenIdDataBatch", "inputs": [ { - "name": "tokenIds", - "type": "bytes32[]", - "internalType": "bytes32[]" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [ - { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "address", + "name": "caller", + "type": "address" } ], - "stateMutability": "view" + "name": "LSP8NotTokenOperator", + "type": "error" }, { - "type": "function", - "name": "isOperatorFor", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "tokenOwner", + "type": "address" }, { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" + }, + { + "internalType": "address", + "name": "caller", + "type": "address" } ], - "outputs": [ + "name": "LSP8NotTokenOwner", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "address", + "name": "tokenReceiver", + "type": "address" } ], - "stateMutability": "view" + "name": "LSP8NotifyTokenReceiverContractMissingLSP1Interface", + "type": "error" }, { - "type": "function", - "name": "mint", "inputs": [ { - "name": "recipient", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "tokenReceiver", + "type": "address" } ], - "outputs": [], - "stateMutability": "payable" + "name": "LSP8NotifyTokenReceiverIsEOA", + "type": "error" }, { - "type": "function", - "name": "mintAllowlist", "inputs": [ { - "name": "proof", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "index", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "recipient", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "outputs": [], - "stateMutability": "payable" + "name": "LSP8OperatorAlreadyAuthorized", + "type": "error" }, { - "type": "function", - "name": "mintPrice", "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" + "name": "LSP8TokenContractCannotHoldValue", + "type": "error" }, { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "stateMutability": "view" + "name": "LSP8TokenIdAlreadyMinted", + "type": "error" }, { - "type": "function", - "name": "profileMintLimit", "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" + "name": "LSP8TokenIdFormatNotEditable", + "type": "error" }, { - "type": "function", - "name": "renounceOwnership", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "LSP8TokenIdsDataEmptyArray", + "type": "error" }, { - "type": "function", - "name": "revokeOperator", - "inputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "notify", - "type": "bool", - "internalType": "bool" - }, - { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "service", "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" + "name": "LSP8TokenIdsDataLengthMismatch", + "type": "error" }, { - "type": "function", - "name": "serviceFeePoints", "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setData", - "inputs": [ - { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "dataValue", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "setDataBatch", - "inputs": [ - { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [], - "stateMutability": "payable" + "name": "LSP8TokenOwnerCannotBeOperator", + "type": "error" }, { - "type": "function", - "name": "setDefaultTokenUri", - "inputs": [ - { - "name": "newTokenUri", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "inputs": [], + "name": "MintDisallowed", + "type": "error" }, { - "type": "function", - "name": "setTokenIdData", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "MintExceedLimit", + "type": "error" }, { - "type": "function", - "name": "setTokenIdDataBatch", "inputs": [ { - "name": "tokenIds", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "MintInvalidAmount", + "type": "error" }, { - "type": "function", - "name": "startTime", "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "tokenAt", - "inputs": [ - { - "name": "index", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" + "name": "MintInvalidSignature", + "type": "error" }, { - "type": "function", - "name": "tokenIdsOf", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32[]", - "internalType": "bytes32[]" + "internalType": "bytes4", + "name": "functionSelector", + "type": "bytes4" } ], - "stateMutability": "view" + "name": "NoExtensionFoundForFunctionSelector", + "type": "error" }, { - "type": "function", - "name": "tokenOwnerOf", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "stateMutability": "view" + "name": "OwnableCallerNotTheOwner", + "type": "error" }, { - "type": "function", - "name": "tokenSupplyCap", "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" }, { - "type": "function", - "name": "totalSupply", "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "force", - "type": "bool", - "internalType": "bool" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "ProfileMintZeroLimit", + "type": "error" }, { - "type": "function", - "name": "transferBatch", "inputs": [ { - "name": "from", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "to", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "tokenId", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "force", - "type": "bool[]", - "internalType": "bool[]" + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "UnpaidClaim", + "type": "error" }, { - "type": "function", - "name": "transferOwnership", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "inputs": [], + "name": "ZeroAddress", + "type": "error" }, { - "type": "function", - "name": "verifier", "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" + "name": "ZeroAmount", + "type": "error" }, { - "type": "event", - "name": "Activated", + "anonymous": false, "inputs": [], - "anonymous": false + "name": "Activated", + "type": "event" }, { - "type": "event", - "name": "Claimed", + "anonymous": false, "inputs": [ { - "name": "account", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "beneficiary", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "beneficiary", + "type": "address" }, { - "name": "amount", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "anonymous": false + "name": "Claimed", + "type": "event" }, { - "type": "event", - "name": "ConfigurationChanged", + "anonymous": false, "inputs": [ { - "name": "startTime", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "startTime", + "type": "uint256" }, { - "name": "mintPrice", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "mintPrice", + "type": "uint256" }, { - "name": "profileMintLimit", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "profileMintLimit", + "type": "uint256" }, { - "name": "allowlistRoot", - "type": "bytes32", "indexed": false, - "internalType": "bytes32" + "internalType": "bytes32", + "name": "allowlistRoot", + "type": "bytes32" } ], - "anonymous": false + "name": "ConfigurationChanged", + "type": "event" }, { - "type": "event", - "name": "DataChanged", + "anonymous": false, "inputs": [ { - "name": "dataKey", - "type": "bytes32", "indexed": true, - "internalType": "bytes32" + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" }, { - "name": "dataValue", - "type": "bytes", "indexed": false, - "internalType": "bytes" + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } ], - "anonymous": false + "name": "DataChanged", + "type": "event" }, { - "type": "event", - "name": "Deactivated", + "anonymous": false, "inputs": [], - "anonymous": false + "name": "Deactivated", + "type": "event" }, { - "type": "event", - "name": "DefaultTokenDataChanged", + "anonymous": false, "inputs": [ { - "name": "defaultTokenData", - "type": "bytes", "indexed": false, - "internalType": "bytes" + "internalType": "bytes", + "name": "defaultTokenData", + "type": "bytes" } ], - "anonymous": false + "name": "DefaultTokenDataChanged", + "type": "event" }, { - "type": "event", - "name": "Minted", + "anonymous": false, "inputs": [ { - "name": "recipient", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "recipient", + "type": "address" }, { - "name": "tokenIds", - "type": "bytes32[]", "indexed": false, - "internalType": "bytes32[]" + "internalType": "bytes32[]", + "name": "tokenIds", + "type": "bytes32[]" }, { - "name": "totalPrice", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "totalPrice", + "type": "uint256" } ], - "anonymous": false + "name": "Minted", + "type": "event" }, { - "type": "event", - "name": "OperatorAuthorizationChanged", + "anonymous": false, "inputs": [ { - "name": "operator", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "tokenOwner", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "tokenOwner", + "type": "address" }, { - "name": "tokenId", - "type": "bytes32", "indexed": true, - "internalType": "bytes32" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "operatorNotificationData", - "type": "bytes", "indexed": false, - "internalType": "bytes" + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "anonymous": false + "name": "OperatorAuthorizationChanged", + "type": "event" }, { - "type": "event", - "name": "OperatorRevoked", + "anonymous": false, "inputs": [ { - "name": "operator", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "tokenOwner", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "tokenOwner", + "type": "address" }, { - "name": "tokenId", - "type": "bytes32", "indexed": true, - "internalType": "bytes32" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "notified", - "type": "bool", "indexed": false, - "internalType": "bool" + "internalType": "bool", + "name": "notified", + "type": "bool" }, { - "name": "operatorNotificationData", - "type": "bytes", "indexed": false, - "internalType": "bytes" + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "anonymous": false + "name": "OperatorRevoked", + "type": "event" }, { - "type": "event", - "name": "OwnershipTransferred", + "anonymous": false, "inputs": [ { - "name": "previousOwner", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "previousOwner", + "type": "address" }, { - "name": "newOwner", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "newOwner", + "type": "address" } ], - "anonymous": false + "name": "OwnershipTransferred", + "type": "event" }, { - "type": "event", - "name": "TokenIdDataChanged", + "anonymous": false, "inputs": [ { - "name": "tokenId", - "type": "bytes32", "indexed": true, - "internalType": "bytes32" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "dataKey", - "type": "bytes32", "indexed": true, - "internalType": "bytes32" + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" }, { - "name": "dataValue", - "type": "bytes", "indexed": false, - "internalType": "bytes" + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } ], - "anonymous": false + "name": "TokenIdDataChanged", + "type": "event" }, { - "type": "event", - "name": "Transfer", + "anonymous": false, "inputs": [ { - "name": "operator", - "type": "address", "indexed": false, - "internalType": "address" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "from", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "from", + "type": "address" }, { - "name": "to", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "to", + "type": "address" }, { - "name": "tokenId", - "type": "bytes32", "indexed": true, - "internalType": "bytes32" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "force", - "type": "bool", "indexed": false, - "internalType": "bool" + "internalType": "bool", + "name": "force", + "type": "bool" }, { - "name": "data", - "type": "bytes", "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "AlreadyClaimed", - "inputs": [ - { - "name": "index", - "type": "uint256", - "internalType": "uint256" - }, - { + "internalType": "bytes", "name": "data", - "type": "bytes", - "internalType": "bytes" + "type": "bytes" } - ] - }, - { - "type": "error", - "name": "ClaimInvalidAmount", - "inputs": [ - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "ClaimingUnavailable", - "inputs": [] + ], + "name": "Transfer", + "type": "event" }, { - "type": "error", - "name": "ERC725Y_DataKeysValuesEmptyArray", - "inputs": [] + "stateMutability": "payable", + "type": "fallback" }, { - "type": "error", - "name": "ERC725Y_DataKeysValuesLengthMismatch", - "inputs": [] + "inputs": [], + "name": "activate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "ERC725Y_MsgValueDisallowed", - "inputs": [] + "inputs": [], + "name": "activated", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "Inactive", - "inputs": [] + "inputs": [], + "name": "allowlist", + "outputs": [ + { + "internalType": "bytes32", + "name": "aRoot", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidClaim", "inputs": [ { - "name": "index", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } - ] + ], + "name": "authorizeOperator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidExtensionAddress", "inputs": [ { - "name": "storedData", - "type": "bytes", - "internalType": "bytes" + "internalType": "address", + "name": "tokenOwner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidFunctionSelector", "inputs": [ { + "internalType": "bytes[]", "name": "data", - "type": "bytes", - "internalType": "bytes" + "type": "bytes[]" + } + ], + "name": "batchCalls", + "outputs": [ + { + "internalType": "bytes[]", + "name": "results", + "type": "bytes[]" } - ] + ], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidServiceFee", "inputs": [ { - "name": "fee", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" } - ] + ], + "name": "claim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidStartTime", "inputs": [ { - "name": "startTime", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" } - ] - }, - { - "type": "error", - "name": "LSP4TokenNameNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP4TokenSymbolNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP4TokenTypeNotEditable", - "inputs": [] + ], + "name": "claimBalanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8BatchCallFailed", "inputs": [ { - "name": "callIndex", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "startTime_", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "mintPrice_", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "profileMintLimit_", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "allowlistRoot_", + "type": "bytes32" } - ] + ], + "name": "configure", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8CannotSendToAddressZero", - "inputs": [] + "inputs": [], + "name": "deactivate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8CannotSendToSelf", - "inputs": [] + "inputs": [], + "name": "defaultTokenUri", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8CannotUseAddressZeroAsOperator", - "inputs": [] + "inputs": [ + { + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" + } + ], + "name": "getData", + "outputs": [ + { + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8CappedSupplyCannotMintOverCap", - "inputs": [] + "inputs": [ + { + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" + } + ], + "name": "getDataBatch", + "outputs": [ + { + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8CappedSupplyRequired", - "inputs": [] + "inputs": [ + { + "internalType": "bytes32[]", + "name": "tokenIds", + "type": "bytes32[]" + }, + { + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" + } + ], + "name": "getDataBatchForTokenIds", + "outputs": [ + { + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8InvalidTransferBatch", - "inputs": [] + "inputs": [ + { + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" + } + ], + "name": "getDataForTokenId", + "outputs": [ + { + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8NonExistentTokenId", "inputs": [ { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" } - ] + ], + "name": "getOperatorsOf", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8NonExistingOperator", "inputs": [ { + "internalType": "address", "name": "operator", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" + } + ], + "name": "isOperatorFor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8NotTokenOperator", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "recipient", + "type": "address" }, { - "name": "caller", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" } - ] + ], + "name": "mint", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "error", - "name": "LSP8NotTokenOwner", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" + "internalType": "bytes32[]", + "name": "proof", + "type": "bytes32[]" }, { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "index", + "type": "uint256" }, { - "name": "caller", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" } - ] + ], + "name": "mintAllowlist", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "error", - "name": "LSP8NotifyTokenReceiverContractMissingLSP1Interface", - "inputs": [ + "inputs": [], + "name": "mintPrice", + "outputs": [ { - "name": "tokenReceiver", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8NotifyTokenReceiverIsEOA", - "inputs": [ + "inputs": [], + "name": "owner", + "outputs": [ { - "name": "tokenReceiver", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "profileMintLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8OperatorAlreadyAuthorized", "inputs": [ { + "internalType": "address", "name": "operator", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "notify", + "type": "bool" + }, + { + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } - ] + ], + "name": "revokeOperator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8TokenContractCannotHoldValue", - "inputs": [] + "inputs": [], + "name": "service", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "serviceFeePoints", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8TokenIdAlreadyMinted", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } - ] + ], + "name": "setData", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "error", - "name": "LSP8TokenIdSchemaNotEditable", - "inputs": [] + "inputs": [ + { + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" + }, + { + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" + } + ], + "name": "setDataBatch", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "error", - "name": "LSP8TokenIdsDataEmptyArray", - "inputs": [] + "inputs": [ + { + "internalType": "bytes32[]", + "name": "tokenIds", + "type": "bytes32[]" + }, + { + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" + }, + { + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" + } + ], + "name": "setDataBatchForTokenIds", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8TokenIdsDataLengthMismatch", - "inputs": [] + "inputs": [ + { + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" + } + ], + "name": "setDataForTokenId", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8TokenOwnerCannotBeOperator", - "inputs": [] + "inputs": [ + { + "internalType": "bytes", + "name": "newTokenUri", + "type": "bytes" + } + ], + "name": "setDefaultTokenUri", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "MintDisallowed", - "inputs": [] + "inputs": [], + "name": "startTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "MintExceedLimit", "inputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" } - ] + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "MintInvalidAmount", "inputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "index", + "type": "uint256" } - ] + ], + "name": "tokenAt", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "MintInvalidSignature", - "inputs": [] + "inputs": [ + { + "internalType": "address", + "name": "tokenOwner", + "type": "address" + } + ], + "name": "tokenIdsOf", + "outputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "NoExtensionFoundForFunctionSelector", "inputs": [ { - "name": "functionSelector", - "type": "bytes4", - "internalType": "bytes4" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } - ] + ], + "name": "tokenOwnerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "ProfileMintZeroLimit", - "inputs": [] + "inputs": [], + "name": "tokenSupplyCap", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "UnpaidClaim", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "from", + "type": "address" }, { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "force", + "type": "bool" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" } - ] + ], + "name": "transfer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "ZeroAddress", - "inputs": [] + "inputs": [ + { + "internalType": "address[]", + "name": "from", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "to", + "type": "address[]" + }, + { + "internalType": "bytes32[]", + "name": "tokenId", + "type": "bytes32[]" + }, + { + "internalType": "bool[]", + "name": "force", + "type": "bool[]" + }, + { + "internalType": "bytes[]", + "name": "data", + "type": "bytes[]" + } + ], + "name": "transferBatch", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "ZeroAmount", - "inputs": [] + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "verifier", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" } ] diff --git a/artifacts/abi/marketplace/Participant.json b/artifacts/abi/marketplace/Participant.json index 1e11469..720fe56 100644 --- a/artifacts/abi/marketplace/Participant.json +++ b/artifacts/abi/marketplace/Participant.json @@ -1,272 +1,288 @@ [ { - "type": "constructor", "inputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "function", - "name": "collectorAsset", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "contract ICollectorIdentifiableDigitalAsset" + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "stateMutability": "view" + "name": "OwnableCallerNotTheOwner", + "type": "error" }, { - "type": "function", - "name": "feeDiscountFor", + "inputs": [], + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" + }, + { + "anonymous": false, "inputs": [ { - "name": "profile", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "genesisAsset", - "inputs": [], - "outputs": [ + "indexed": false, + "internalType": "uint32", + "name": "previousDiscountPoints", + "type": "uint32" + }, { - "name": "", - "type": "address", - "internalType": "contract ILSP7DigitalAsset" + "indexed": false, + "internalType": "uint32", + "name": "newDiscountPoints", + "type": "uint32" } ], - "stateMutability": "view" + "name": "AssetFeeDiscountChanged", + "type": "event" }, { - "type": "function", - "name": "initialize", + "anonymous": false, "inputs": [ { - "name": "owner_", - "type": "address", - "internalType": "address" + "indexed": true, + "internalType": "address", + "name": "previousCollectorAsset", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newCollectorAsset", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "CollectorAssetChanged", + "type": "event" }, { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "indexed": true, + "internalType": "address", + "name": "previousGenesisAsset", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newGenesisAsset", + "type": "address" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "pause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "GenesisAssetChanged", + "type": "event" }, { - "type": "function", - "name": "paused", - "inputs": [], - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Initialized", + "type": "event" }, { - "type": "function", - "name": "setCollectorAsset", + "anonymous": false, "inputs": [ { - "name": "collectorAsset_", - "type": "address", - "internalType": "contract ICollectorIdentifiableDigitalAsset" + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnershipTransferred", + "type": "event" }, { - "type": "function", - "name": "setGenesisAsset", + "anonymous": false, "inputs": [ { - "name": "genesisAsset_", - "type": "address", - "internalType": "contract ILSP7DigitalAsset" + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Paused", + "type": "event" }, { - "type": "function", - "name": "transferOwnership", + "anonymous": false, "inputs": [ { - "name": "newOwner", - "type": "address", - "internalType": "address" + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Unpaused", + "type": "event" }, { - "type": "function", - "name": "unpause", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "collectorAsset", + "outputs": [ + { + "internalType": "contract ICollectorIdentifiableDigitalAsset", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "AssetFeeDiscountChanged", "inputs": [ { - "name": "asset", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "previousDiscountPoints", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, + "internalType": "address", + "name": "profile", + "type": "address" + } + ], + "name": "feeDiscountFor", + "outputs": [ { - "name": "newDiscountPoints", - "type": "uint32", - "indexed": false, - "internalType": "uint32" + "internalType": "uint32", + "name": "", + "type": "uint32" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "CollectorAssetChanged", - "inputs": [ - { - "name": "previousCollectorAsset", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "inputs": [], + "name": "genesisAsset", + "outputs": [ { - "name": "newCollectorAsset", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "contract ILSP7DigitalAsset", + "name": "", + "type": "address" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "GenesisAssetChanged", "inputs": [ { - "name": "previousGenesisAsset", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "internalType": "address", + "name": "owner_", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ { - "name": "newGenesisAsset", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "", + "type": "address" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Initialized", - "inputs": [ + "inputs": [], + "name": "pause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "paused", + "outputs": [ { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" + "internalType": "bool", + "name": "", + "type": "bool" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "OwnershipTransferred", "inputs": [ { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "contract ICollectorIdentifiableDigitalAsset", + "name": "collectorAsset_", + "type": "address" } ], - "anonymous": false + "name": "setCollectorAsset", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Paused", "inputs": [ { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "contract ILSP7DigitalAsset", + "name": "genesisAsset_", + "type": "address" } ], - "anonymous": false + "name": "setGenesisAsset", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Unpaused", "inputs": [ { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "address", + "name": "newOwner", + "type": "address" } ], - "anonymous": false + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unpause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" } ] diff --git a/artifacts/abi/marketplace/lsp7/LSP7Listings.json b/artifacts/abi/marketplace/lsp7/LSP7Listings.json index fe994e6..2aa0682 100644 --- a/artifacts/abi/marketplace/lsp7/LSP7Listings.json +++ b/artifacts/abi/marketplace/lsp7/LSP7Listings.json @@ -1,687 +1,703 @@ [ { - "type": "constructor", "inputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "function", - "name": "deduct", "inputs": [ { - "name": "id", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "itemCount", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "IllegalAccess", + "type": "error" }, { - "type": "function", - "name": "delist", "inputs": [ { + "internalType": "uint256", "name": "id", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InactiveListing", + "type": "error" }, { - "type": "function", - "name": "getListing", "inputs": [ { - "name": "id", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "minimumRequired", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "authorizedAllowance", + "type": "uint256" } ], - "outputs": [ + "name": "InsufficientAuthorization", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "tuple", - "internalType": "struct LSP7Listing", - "components": [ - { - "name": "seller", - "type": "address", - "internalType": "address" - }, - { - "name": "asset", - "type": "address", - "internalType": "address" - }, - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "itemCount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "itemPrice", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "startTime", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "endTime", - "type": "uint256", - "internalType": "uint256" - } - ] + "internalType": "address", + "name": "account", + "type": "address" } ], - "stateMutability": "view" + "name": "InvalidAddress", + "type": "error" }, { - "type": "function", - "name": "grantRole", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "available", + "type": "uint256" }, { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "deducted", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InvalidDeduction", + "type": "error" }, { - "type": "function", - "name": "hasRole", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "time", + "type": "uint256" } ], - "outputs": [ + "name": "InvalidListingTime", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidListingZeroItems", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "uint256", + "name": "id", + "type": "uint256" } ], - "stateMutability": "view" + "name": "NotListed", + "type": "error" }, { - "type": "function", - "name": "initialize", "inputs": [ { - "name": "newOwner_", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnableCallerNotTheOwner", + "type": "error" + }, + { + "inputs": [], + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" }, { - "type": "function", - "name": "isActiveListing", "inputs": [ { - "name": "id", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [ + "name": "UnathorizedSeller", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "indexed": true, + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "itemCount", + "type": "uint256" } ], - "stateMutability": "view" + "name": "Deducted", + "type": "event" }, { - "type": "function", - "name": "isListed", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "uint256", "name": "id", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" } ], - "outputs": [ + "name": "Delisted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" } ], - "stateMutability": "view" + "name": "Initialized", + "type": "event" }, { - "type": "function", - "name": "list", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", "name": "asset", - "type": "address", - "internalType": "address" + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "seller", + "type": "address" }, { + "indexed": true, + "internalType": "address", "name": "owner", - "type": "address", - "internalType": "address" + "type": "address" }, { + "indexed": false, + "internalType": "uint256", "name": "itemCount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "indexed": false, + "internalType": "uint256", "name": "itemPrice", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "indexed": false, + "internalType": "uint256", "name": "startTime", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { - "name": "secondsUntilEndTime", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" + "indexed": false, + "internalType": "uint256", + "name": "endTime", + "type": "uint256" } ], - "stateMutability": "nonpayable" + "name": "Listed", + "type": "event" }, { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "pause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "paused", - "inputs": [], - "outputs": [ + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, { - "name": "", - "type": "bool", - "internalType": "bool" + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnershipTransferred", + "type": "event" }, { - "type": "function", - "name": "revokeRole", + "anonymous": false, "inputs": [ { + "indexed": false, + "internalType": "address", "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Paused", + "type": "event" }, { - "type": "function", - "name": "totalListings", - "inputs": [], - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "indexed": true, + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" } ], - "stateMutability": "view" + "name": "Unlisted", + "type": "event" }, { - "type": "function", - "name": "transferOwnership", + "anonymous": false, "inputs": [ { - "name": "newOwner", - "type": "address", - "internalType": "address" + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unpause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Unpaused", + "type": "event" }, { - "type": "function", - "name": "update", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "uint256", "name": "id", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", "name": "itemCount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "indexed": false, + "internalType": "uint256", "name": "itemPrice", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "indexed": false, + "internalType": "uint256", "name": "startTime", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { - "name": "secondsUntilEndTime", - "type": "uint256", - "internalType": "uint256" + "indexed": false, + "internalType": "uint256", + "name": "endTime", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Updated", + "type": "event" }, { - "type": "event", - "name": "Deducted", "inputs": [ { + "internalType": "uint256", "name": "id", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "asset", - "type": "address", - "indexed": true, - "internalType": "address" + "type": "uint256" }, { + "internalType": "uint256", "name": "itemCount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "type": "uint256" } ], - "anonymous": false + "name": "deduct", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Delisted", "inputs": [ { + "internalType": "uint256", "name": "id", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "asset", - "type": "address", - "indexed": true, - "internalType": "address" + "type": "uint256" } ], - "anonymous": false + "name": "delist", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Initialized", "inputs": [ { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" + "internalType": "uint256", + "name": "id", + "type": "uint256" } ], - "anonymous": false + "name": "getListing", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "seller", + "type": "address" + }, + { + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "itemCount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "itemPrice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "startTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "endTime", + "type": "uint256" + } + ], + "internalType": "struct LSP7Listing", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Listed", "inputs": [ { - "name": "id", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "asset", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "seller", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "itemCount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "itemPrice", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "startTime", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "endTime", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } ], - "anonymous": false + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "OwnershipTransferred", "inputs": [ { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } ], - "anonymous": false + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Paused", "inputs": [ { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "address", + "name": "newOwner_", + "type": "address" } ], - "anonymous": false + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Unlisted", "inputs": [ { + "internalType": "uint256", "name": "id", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, + "type": "uint256" + } + ], + "name": "isActiveListing", + "outputs": [ { - "name": "asset", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bool", + "name": "", + "type": "bool" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Unpaused", "inputs": [ { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "uint256", + "name": "id", + "type": "uint256" + } + ], + "name": "isListed", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Updated", "inputs": [ { - "name": "id", - "type": "uint256", - "indexed": true, - "internalType": "uint256" + "internalType": "address", + "name": "asset", + "type": "address" }, { - "name": "asset", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "owner", + "type": "address" }, { + "internalType": "uint256", "name": "itemCount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "uint256", "name": "itemPrice", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "uint256", "name": "startTime", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "type": "uint256" }, { - "name": "endTime", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "secondsUntilEndTime", + "type": "uint256" } ], - "anonymous": false - }, - { - "type": "error", - "name": "IllegalAccess", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, + "name": "list", + "outputs": [ { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] + ], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InactiveListing", - "inputs": [ + "inputs": [], + "name": "owner", + "outputs": [ { - "name": "id", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InsufficientAuthorization", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "minimumRequired", - "type": "uint256", - "internalType": "uint256" - }, + "inputs": [], + "name": "pause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "paused", + "outputs": [ { - "name": "authorizedAllowance", - "type": "uint256", - "internalType": "uint256" + "internalType": "bool", + "name": "", + "type": "bool" } - ] + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidAddress", "inputs": [ { + "internalType": "address", "name": "account", - "type": "address", - "internalType": "address" + "type": "address" + }, + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } - ] + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidDeduction", - "inputs": [ - { - "name": "available", - "type": "uint256", - "internalType": "uint256" - }, + "inputs": [], + "name": "totalListings", + "outputs": [ { - "name": "deducted", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidListingTime", "inputs": [ { - "name": "time", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "newOwner", + "type": "address" } - ] + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidListingZeroItems", - "inputs": [] + "inputs": [], + "name": "unpause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "NotListed", "inputs": [ { + "internalType": "uint256", "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "UnathorizedSeller", - "inputs": [ + "type": "uint256" + }, { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "itemCount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "itemPrice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "startTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "secondsUntilEndTime", + "type": "uint256" } - ] + ], + "name": "update", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" } ] diff --git a/artifacts/abi/marketplace/lsp7/LSP7Marketplace.json b/artifacts/abi/marketplace/lsp7/LSP7Marketplace.json index facd1b2..116c939 100644 --- a/artifacts/abi/marketplace/lsp7/LSP7Marketplace.json +++ b/artifacts/abi/marketplace/lsp7/LSP7Marketplace.json @@ -1,699 +1,715 @@ [ { - "type": "constructor", "inputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "acceptOffer", "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "beneficiary", + "type": "address" }, { - "name": "buyer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "beneficiary", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "stateMutability": "view" + "name": "DispositionFailure", + "type": "error" }, { - "type": "function", - "name": "buy", "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "totalPaid", + "type": "uint256" }, { - "name": "itemCount", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "feesAmount", + "type": "uint256" }, { - "name": "recipient", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "feePoints", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" + "internalType": "uint256", + "name": "royaltiesTotalAmount", + "type": "uint256" } ], - "stateMutability": "view" + "name": "FeesExceedTotalPaid", + "type": "error" }, { - "type": "function", - "name": "initialize", "inputs": [ { - "name": "newOwner_", - "type": "address", - "internalType": "address" - }, - { - "name": "beneficiary_", - "type": "address", - "internalType": "address" - }, - { - "name": "listings_", - "type": "address", - "internalType": "contract ILSP7Listings" - }, - { - "name": "offers_", - "type": "address", - "internalType": "contract ILSP7Offers" + "internalType": "uint256", + "name": "totalPrice", + "type": "uint256" }, { - "name": "participant_", - "type": "address", - "internalType": "contract IParticipant" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "listings", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ILSP7Listings" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "offers", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ILSP7Offers" + "internalType": "uint256", + "name": "totalPaid", + "type": "uint256" } ], - "stateMutability": "view" + "name": "InsufficientFunds", + "type": "error" }, { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "account", + "type": "address" } ], - "stateMutability": "view" + "name": "InvalidBeneficiary", + "type": "error" }, { - "type": "function", - "name": "participant", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "contract IParticipant" + "internalType": "bytes", + "name": "invalidValue", + "type": "bytes" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "pause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InvalidLSP18RoyaltiesData", + "type": "error" }, { - "type": "function", - "name": "paused", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "stateMutability": "view" + "name": "OwnableCallerNotTheOwner", + "type": "error" }, { - "type": "function", - "name": "renounceOwnership", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "royaltiesThresholdPoints", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" }, { - "type": "function", - "name": "setBeneficiary", "inputs": [ { - "name": "newBeneficiary", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setFeePoints", - "inputs": [ + "internalType": "uint32", + "name": "royaltiesThresholdPoints", + "type": "uint32" + }, { - "name": "newFeePoints", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setParticipant", - "inputs": [ + "internalType": "uint256", + "name": "totalPrice", + "type": "uint256" + }, { - "name": "participant_", - "type": "address", - "internalType": "contract IParticipant" + "internalType": "uint256", + "name": "totalRoyalties", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "RoyaltiesExceedThreshold", + "type": "error" }, { - "type": "function", - "name": "setRoyaltiesThresholdPoints", "inputs": [ { - "name": "newRoyaltiesThresholdPoints", - "type": "uint32", - "internalType": "uint32" + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "UnathorizedSeller", + "type": "error" }, { - "type": "function", - "name": "transferOwnership", "inputs": [ { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unpause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "withdraw", - "inputs": [ + "internalType": "uint256", + "name": "listingId", + "type": "uint256" + }, { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", "name": "amount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Unpaid", + "type": "error" }, { - "type": "event", - "name": "BeneficiaryChanged", + "anonymous": false, "inputs": [ { - "name": "oldBeneficiary", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "oldBeneficiary", + "type": "address" }, { - "name": "newBeneficiary", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "newBeneficiary", + "type": "address" } ], - "anonymous": false + "name": "BeneficiaryChanged", + "type": "event" }, { - "type": "event", - "name": "FeePaid", + "anonymous": false, "inputs": [ { - "name": "listingId", - "type": "uint256", "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "asset", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "asset", + "type": "address" }, { - "name": "itemCount", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "itemCount", + "type": "uint256" }, { - "name": "amount", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "anonymous": false + "name": "FeePaid", + "type": "event" }, { - "type": "event", - "name": "FeePointsChanged", + "anonymous": false, "inputs": [ { - "name": "oldPoints", - "type": "uint32", "indexed": false, - "internalType": "uint32" + "internalType": "uint32", + "name": "oldPoints", + "type": "uint32" }, { - "name": "newPoints", - "type": "uint32", "indexed": false, - "internalType": "uint32" + "internalType": "uint32", + "name": "newPoints", + "type": "uint32" } ], - "anonymous": false + "name": "FeePointsChanged", + "type": "event" }, { - "type": "event", - "name": "Initialized", + "anonymous": false, "inputs": [ { - "name": "version", - "type": "uint8", "indexed": false, - "internalType": "uint8" + "internalType": "uint8", + "name": "version", + "type": "uint8" } ], - "anonymous": false + "name": "Initialized", + "type": "event" }, { - "type": "event", - "name": "OwnershipTransferred", + "anonymous": false, "inputs": [ { - "name": "previousOwner", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "previousOwner", + "type": "address" }, { - "name": "newOwner", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "newOwner", + "type": "address" } ], - "anonymous": false + "name": "OwnershipTransferred", + "type": "event" }, { - "type": "event", - "name": "ParticipantChanged", + "anonymous": false, "inputs": [ { - "name": "oldParticipant", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "oldParticipant", + "type": "address" }, { - "name": "newParticipant", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "newParticipant", + "type": "address" } ], - "anonymous": false + "name": "ParticipantChanged", + "type": "event" }, { - "type": "event", - "name": "Paused", + "anonymous": false, "inputs": [ { - "name": "account", - "type": "address", "indexed": false, - "internalType": "address" + "internalType": "address", + "name": "account", + "type": "address" } ], - "anonymous": false + "name": "Paused", + "type": "event" }, { - "type": "event", - "name": "RoyaltiesPaid", + "anonymous": false, "inputs": [ { - "name": "listingId", - "type": "uint256", "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "asset", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "asset", + "type": "address" }, { - "name": "itemCount", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "itemCount", + "type": "uint256" }, { - "name": "recipient", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "recipient", + "type": "address" }, { - "name": "amount", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "anonymous": false + "name": "RoyaltiesPaid", + "type": "event" }, { - "type": "event", - "name": "RoyaltiesThresholdPointsChanged", + "anonymous": false, "inputs": [ { - "name": "oldPoints", - "type": "uint32", "indexed": false, - "internalType": "uint32" + "internalType": "uint32", + "name": "oldPoints", + "type": "uint32" }, { - "name": "newPoints", - "type": "uint32", "indexed": false, - "internalType": "uint32" + "internalType": "uint32", + "name": "newPoints", + "type": "uint32" } ], - "anonymous": false + "name": "RoyaltiesThresholdPointsChanged", + "type": "event" }, { - "type": "event", - "name": "Sale", + "anonymous": false, "inputs": [ { - "name": "listingId", - "type": "uint256", "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "asset", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "asset", + "type": "address" }, { - "name": "itemCount", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "itemCount", + "type": "uint256" }, { - "name": "seller", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "seller", + "type": "address" }, { - "name": "buyer", - "type": "address", "indexed": false, - "internalType": "address" + "internalType": "address", + "name": "buyer", + "type": "address" }, { - "name": "totalPaid", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "totalPaid", + "type": "uint256" } ], - "anonymous": false + "name": "Sale", + "type": "event" }, { - "type": "event", - "name": "Unpaused", + "anonymous": false, "inputs": [ { - "name": "account", - "type": "address", "indexed": false, - "internalType": "address" + "internalType": "address", + "name": "account", + "type": "address" } ], - "anonymous": false + "name": "Unpaused", + "type": "event" }, { - "type": "event", - "name": "ValueReceived", + "anonymous": false, "inputs": [ { - "name": "sender", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "sender", + "type": "address" }, { - "name": "value", - "type": "uint256", "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "value", + "type": "uint256" } ], - "anonymous": false + "name": "ValueReceived", + "type": "event" }, { - "type": "event", - "name": "ValueWithdrawn", + "anonymous": false, "inputs": [ { - "name": "beneficiary", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "beneficiary", + "type": "address" }, { - "name": "value", - "type": "uint256", "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "value", + "type": "uint256" } ], - "anonymous": false + "name": "ValueWithdrawn", + "type": "event" }, { - "type": "error", - "name": "DispositionFailure", "inputs": [ { - "name": "beneficiary", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "buyer", + "type": "address" } - ] + ], + "name": "acceptOffer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "beneficiary", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "FeesExceedTotalPaid", "inputs": [ { - "name": "totalPaid", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "feesAmount", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "itemCount", + "type": "uint256" }, { - "name": "royaltiesTotalAmount", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "recipient", + "type": "address" } - ] + ], + "name": "buy", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "feePoints", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InsufficientFunds", "inputs": [ { - "name": "totalPrice", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "newOwner_", + "type": "address" }, { - "name": "totalPaid", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "beneficiary_", + "type": "address" + }, + { + "internalType": "contract ILSP7Listings", + "name": "listings_", + "type": "address" + }, + { + "internalType": "contract ILSP7Offers", + "name": "offers_", + "type": "address" + }, + { + "internalType": "contract IParticipant", + "name": "participant_", + "type": "address" } - ] + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidBeneficiary", - "inputs": [ + "inputs": [], + "name": "listings", + "outputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "contract ILSP7Listings", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidLSP18RoyaltiesData", - "inputs": [ + "inputs": [], + "name": "offers", + "outputs": [ { - "name": "invalidValue", - "type": "bytes", - "internalType": "bytes" + "internalType": "contract ILSP7Offers", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "RoyaltiesExceedThreshold", - "inputs": [ + "inputs": [], + "name": "owner", + "outputs": [ { - "name": "royaltiesThresholdPoints", - "type": "uint32", - "internalType": "uint32" - }, + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "participant", + "outputs": [ { - "name": "totalPrice", - "type": "uint256", - "internalType": "uint256" - }, + "internalType": "contract IParticipant", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "pause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "paused", + "outputs": [ { - "name": "totalRoyalties", - "type": "uint256", - "internalType": "uint256" + "internalType": "bool", + "name": "", + "type": "bool" } - ] + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "royaltiesThresholdPoints", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "UnathorizedSeller", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "newBeneficiary", + "type": "address" } - ] + ], + "name": "setBeneficiary", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "Unpaid", "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" - }, + "internalType": "uint32", + "name": "newFeePoints", + "type": "uint32" + } + ], + "name": "setFeePoints", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" - }, + "internalType": "contract IParticipant", + "name": "participant_", + "type": "address" + } + ], + "name": "setParticipant", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "newRoyaltiesThresholdPoints", + "type": "uint32" + } + ], + "name": "setRoyaltiesThresholdPoints", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unpause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ { + "internalType": "uint256", "name": "amount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } - ] + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" } ] diff --git a/artifacts/abi/marketplace/lsp7/LSP7Offers.json b/artifacts/abi/marketplace/lsp7/LSP7Offers.json index c2e2c36..c775471 100644 --- a/artifacts/abi/marketplace/lsp7/LSP7Offers.json +++ b/artifacts/abi/marketplace/lsp7/LSP7Offers.json @@ -1,586 +1,602 @@ [ { - "type": "constructor", "inputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "function", - "name": "accept", "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "buyer", - "type": "address", - "internalType": "address" + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "IllegalAccess", + "type": "error" }, { - "type": "function", - "name": "cancel", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InactiveListing", + "type": "error" }, { - "type": "function", - "name": "getOffer", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "address", "name": "buyer", - "type": "address", - "internalType": "address" + "type": "address" } ], - "outputs": [ - { - "name": "", - "type": "tuple", - "internalType": "struct LSP7Offer", - "components": [ - { - "name": "itemCount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "totalPrice", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "expirationTime", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "stateMutability": "view" + "name": "InactiveOffer", + "type": "error" }, { - "type": "function", - "name": "grantRole", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "listedCount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "offeredCount", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InsufficientListingItemCount", + "type": "error" }, { - "type": "function", - "name": "hasRole", "inputs": [ { + "internalType": "address", "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" + "type": "address" } ], - "stateMutability": "view" + "name": "InvalidAddress", + "type": "error" }, { - "type": "function", - "name": "initialize", "inputs": [ { - "name": "newOwner_", - "type": "address", - "internalType": "address" - }, - { - "name": "listings_", - "type": "address", - "internalType": "contract ILSP7Listings" + "internalType": "uint256", + "name": "secondsUntilExpiration", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InvalidOfferDuration", + "type": "error" }, { - "type": "function", - "name": "isActiveOffer", - "inputs": [ - { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "buyer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" + "inputs": [], + "name": "InvalidOfferZeroItems", + "type": "error" }, { - "type": "function", - "name": "isPlacedOffer", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "address", "name": "buyer", - "type": "address", - "internalType": "address" + "type": "address" } ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "listings", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ILSP7Listings" - } - ], - "stateMutability": "view" + "name": "NotPlaced", + "type": "error" }, { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "stateMutability": "view" + "name": "OwnableCallerNotTheOwner", + "type": "error" }, { - "type": "function", - "name": "pause", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" }, { - "type": "function", - "name": "paused", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "buyer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "stateMutability": "view" + "name": "Unpaid", + "type": "error" }, { - "type": "function", - "name": "place", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "buyer", + "type": "address" }, { + "indexed": false, + "internalType": "uint256", "name": "itemCount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { - "name": "secondsUntilExpiration", - "type": "uint256", - "internalType": "uint256" + "indexed": false, + "internalType": "uint256", + "name": "totalPrice", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Accepted", + "type": "event" }, { - "type": "function", - "name": "revokeRole", + "anonymous": false, "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "indexed": true, + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "indexed": true, + "internalType": "address", + "name": "buyer", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "itemCount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "totalPrice", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Canceled", + "type": "event" }, { - "type": "function", - "name": "transferOwnership", + "anonymous": false, "inputs": [ { - "name": "newOwner", - "type": "address", - "internalType": "address" + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" } ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unpause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Initialized", + "type": "event" }, { - "type": "event", - "name": "Accepted", + "anonymous": false, "inputs": [ { - "name": "listingId", - "type": "uint256", "indexed": true, - "internalType": "uint256" + "internalType": "address", + "name": "previousOwner", + "type": "address" }, { - "name": "buyer", - "type": "address", "indexed": true, - "internalType": "address" - }, - { - "name": "itemCount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ { - "name": "totalPrice", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" } ], - "anonymous": false + "name": "Paused", + "type": "event" }, { - "type": "event", - "name": "Canceled", + "anonymous": false, "inputs": [ { - "name": "listingId", - "type": "uint256", "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "buyer", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "buyer", + "type": "address" }, { - "name": "itemCount", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "itemCount", + "type": "uint256" }, { + "indexed": false, + "internalType": "uint256", "name": "totalPrice", - "type": "uint256", + "type": "uint256" + }, + { "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "expirationTime", + "type": "uint256" } ], - "anonymous": false + "name": "Placed", + "type": "event" }, { - "type": "event", - "name": "Initialized", + "anonymous": false, "inputs": [ { - "name": "version", - "type": "uint8", "indexed": false, - "internalType": "uint8" + "internalType": "address", + "name": "account", + "type": "address" } ], - "anonymous": false + "name": "Unpaused", + "type": "event" }, { - "type": "event", - "name": "OwnershipTransferred", "inputs": [ { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "buyer", + "type": "address" } ], - "anonymous": false + "name": "accept", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Paused", "inputs": [ { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" } ], - "anonymous": false + "name": "cancel", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Placed", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "address", "name": "buyer", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "itemCount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "totalPrice", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, + "type": "address" + } + ], + "name": "getOffer", + "outputs": [ { - "name": "expirationTime", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "components": [ + { + "internalType": "uint256", + "name": "itemCount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "totalPrice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "expirationTime", + "type": "uint256" + } + ], + "internalType": "struct LSP7Offer", + "name": "", + "type": "tuple" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Unpaused", "inputs": [ { + "internalType": "address", "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "type": "address" + }, + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } ], - "anonymous": false + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "IllegalAccess", "inputs": [ { + "internalType": "address", "name": "account", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "bytes32", "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InactiveListing", "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "newOwner_", + "type": "address" + }, + { + "internalType": "contract ILSP7Listings", + "name": "listings_", + "type": "address" } - ] + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InactiveOffer", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "address", "name": "buyer", - "type": "address", - "internalType": "address" + "type": "address" } - ] + ], + "name": "isActiveOffer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InsufficientListingItemCount", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { - "name": "listedCount", - "type": "uint256", - "internalType": "uint256" - }, + "internalType": "address", + "name": "buyer", + "type": "address" + } + ], + "name": "isPlacedOffer", + "outputs": [ { - "name": "offeredCount", - "type": "uint256", - "internalType": "uint256" + "internalType": "bool", + "name": "", + "type": "bool" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidAddress", - "inputs": [ + "inputs": [], + "name": "listings", + "outputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "contract ILSP7Listings", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidOfferDuration", - "inputs": [ + "inputs": [], + "name": "owner", + "outputs": [ { - "name": "secondsUntilExpiration", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidOfferZeroItems", - "inputs": [] + "inputs": [], + "name": "pause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "paused", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "NotPlaced", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { - "name": "buyer", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "itemCount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "secondsUntilExpiration", + "type": "uint256" } - ] + ], + "name": "place", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "Unpaid", "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "buyer", - "type": "address", - "internalType": "address" - }, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "newOwner", + "type": "address" } - ] + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unpause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" } ] diff --git a/artifacts/abi/marketplace/lsp8/LSP8Auctions.json b/artifacts/abi/marketplace/lsp8/LSP8Auctions.json index 4fb62e1..f4f4964 100644 --- a/artifacts/abi/marketplace/lsp8/LSP8Auctions.json +++ b/artifacts/abi/marketplace/lsp8/LSP8Auctions.json @@ -1,899 +1,915 @@ [ { - "type": "constructor", "inputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "function", - "name": "bidTimeExtension", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "buyer", + "type": "address" } ], - "stateMutability": "view" + "name": "HighestOfferPending", + "type": "error" }, { - "type": "function", - "name": "cancel", "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "IllegalAccess", + "type": "error" }, { - "type": "function", - "name": "getAuction", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "outputs": [ + "name": "InactiveAuction", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "tuple", - "internalType": "struct LSP8Auction", - "components": [ - { - "name": "seller", - "type": "address", - "internalType": "address" - }, - { - "name": "startPrice", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "startTime", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "endTime", - "type": "uint256", - "internalType": "uint256" - } - ] + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "stateMutability": "view" + "name": "InsufficientAuthorization", + "type": "error" }, { - "type": "function", - "name": "getBid", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "address", "name": "buyer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ + "type": "address" + }, { - "name": "", - "type": "tuple", - "internalType": "struct LSP8Bid", - "components": [ - { - "name": "buyer", - "type": "address", - "internalType": "address" - }, - { - "name": "totalPaid", - "type": "uint256", - "internalType": "uint256" - } - ] + "internalType": "uint256", + "name": "minimumPrice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "offeredAmount", + "type": "uint256" } ], - "stateMutability": "view" + "name": "InsufficientOfferAmount", + "type": "error" }, { - "type": "function", - "name": "getHighestBid", "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "internalType": "struct LSP8Bid", - "components": [ - { - "name": "buyer", - "type": "address", - "internalType": "address" - }, - { - "name": "totalPaid", - "type": "uint256", - "internalType": "uint256" - } - ] + "internalType": "address", + "name": "account", + "type": "address" } ], - "stateMutability": "view" + "name": "InvalidAddress", + "type": "error" }, { - "type": "function", - "name": "grantRole", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "time", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InvalidAuctionTime", + "type": "error" }, { - "type": "function", - "name": "hasBids", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" + "type": "uint256" } ], - "stateMutability": "view" + "name": "NotIssued", + "type": "error" }, { - "type": "function", - "name": "hasRole", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "buyer", + "type": "address" } ], - "outputs": [ + "name": "NotOffered", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "stateMutability": "view" + "name": "OwnableCallerNotTheOwner", + "type": "error" + }, + { + "inputs": [], + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" }, { - "type": "function", - "name": "initialize", "inputs": [ { - "name": "newOwner_", - "type": "address", - "internalType": "address" - }, - { - "name": "listings_", - "type": "address", - "internalType": "contract ILSP8Listings" + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "UnathorizedSeller", + "type": "error" }, { - "type": "function", - "name": "isActiveAuction", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ + "type": "uint256" + }, { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "address", + "name": "buyer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "stateMutability": "view" + "name": "Unpaid", + "type": "error" }, { - "type": "function", - "name": "isIssued", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "seller", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "outputs": [ + "name": "Canceled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" } ], - "stateMutability": "view" + "name": "Initialized", + "type": "event" }, { - "type": "function", - "name": "issue", + "anonymous": false, "inputs": [ { - "name": "asset", - "type": "address", - "internalType": "address" + "indexed": true, + "internalType": "uint256", + "name": "listingId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "seller", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" }, { + "indexed": false, + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" }, { + "indexed": false, + "internalType": "uint256", "name": "startPrice", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "indexed": false, + "internalType": "uint256", "name": "startTime", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { - "name": "secondsUntilEndTime", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "listings", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ILSP8Listings" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "minBidDetlaPoints", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" + "indexed": false, + "internalType": "uint256", + "name": "endTime", + "type": "uint256" } ], - "stateMutability": "view" + "name": "Issued", + "type": "event" }, { - "type": "function", - "name": "offer", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ + "type": "uint256" + }, { - "name": "", - "type": "address", - "internalType": "address" + "indexed": false, + "internalType": "address", + "name": "seller", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "buyer", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "totalPaid", + "type": "uint256" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "pause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Offered", + "type": "event" }, { - "type": "function", - "name": "paused", - "inputs": [], - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnershipTransferred", + "type": "event" }, { - "type": "function", - "name": "retract", + "anonymous": false, "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Paused", + "type": "event" }, { - "type": "function", - "name": "revokeRole", + "anonymous": false, "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "indexed": true, + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "indexed": false, + "internalType": "address", + "name": "seller", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "buyer", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "totalPaid", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Retracted", + "type": "event" }, { - "type": "function", - "name": "setBidTimeExtension", + "anonymous": false, "inputs": [ { - "name": "newBidTimeExtension", - "type": "uint256", - "internalType": "uint256" + "indexed": true, + "internalType": "uint256", + "name": "listingId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "seller", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "buyer", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "totalPaid", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Settled", + "type": "event" }, { - "type": "function", - "name": "setMinBidDetlaPoints", + "anonymous": false, "inputs": [ { - "name": "newMinBidDetlaPoints", - "type": "uint32", - "internalType": "uint32" + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Unpaused", + "type": "event" }, { - "type": "function", - "name": "settle", - "inputs": [ + "inputs": [], + "name": "bidTimeExtension", + "outputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "view", + "type": "function" }, { - "type": "function", - "name": "transferOwnership", "inputs": [ { - "name": "newOwner", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" } ], + "name": "cancel", "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "function", - "name": "unpause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "inputs": [ + { + "internalType": "uint256", + "name": "listingId", + "type": "uint256" + } + ], + "name": "getAuction", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "seller", + "type": "address" + }, + { + "internalType": "uint256", + "name": "startPrice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "startTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "endTime", + "type": "uint256" + } + ], + "internalType": "struct LSP8Auction", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Canceled", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "seller", - "type": "address", - "indexed": true, - "internalType": "address" + "type": "uint256" }, { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "internalType": "address", + "name": "buyer", + "type": "address" + } + ], + "name": "getBid", + "outputs": [ { - "name": "tokenId", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" + "components": [ + { + "internalType": "address", + "name": "buyer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "totalPaid", + "type": "uint256" + } + ], + "internalType": "struct LSP8Bid", + "name": "", + "type": "tuple" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Initialized", "inputs": [ { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" + } + ], + "name": "getHighestBid", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "buyer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "totalPaid", + "type": "uint256" + } + ], + "internalType": "struct LSP8Bid", + "name": "", + "type": "tuple" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Issued", "inputs": [ { - "name": "listingId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "seller", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "startPrice", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "startTime", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "endTime", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } ], - "anonymous": false + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Offered", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "seller", - "type": "address", - "indexed": false, - "internalType": "address" - }, + "type": "uint256" + } + ], + "name": "hasBids", + "outputs": [ { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "buyer", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "hasRole", + "outputs": [ { - "name": "totalPaid", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "bool", + "name": "", + "type": "bool" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "OwnershipTransferred", "inputs": [ { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "newOwner_", + "type": "address" }, { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "contract ILSP8Listings", + "name": "listings_", + "type": "address" } ], - "anonymous": false + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Paused", "inputs": [ { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" + } + ], + "name": "isActiveAuction", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Retracted", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "seller", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "buyer", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "type": "uint256" + } + ], + "name": "isIssued", + "outputs": [ { - "name": "totalPaid", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "bool", + "name": "", + "type": "bool" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Settled", "inputs": [ { - "name": "listingId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" + "internalType": "address", + "name": "asset", + "type": "address" }, { - "name": "seller", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "uint256", + "name": "startPrice", + "type": "uint256" }, { - "name": "tokenId", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" + "internalType": "uint256", + "name": "startTime", + "type": "uint256" }, { - "name": "buyer", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "internalType": "uint256", + "name": "secondsUntilEndTime", + "type": "uint256" + } + ], + "name": "issue", + "outputs": [ { - "name": "totalPaid", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "", + "type": "uint256" } ], - "anonymous": false + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Unpaused", - "inputs": [ + "inputs": [], + "name": "listings", + "outputs": [ { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "contract ILSP8Listings", + "name": "", + "type": "address" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "HighestOfferPending", - "inputs": [ - { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" - }, + "inputs": [], + "name": "minBidDetlaPoints", + "outputs": [ { - "name": "buyer", - "type": "address", - "internalType": "address" + "internalType": "uint32", + "name": "", + "type": "uint32" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "IllegalAccess", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" } - ] + ], + "name": "offer", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "error", - "name": "InactiveAuction", - "inputs": [ + "inputs": [], + "name": "owner", + "outputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InsufficientAuthorization", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, + "inputs": [], + "name": "pause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "paused", + "outputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "bool", + "name": "", + "type": "bool" } - ] + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InsufficientOfferAmount", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "buyer", - "type": "address", - "internalType": "address" - }, - { - "name": "minimumPrice", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "offeredAmount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } - ] + ], + "name": "retract", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidAddress", "inputs": [ { + "internalType": "address", "name": "account", - "type": "address", - "internalType": "address" + "type": "address" + }, + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } - ] + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidAuctionTime", "inputs": [ { - "name": "time", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "newBidTimeExtension", + "type": "uint256" } - ] + ], + "name": "setBidTimeExtension", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "NotIssued", "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint32", + "name": "newMinBidDetlaPoints", + "type": "uint32" } - ] + ], + "name": "setMinBidDetlaPoints", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "NotOffered", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "buyer", - "type": "address", - "internalType": "address" + "type": "uint256" } - ] + ], + "name": "settle", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "UnathorizedSeller", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "newOwner", + "type": "address" } - ] + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "Unpaid", - "inputs": [ - { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "buyer", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ] + "inputs": [], + "name": "unpause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" } ] diff --git a/artifacts/abi/marketplace/lsp8/LSP8Listings.json b/artifacts/abi/marketplace/lsp8/LSP8Listings.json index 0dad507..d5ccb13 100644 --- a/artifacts/abi/marketplace/lsp8/LSP8Listings.json +++ b/artifacts/abi/marketplace/lsp8/LSP8Listings.json @@ -1,615 +1,631 @@ [ { - "type": "constructor", "inputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "function", - "name": "delist", "inputs": [ { - "name": "id", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "IllegalAccess", + "type": "error" }, { - "type": "function", - "name": "getListing", "inputs": [ { + "internalType": "uint256", "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "internalType": "struct LSP8Listing", - "components": [ - { - "name": "seller", - "type": "address", - "internalType": "address" - }, - { - "name": "asset", - "type": "address", - "internalType": "address" - }, - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "price", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "startTime", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "endTime", - "type": "uint256", - "internalType": "uint256" - } - ] + "type": "uint256" } ], - "stateMutability": "view" + "name": "InactiveListing", + "type": "error" }, { - "type": "function", - "name": "grantRole", "inputs": [ { + "internalType": "address", "name": "account", - "type": "address", - "internalType": "address" + "type": "address" }, { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InsufficientAuthorization", + "type": "error" }, { - "type": "function", - "name": "hasRole", "inputs": [ { + "internalType": "address", "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "type": "address" } ], - "outputs": [ + "name": "InvalidAddress", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "uint256", + "name": "time", + "type": "uint256" } ], - "stateMutability": "view" + "name": "InvalidListingTime", + "type": "error" }, { - "type": "function", - "name": "initialize", "inputs": [ { - "name": "newOwner_", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "id", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "NotListed", + "type": "error" }, { - "type": "function", - "name": "isActiveListing", "inputs": [ { - "name": "id", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "outputs": [ + "name": "OwnableCallerNotTheOwner", + "type": "error" + }, + { + "inputs": [], + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "address", + "name": "account", + "type": "address" } ], - "stateMutability": "view" + "name": "UnathorizedSeller", + "type": "error" }, { - "type": "function", - "name": "isListed", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "uint256", "name": "id", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" } ], - "outputs": [ + "name": "Delisted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ { - "name": "", - "type": "bool", - "internalType": "bool" + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" } ], - "stateMutability": "view" + "name": "Initialized", + "type": "event" }, { - "type": "function", - "name": "list", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", "name": "asset", - "type": "address", - "internalType": "address" + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "seller", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" }, { + "indexed": false, + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" }, { + "indexed": false, + "internalType": "uint256", "name": "price", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "indexed": false, + "internalType": "uint256", "name": "startTime", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { - "name": "secondsUntilEndTime", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "pause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "paused", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" + "indexed": false, + "internalType": "uint256", + "name": "endTime", + "type": "uint256" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Listed", + "type": "event" }, { - "type": "function", - "name": "revokeRole", + "anonymous": false, "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" }, { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnershipTransferred", + "type": "event" }, { - "type": "function", - "name": "totalListings", - "inputs": [], - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" } ], - "stateMutability": "view" + "name": "Paused", + "type": "event" }, { - "type": "function", - "name": "transferOwnership", + "anonymous": false, "inputs": [ { - "name": "newOwner", - "type": "address", - "internalType": "address" + "indexed": true, + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Unlisted", + "type": "event" }, { - "type": "function", - "name": "unlist", + "anonymous": false, "inputs": [ { - "name": "id", - "type": "uint256", - "internalType": "uint256" + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unpause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Unpaused", + "type": "event" }, { - "type": "function", - "name": "update", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "uint256", "name": "id", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" }, { + "indexed": false, + "internalType": "uint256", "name": "price", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "indexed": false, + "internalType": "uint256", "name": "startTime", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { - "name": "secondsUntilEndTime", - "type": "uint256", - "internalType": "uint256" + "indexed": false, + "internalType": "uint256", + "name": "endTime", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Updated", + "type": "event" }, { - "type": "event", - "name": "Delisted", "inputs": [ { + "internalType": "uint256", "name": "id", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "asset", - "type": "address", - "indexed": true, - "internalType": "address" + "type": "uint256" } ], - "anonymous": false + "name": "delist", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Initialized", "inputs": [ { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" + "internalType": "uint256", + "name": "id", + "type": "uint256" + } + ], + "name": "getListing", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "seller", + "type": "address" + }, + { + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "startTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "endTime", + "type": "uint256" + } + ], + "internalType": "struct LSP8Listing", + "name": "", + "type": "tuple" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Listed", "inputs": [ { - "name": "id", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "asset", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "seller", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "price", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "startTime", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "endTime", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } ], - "anonymous": false + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "OwnershipTransferred", "inputs": [ { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } ], - "anonymous": false + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Paused", "inputs": [ { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "address", + "name": "newOwner_", + "type": "address" } ], - "anonymous": false + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Unlisted", "inputs": [ { + "internalType": "uint256", "name": "id", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, + "type": "uint256" + } + ], + "name": "isActiveListing", + "outputs": [ { - "name": "asset", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bool", + "name": "", + "type": "bool" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Unpaused", "inputs": [ { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "uint256", + "name": "id", + "type": "uint256" } ], - "anonymous": false + "name": "isListed", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Updated", "inputs": [ { - "name": "id", - "type": "uint256", - "indexed": true, - "internalType": "uint256" + "internalType": "address", + "name": "asset", + "type": "address" }, { - "name": "asset", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { + "internalType": "uint256", "name": "price", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "uint256", "name": "startTime", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "type": "uint256" }, { - "name": "endTime", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "secondsUntilEndTime", + "type": "uint256" + } + ], + "name": "list", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" } ], - "anonymous": false + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "IllegalAccess", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, + "inputs": [], + "name": "owner", + "outputs": [ { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InactiveListing", - "inputs": [ + "inputs": [], + "name": "pause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "paused", + "outputs": [ { - "name": "id", - "type": "uint256", - "internalType": "uint256" + "internalType": "bool", + "name": "", + "type": "bool" } - ] + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InsufficientAuthorization", "inputs": [ { + "internalType": "address", "name": "account", - "type": "address", - "internalType": "address" + "type": "address" }, { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } - ] + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidAddress", - "inputs": [ + "inputs": [], + "name": "totalListings", + "outputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidListingTime", "inputs": [ { - "name": "time", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "newOwner", + "type": "address" } - ] + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "NotListed", "inputs": [ { + "internalType": "uint256", "name": "id", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } - ] + ], + "name": "unlist", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unpause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "UnathorizedSeller", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "startTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "secondsUntilEndTime", + "type": "uint256" } - ] + ], + "name": "update", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" } ] diff --git a/artifacts/abi/marketplace/lsp8/LSP8Marketplace.json b/artifacts/abi/marketplace/lsp8/LSP8Marketplace.json index f24e872..eacdb1d 100644 --- a/artifacts/abi/marketplace/lsp8/LSP8Marketplace.json +++ b/artifacts/abi/marketplace/lsp8/LSP8Marketplace.json @@ -1,810 +1,826 @@ [ { - "type": "constructor", "inputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "acceptHighestBid", - "inputs": [ - { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "acceptOffer", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "buyer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "auctions", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ILSP8Auctions" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "beneficiary", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" + "type": "uint256" } ], - "stateMutability": "view" + "name": "Auctioned", + "type": "error" }, { - "type": "function", - "name": "buy", "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "beneficiary", + "type": "address" }, { - "name": "recipient", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "feePoints", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "stateMutability": "view" + "name": "DispositionFailure", + "type": "error" }, { - "type": "function", - "name": "initialize", "inputs": [ { - "name": "newOwner_", - "type": "address", - "internalType": "address" - }, - { - "name": "beneficiary_", - "type": "address", - "internalType": "address" - }, - { - "name": "listings_", - "type": "address", - "internalType": "contract ILSP8Listings" - }, - { - "name": "offers_", - "type": "address", - "internalType": "contract ILSP8Offers" + "internalType": "uint256", + "name": "totalPaid", + "type": "uint256" }, { - "name": "auctions_", - "type": "address", - "internalType": "contract ILSP8Auctions" + "internalType": "uint256", + "name": "feesAmount", + "type": "uint256" }, { - "name": "participant_", - "type": "address", - "internalType": "contract IParticipant" + "internalType": "uint256", + "name": "royaltiesTotalAmount", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "FeesExceedTotalPaid", + "type": "error" }, { - "type": "function", - "name": "lastPurchasePrice", "inputs": [ { - "name": "buyer", - "type": "address", - "internalType": "address" - }, - { - "name": "asset", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "totalPrice", + "type": "uint256" }, { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "listings", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ILSP8Listings" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "offers", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ILSP8Offers" + "internalType": "uint256", + "name": "totalPaid", + "type": "uint256" } ], - "stateMutability": "view" + "name": "InsufficientFunds", + "type": "error" }, { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "account", + "type": "address" } ], - "stateMutability": "view" + "name": "InvalidBeneficiary", + "type": "error" }, { - "type": "function", - "name": "participant", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "contract IParticipant" + "internalType": "bytes", + "name": "invalidValue", + "type": "bytes" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "pause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InvalidLSP18RoyaltiesData", + "type": "error" }, { - "type": "function", - "name": "paused", "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" + "name": "NoPendingSale", + "type": "error" }, { - "type": "function", - "name": "pendingSale", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "tuple", - "internalType": "struct PendingSale", - "components": [ - { - "name": "asset", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "seller", - "type": "address", - "internalType": "address" - }, - { - "name": "buyer", - "type": "address", - "internalType": "address" - }, - { - "name": "totalPaid", - "type": "uint256", - "internalType": "uint256" - } - ] + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnableCallerNotTheOwner", + "type": "error" }, { - "type": "function", - "name": "royaltiesThresholdPoints", "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" }, { - "type": "function", - "name": "setBeneficiary", "inputs": [ { - "name": "newBeneficiary", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setFeePoints", - "inputs": [ + "internalType": "uint32", + "name": "royaltiesThresholdPoints", + "type": "uint32" + }, { - "name": "newFeePoints", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setParticipant", - "inputs": [ + "internalType": "uint256", + "name": "totalPrice", + "type": "uint256" + }, { - "name": "participant_", - "type": "address", - "internalType": "contract IParticipant" + "internalType": "uint256", + "name": "totalRoyalties", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "RoyaltiesExceedThreshold", + "type": "error" }, { - "type": "function", - "name": "setRoyaltiesThresholdPoints", "inputs": [ { - "name": "newRoyaltiesThresholdPoints", - "type": "uint32", - "internalType": "uint32" + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "UnathorizedSeller", + "type": "error" }, { - "type": "function", - "name": "transferOwnership", "inputs": [ { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unpause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "withdraw", - "inputs": [ + "internalType": "uint256", + "name": "listingId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + }, { + "internalType": "uint256", "name": "amount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Unpaid", + "type": "error" }, { - "type": "event", - "name": "BeneficiaryChanged", + "anonymous": false, "inputs": [ { - "name": "oldBeneficiary", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "oldBeneficiary", + "type": "address" }, { - "name": "newBeneficiary", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "newBeneficiary", + "type": "address" } ], - "anonymous": false + "name": "BeneficiaryChanged", + "type": "event" }, { - "type": "event", - "name": "FeePaid", + "anonymous": false, "inputs": [ { - "name": "listingId", - "type": "uint256", "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "asset", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "asset", + "type": "address" }, { - "name": "tokenId", - "type": "bytes32", "indexed": false, - "internalType": "bytes32" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "amount", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "anonymous": false + "name": "FeePaid", + "type": "event" }, { - "type": "event", - "name": "FeePointsChanged", + "anonymous": false, "inputs": [ { - "name": "oldPoints", - "type": "uint32", "indexed": false, - "internalType": "uint32" + "internalType": "uint32", + "name": "oldPoints", + "type": "uint32" }, { - "name": "newPoints", - "type": "uint32", "indexed": false, - "internalType": "uint32" + "internalType": "uint32", + "name": "newPoints", + "type": "uint32" } ], - "anonymous": false + "name": "FeePointsChanged", + "type": "event" }, { - "type": "event", - "name": "Initialized", + "anonymous": false, "inputs": [ { - "name": "version", - "type": "uint8", "indexed": false, - "internalType": "uint8" + "internalType": "uint8", + "name": "version", + "type": "uint8" } ], - "anonymous": false + "name": "Initialized", + "type": "event" }, { - "type": "event", - "name": "OwnershipTransferred", + "anonymous": false, "inputs": [ { - "name": "previousOwner", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "previousOwner", + "type": "address" }, { - "name": "newOwner", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "newOwner", + "type": "address" } ], - "anonymous": false + "name": "OwnershipTransferred", + "type": "event" }, { - "type": "event", - "name": "ParticipantChanged", + "anonymous": false, "inputs": [ { - "name": "oldParticipant", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "oldParticipant", + "type": "address" }, { - "name": "newParticipant", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "newParticipant", + "type": "address" } ], - "anonymous": false + "name": "ParticipantChanged", + "type": "event" }, { - "type": "event", - "name": "Paused", + "anonymous": false, "inputs": [ { - "name": "account", - "type": "address", "indexed": false, - "internalType": "address" + "internalType": "address", + "name": "account", + "type": "address" } ], - "anonymous": false + "name": "Paused", + "type": "event" }, { - "type": "event", - "name": "RoyaltiesPaid", + "anonymous": false, "inputs": [ { - "name": "listingId", - "type": "uint256", "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "asset", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "asset", + "type": "address" }, { - "name": "tokenId", - "type": "bytes32", "indexed": false, - "internalType": "bytes32" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "recipient", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "recipient", + "type": "address" }, { - "name": "amount", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "anonymous": false + "name": "RoyaltiesPaid", + "type": "event" }, { - "type": "event", - "name": "RoyaltiesThresholdPointsChanged", + "anonymous": false, "inputs": [ { - "name": "oldPoints", - "type": "uint32", "indexed": false, - "internalType": "uint32" + "internalType": "uint32", + "name": "oldPoints", + "type": "uint32" }, { - "name": "newPoints", - "type": "uint32", "indexed": false, - "internalType": "uint32" + "internalType": "uint32", + "name": "newPoints", + "type": "uint32" } ], - "anonymous": false + "name": "RoyaltiesThresholdPointsChanged", + "type": "event" }, { - "type": "event", - "name": "Sale", + "anonymous": false, "inputs": [ { - "name": "listingId", - "type": "uint256", "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "asset", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "asset", + "type": "address" }, { - "name": "tokenId", - "type": "bytes32", "indexed": false, - "internalType": "bytes32" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "seller", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "seller", + "type": "address" }, { - "name": "buyer", - "type": "address", "indexed": false, - "internalType": "address" + "internalType": "address", + "name": "buyer", + "type": "address" }, { - "name": "totalPaid", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "totalPaid", + "type": "uint256" } ], - "anonymous": false + "name": "Sale", + "type": "event" }, { - "type": "event", - "name": "Unpaused", + "anonymous": false, "inputs": [ { - "name": "account", - "type": "address", "indexed": false, - "internalType": "address" + "internalType": "address", + "name": "account", + "type": "address" } ], - "anonymous": false + "name": "Unpaused", + "type": "event" }, { - "type": "event", - "name": "ValueReceived", + "anonymous": false, "inputs": [ { - "name": "sender", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "sender", + "type": "address" }, { - "name": "value", - "type": "uint256", "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "value", + "type": "uint256" } ], - "anonymous": false + "name": "ValueReceived", + "type": "event" }, { - "type": "event", - "name": "ValueWithdrawn", + "anonymous": false, "inputs": [ { - "name": "beneficiary", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "beneficiary", + "type": "address" }, { - "name": "value", - "type": "uint256", "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "value", + "type": "uint256" } ], - "anonymous": false + "name": "ValueWithdrawn", + "type": "event" }, { - "type": "error", - "name": "Auctioned", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } - ] + ], + "name": "acceptHighestBid", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "DispositionFailure", "inputs": [ { - "name": "beneficiary", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "buyer", + "type": "address" } - ] + ], + "name": "acceptOffer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "auctions", + "outputs": [ + { + "internalType": "contract ILSP8Auctions", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "beneficiary", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "FeesExceedTotalPaid", "inputs": [ { - "name": "totalPaid", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "feesAmount", - "type": "uint256", - "internalType": "uint256" - }, + "internalType": "address", + "name": "recipient", + "type": "address" + } + ], + "name": "buy", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "feePoints", + "outputs": [ { - "name": "royaltiesTotalAmount", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint32", + "name": "", + "type": "uint32" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InsufficientFunds", "inputs": [ { - "name": "totalPrice", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "newOwner_", + "type": "address" }, { - "name": "totalPaid", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "beneficiary_", + "type": "address" + }, + { + "internalType": "contract ILSP8Listings", + "name": "listings_", + "type": "address" + }, + { + "internalType": "contract ILSP8Offers", + "name": "offers_", + "type": "address" + }, + { + "internalType": "contract ILSP8Auctions", + "name": "auctions_", + "type": "address" + }, + { + "internalType": "contract IParticipant", + "name": "participant_", + "type": "address" } - ] + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidBeneficiary", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "buyer", + "type": "address" + }, + { + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } - ] + ], + "name": "lastPurchasePrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidLSP18RoyaltiesData", - "inputs": [ + "inputs": [], + "name": "listings", + "outputs": [ { - "name": "invalidValue", - "type": "bytes", - "internalType": "bytes" + "internalType": "contract ILSP8Listings", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "NoPendingSale", - "inputs": [] + "inputs": [], + "name": "offers", + "outputs": [ + { + "internalType": "contract ILSP8Offers", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "RoyaltiesExceedThreshold", - "inputs": [ + "inputs": [], + "name": "owner", + "outputs": [ { - "name": "royaltiesThresholdPoints", - "type": "uint32", - "internalType": "uint32" - }, + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "participant", + "outputs": [ { - "name": "totalPrice", - "type": "uint256", - "internalType": "uint256" - }, + "internalType": "contract IParticipant", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "pause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "paused", + "outputs": [ { - "name": "totalRoyalties", - "type": "uint256", - "internalType": "uint256" + "internalType": "bool", + "name": "", + "type": "bool" } - ] + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "pendingSale", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "seller", + "type": "address" + }, + { + "internalType": "address", + "name": "buyer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "totalPaid", + "type": "uint256" + } + ], + "internalType": "struct PendingSale", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "royaltiesThresholdPoints", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "UnathorizedSeller", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "newBeneficiary", + "type": "address" } - ] + ], + "name": "setBeneficiary", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "Unpaid", "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" - }, + "internalType": "uint32", + "name": "newFeePoints", + "type": "uint32" + } + ], + "name": "setFeePoints", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" - }, + "internalType": "contract IParticipant", + "name": "participant_", + "type": "address" + } + ], + "name": "setParticipant", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "newRoyaltiesThresholdPoints", + "type": "uint32" + } + ], + "name": "setRoyaltiesThresholdPoints", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unpause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ { + "internalType": "uint256", "name": "amount", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } - ] + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" } ] diff --git a/artifacts/abi/marketplace/lsp8/LSP8Offers.json b/artifacts/abi/marketplace/lsp8/LSP8Offers.json index 9bb685c..3334e97 100644 --- a/artifacts/abi/marketplace/lsp8/LSP8Offers.json +++ b/artifacts/abi/marketplace/lsp8/LSP8Offers.json @@ -1,538 +1,554 @@ [ { - "type": "constructor", "inputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "function", - "name": "accept", "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "buyer", - "type": "address", - "internalType": "address" + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "IllegalAccess", + "type": "error" }, { - "type": "function", - "name": "cancel", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InactiveListing", + "type": "error" }, { - "type": "function", - "name": "getOffer", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "address", "name": "buyer", - "type": "address", - "internalType": "address" + "type": "address" } ], - "outputs": [ + "name": "InactiveOffer", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "tuple", - "internalType": "struct LSP8Offer", - "components": [ - { - "name": "price", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "expirationTime", - "type": "uint256", - "internalType": "uint256" - } - ] + "internalType": "address", + "name": "account", + "type": "address" } ], - "stateMutability": "view" + "name": "InvalidAddress", + "type": "error" }, { - "type": "function", - "name": "grantRole", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "secondsUntilExpiration", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "InvalidOfferDuration", + "type": "error" }, { - "type": "function", - "name": "hasRole", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "address", + "name": "buyer", + "type": "address" } ], - "stateMutability": "view" + "name": "NotPlaced", + "type": "error" }, { - "type": "function", - "name": "initialize", "inputs": [ { - "name": "newOwner_", - "type": "address", - "internalType": "address" - }, - { - "name": "listings_", - "type": "address", - "internalType": "contract ILSP8Listings" + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnableCallerNotTheOwner", + "type": "error" + }, + { + "inputs": [], + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" }, { - "type": "function", - "name": "isActiveOffer", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "address", "name": "buyer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ + "type": "address" + }, { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "stateMutability": "view" + "name": "Unpaid", + "type": "error" }, { - "type": "function", - "name": "isPlacedOffer", + "anonymous": false, "inputs": [ { + "indexed": true, + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "indexed": true, + "internalType": "address", "name": "buyer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ + "type": "address" + }, { - "name": "", - "type": "bool", - "internalType": "bool" + "indexed": false, + "internalType": "uint256", + "name": "price", + "type": "uint256" } ], - "stateMutability": "view" + "name": "Accepted", + "type": "event" }, { - "type": "function", - "name": "listings", - "inputs": [], - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "address", - "internalType": "contract ILSP8Listings" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ + "indexed": true, + "internalType": "uint256", + "name": "listingId", + "type": "uint256" + }, { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "pause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "paused", - "inputs": [], - "outputs": [ + "indexed": true, + "internalType": "address", + "name": "buyer", + "type": "address" + }, { - "name": "", - "type": "bool", - "internalType": "bool" + "indexed": false, + "internalType": "uint256", + "name": "price", + "type": "uint256" } ], - "stateMutability": "view" + "name": "Canceled", + "type": "event" }, { - "type": "function", - "name": "place", + "anonymous": false, "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "secondsUntilExpiration", - "type": "uint256", - "internalType": "uint256" + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" } ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Initialized", + "type": "event" }, { - "type": "function", - "name": "revokeRole", + "anonymous": false, "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" }, { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnershipTransferred", + "type": "event" }, { - "type": "function", - "name": "transferOwnership", + "anonymous": false, "inputs": [ { - "name": "newOwner", - "type": "address", - "internalType": "address" + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unpause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Paused", + "type": "event" }, { - "type": "event", - "name": "Accepted", + "anonymous": false, "inputs": [ { - "name": "listingId", - "type": "uint256", "indexed": true, - "internalType": "uint256" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "buyer", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "buyer", + "type": "address" }, { - "name": "price", - "type": "uint256", "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Canceled", - "inputs": [ - { - "name": "listingId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "buyer", - "type": "address", - "indexed": true, - "internalType": "address" + "indexed": false, + "internalType": "uint256", + "name": "price", + "type": "uint256" }, { - "name": "price", - "type": "uint256", "indexed": false, - "internalType": "uint256" + "internalType": "uint256", + "name": "expirationTime", + "type": "uint256" } ], - "anonymous": false + "name": "Placed", + "type": "event" }, { - "type": "event", - "name": "Initialized", + "anonymous": false, "inputs": [ { - "name": "version", - "type": "uint8", "indexed": false, - "internalType": "uint8" + "internalType": "address", + "name": "account", + "type": "address" } ], - "anonymous": false + "name": "Unpaused", + "type": "event" }, { - "type": "event", - "name": "OwnershipTransferred", "inputs": [ { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" }, { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "buyer", + "type": "address" } ], - "anonymous": false + "name": "accept", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Paused", "inputs": [ { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "uint256", + "name": "listingId", + "type": "uint256" } ], - "anonymous": false + "name": "cancel", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Placed", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "address", "name": "buyer", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "type": "address" + } + ], + "name": "getOffer", + "outputs": [ { - "name": "tokenId", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, + "components": [ + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "expirationTime", + "type": "uint256" + } + ], + "internalType": "struct LSP8Offer", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ { - "name": "price", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "expirationTime", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "bytes32", + "name": "role", + "type": "bytes32" } ], - "anonymous": false + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "Unpaused", "inputs": [ { + "internalType": "address", "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "type": "address" + }, + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "IllegalAccess", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "newOwner_", + "type": "address" }, { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "contract ILSP8Listings", + "name": "listings_", + "type": "address" } - ] + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InactiveListing", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" + }, + { + "internalType": "address", + "name": "buyer", + "type": "address" + } + ], + "name": "isActiveOffer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InactiveOffer", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { + "internalType": "address", "name": "buyer", - "type": "address", - "internalType": "address" + "type": "address" + } + ], + "name": "isPlacedOffer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidAddress", - "inputs": [ + "inputs": [], + "name": "listings", + "outputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "contract ILSP8Listings", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidOfferDuration", - "inputs": [ + "inputs": [], + "name": "owner", + "outputs": [ { - "name": "secondsUntilExpiration", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "pause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "paused", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "NotPlaced", "inputs": [ { + "internalType": "uint256", "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "type": "uint256" }, { - "name": "buyer", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "secondsUntilExpiration", + "type": "uint256" } - ] + ], + "name": "place", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "Unpaid", "inputs": [ { - "name": "listingId", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "account", + "type": "address" }, { - "name": "buyer", - "type": "address", - "internalType": "address" - }, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "newOwner", + "type": "address" } - ] + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unpause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" } ] diff --git a/artifacts/abi/page/PageName.json b/artifacts/abi/page/PageName.json index d331994..e55a7b5 100644 --- a/artifacts/abi/page/PageName.json +++ b/artifacts/abi/page/PageName.json @@ -1,1522 +1,1538 @@ [ { - "type": "constructor", "inputs": [], - "stateMutability": "nonpayable" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "type": "fallback", - "stateMutability": "payable" - }, - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "authorizeOperator", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "beneficiary", + "type": "address" }, { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "DispositionFailure", + "type": "error" + }, + { + "inputs": [], + "name": "ERC725Y_DataKeysValuesEmptyArray", + "type": "error" + }, + { + "inputs": [], + "name": "ERC725Y_DataKeysValuesLengthMismatch", + "type": "error" + }, + { + "inputs": [], + "name": "ERC725Y_MsgValueDisallowed", + "type": "error" }, { - "type": "function", - "name": "balanceOf", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ + "internalType": "address", + "name": "recipient", + "type": "address" + }, { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "string", + "name": "name", + "type": "string" } ], - "stateMutability": "view" + "name": "IncorrectReservationName", + "type": "error" }, { - "type": "function", - "name": "batchCalls", "inputs": [ { - "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [ - { - "name": "results", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "address", + "name": "account", + "type": "address" } ], - "stateMutability": "nonpayable" + "name": "InvalidBeneficiary", + "type": "error" }, { - "type": "function", - "name": "beneficiary", "inputs": [], - "outputs": [ + "name": "InvalidController", + "type": "error" + }, + { + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "bytes", + "name": "storedData", + "type": "bytes" } ], - "stateMutability": "view" + "name": "InvalidExtensionAddress", + "type": "error" }, { - "type": "function", - "name": "controller", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "bytes", + "name": "data", + "type": "bytes" } ], - "stateMutability": "view" + "name": "InvalidFunctionSelector", + "type": "error" }, { - "type": "function", - "name": "getData", "inputs": [ { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ + "internalType": "address", + "name": "recipient", + "type": "address" + }, { - "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" } ], - "stateMutability": "view" + "name": "InvalidReservationPrice", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenNameNotEditable", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenSymbolNotEditable", + "type": "error" + }, + { + "inputs": [], + "name": "LSP4TokenTypeNotEditable", + "type": "error" }, { - "type": "function", - "name": "getDataBatch", "inputs": [ { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [ - { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "uint256", + "name": "callIndex", + "type": "uint256" } ], - "stateMutability": "view" + "name": "LSP8BatchCallFailed", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CannotSendToAddressZero", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CannotSendToSelf", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8CannotUseAddressZeroAsOperator", + "type": "error" + }, + { + "inputs": [], + "name": "LSP8InvalidTransferBatch", + "type": "error" }, { - "type": "function", - "name": "getOperatorsOf", "inputs": [ { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" } ], - "outputs": [ - { - "name": "", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" + "name": "LSP8NonExistentTokenId", + "type": "error" }, { - "type": "function", - "name": "getTokenIdData", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "dataValues", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "stateMutability": "view" + "name": "LSP8NonExistingOperator", + "type": "error" }, { - "type": "function", - "name": "getTokenIdDataBatch", "inputs": [ { - "name": "tokenIds", - "type": "bytes32[]", - "internalType": "bytes32[]" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [ - { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "internalType": "address", + "name": "caller", + "type": "address" } ], - "stateMutability": "view" + "name": "LSP8NotTokenOperator", + "type": "error" }, { - "type": "function", - "name": "initialize", "inputs": [ { - "name": "name_", - "type": "string", - "internalType": "string" - }, - { - "name": "symbol_", - "type": "string", - "internalType": "string" - }, - { - "name": "newOwner_", - "type": "address", - "internalType": "address" - }, - { - "name": "beneficiary_", - "type": "address", - "internalType": "address" - }, - { - "name": "controller_", - "type": "address", - "internalType": "address" - }, - { - "name": "price_", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "minimumLength_", - "type": "uint8", - "internalType": "uint8" + "internalType": "address", + "name": "tokenOwner", + "type": "address" }, { - "name": "profileLimit_", - "type": "uint16", - "internalType": "uint16" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "marketplace_", - "type": "address", - "internalType": "contract IPageNameMarketplace" + "internalType": "address", + "name": "caller", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "LSP8NotTokenOwner", + "type": "error" }, { - "type": "function", - "name": "isOperatorFor", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" + "internalType": "address", + "name": "tokenReceiver", + "type": "address" } ], - "stateMutability": "view" + "name": "LSP8NotifyTokenReceiverContractMissingLSP1Interface", + "type": "error" }, { - "type": "function", - "name": "marketplace", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "contract IPageNameMarketplace" + "internalType": "address", + "name": "tokenReceiver", + "type": "address" } ], - "stateMutability": "view" + "name": "LSP8NotifyTokenReceiverIsEOA", + "type": "error" }, { - "type": "function", - "name": "minimumLength", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "uint8", - "internalType": "uint8" + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "stateMutability": "view" + "name": "LSP8OperatorAlreadyAuthorized", + "type": "error" }, { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "stateMutability": "view" + "name": "LSP8TokenIdAlreadyMinted", + "type": "error" }, { - "type": "function", - "name": "pause", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "LSP8TokenIdFormatNotEditable", + "type": "error" }, { - "type": "function", - "name": "paused", "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" + "name": "LSP8TokenIdsDataEmptyArray", + "type": "error" }, { - "type": "function", - "name": "price", "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" + "name": "LSP8TokenIdsDataLengthMismatch", + "type": "error" }, { - "type": "function", - "name": "profileLimit", "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint16", - "internalType": "uint16" - } - ], - "stateMutability": "view" + "name": "LSP8TokenOwnerCannotBeOperator", + "type": "error" }, { - "type": "function", - "name": "profileLimitOf", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" + "internalType": "bytes4", + "name": "functionSelector", + "type": "bytes4" } ], - "stateMutability": "view" + "name": "NoExtensionFoundForFunctionSelector", + "type": "error" }, { - "type": "function", - "name": "release", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "callerAddress", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnableCallerNotTheOwner", + "type": "error" }, { - "type": "function", - "name": "renounceOwnership", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OwnableCannotSetZeroAddressAsOwner", + "type": "error" }, { - "type": "function", - "name": "reserve", "inputs": [ { - "name": "recipient", - "type": "address", - "internalType": "address" - }, - { - "name": "name", - "type": "string", - "internalType": "string" + "internalType": "address", + "name": "from", + "type": "address" }, { - "name": "v", - "type": "uint8", - "internalType": "uint8" + "internalType": "address", + "name": "to", + "type": "address" }, { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "limit", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "payable" + "name": "TransferExceedLimit", + "type": "error" }, { - "type": "function", - "name": "revokeOperator", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" + "internalType": "address", + "name": "from", + "type": "address" }, { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "to", + "type": "address" }, { - "name": "notify", - "type": "bool", - "internalType": "bool" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" }, { - "name": "operatorNotificationData", - "type": "bytes", - "internalType": "bytes" + "internalType": "uint256", + "name": "totalPaid", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "TransferInvalidSale", + "type": "error" }, { - "type": "function", - "name": "setBeneficiary", "inputs": [ { - "name": "newBeneficiary", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setController", - "inputs": [ + "internalType": "address", + "name": "account", + "type": "address" + }, { - "name": "newController", - "type": "address", - "internalType": "address" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "UnauthorizedRelease", + "type": "error" }, { - "type": "function", - "name": "setData", "inputs": [ { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "recipient", + "type": "address" }, { - "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" } ], - "outputs": [], - "stateMutability": "payable" + "name": "UnauthorizedReservation", + "type": "error" }, { - "type": "function", - "name": "setDataBatch", + "anonymous": false, "inputs": [ { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" + "indexed": true, + "internalType": "address", + "name": "oldBeneficiary", + "type": "address" }, { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "indexed": true, + "internalType": "address", + "name": "newBeneficiary", + "type": "address" } ], - "outputs": [], - "stateMutability": "payable" + "name": "BeneficiaryChanged", + "type": "event" }, { - "type": "function", - "name": "setMinimumLength", + "anonymous": false, "inputs": [ { - "name": "newLength", - "type": "uint8", - "internalType": "uint8" + "indexed": true, + "internalType": "address", + "name": "oldController", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newController", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "ControllerChanged", + "type": "event" }, { - "type": "function", - "name": "setPrice", + "anonymous": false, "inputs": [ { - "name": "newPrice", - "type": "uint256", - "internalType": "uint256" + "indexed": true, + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "DataChanged", + "type": "event" }, { - "type": "function", - "name": "setProfileLimit", + "anonymous": false, "inputs": [ { - "name": "newLimit", - "type": "uint16", - "internalType": "uint16" + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Initialized", + "type": "event" }, { - "type": "function", - "name": "setTokenIdData", + "anonymous": false, "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "dataKey", - "type": "bytes32", - "internalType": "bytes32" + "indexed": true, + "internalType": "address", + "name": "tokenOwner", + "type": "address" }, { - "name": "dataValue", - "type": "bytes", - "internalType": "bytes" + "indexed": true, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OperatorAuthorizationChanged", + "type": "event" }, { - "type": "function", - "name": "setTokenIdDataBatch", + "anonymous": false, "inputs": [ { - "name": "tokenIds", - "type": "bytes32[]", - "internalType": "bytes32[]" + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "dataKeys", - "type": "bytes32[]", - "internalType": "bytes32[]" + "indexed": true, + "internalType": "address", + "name": "tokenOwner", + "type": "address" }, { - "name": "dataValues", - "type": "bytes[]", - "internalType": "bytes[]" + "indexed": true, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bool", + "name": "notified", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "OperatorRevoked", + "type": "event" }, { - "type": "function", - "name": "supportsInterface", + "anonymous": false, "inputs": [ { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, { - "name": "", - "type": "bool", - "internalType": "bool" + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" } ], - "stateMutability": "view" + "name": "OwnershipTransferred", + "type": "event" }, { - "type": "function", - "name": "tokenAt", + "anonymous": false, "inputs": [ { - "name": "index", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" } ], - "stateMutability": "view" + "name": "Paused", + "type": "event" }, { - "type": "function", - "name": "tokenIdsOf", + "anonymous": false, "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, { - "name": "", - "type": "bytes32[]", - "internalType": "bytes32[]" + "indexed": true, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } ], - "stateMutability": "view" + "name": "ReleasedName", + "type": "event" }, { - "type": "function", - "name": "tokenOwnerOf", + "anonymous": false, "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ + "indexed": true, + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, { - "name": "", - "type": "uint256", - "internalType": "uint256" + "indexed": false, + "internalType": "uint256", + "name": "price", + "type": "uint256" } ], - "stateMutability": "view" + "name": "ReservedName", + "type": "event" }, { - "type": "function", - "name": "transfer", + "anonymous": false, "inputs": [ { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { + "indexed": true, + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" }, { - "name": "force", - "type": "bool", - "internalType": "bool" + "indexed": true, + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" }, { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "indexed": false, + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "TokenIdDataChanged", + "type": "event" }, { - "type": "function", - "name": "transferBatch", + "anonymous": false, "inputs": [ { + "indexed": false, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", "name": "from", - "type": "address[]", - "internalType": "address[]" + "type": "address" }, { + "indexed": true, + "internalType": "address", "name": "to", - "type": "address[]", - "internalType": "address[]" + "type": "address" }, { + "indexed": true, + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32[]", - "internalType": "bytes32[]" + "type": "bytes32" }, { + "indexed": false, + "internalType": "bool", "name": "force", - "type": "bool[]", - "internalType": "bool[]" + "type": "bool" }, { + "indexed": false, + "internalType": "bytes", "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferOwnership", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" + "type": "bytes" } ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unpause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Transfer", + "type": "event" }, { - "type": "function", - "name": "withdraw", + "anonymous": false, "inputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "Unpaused", + "type": "event" }, { - "type": "event", - "name": "BeneficiaryChanged", + "anonymous": false, "inputs": [ { - "name": "oldBeneficiary", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "sender", + "type": "address" }, { - "name": "newBeneficiary", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "uint256", + "name": "value", + "type": "uint256" } ], - "anonymous": false + "name": "ValueReceived", + "type": "event" }, { - "type": "event", - "name": "ControllerChanged", + "anonymous": false, "inputs": [ { - "name": "oldController", - "type": "address", "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "beneficiary", + "type": "address" }, { - "name": "newController", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DataChanged", - "inputs": [ - { - "name": "dataKey", - "type": "bytes32", "indexed": true, - "internalType": "bytes32" - }, - { - "name": "dataValue", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "uint256", + "name": "value", + "type": "uint256" } ], - "anonymous": false + "name": "ValueWithdrawn", + "type": "event" }, { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false + "stateMutability": "payable", + "type": "fallback" }, { - "type": "event", - "name": "OperatorAuthorizationChanged", "inputs": [ { + "internalType": "address", "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "tokenOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "type": "address" }, { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "type": "bytes32" }, { + "internalType": "bytes", "name": "operatorNotificationData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "type": "bytes" } ], - "anonymous": false + "name": "authorizeOperator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "OperatorRevoked", "inputs": [ { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { + "internalType": "address", "name": "tokenOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "notified", - "type": "bool", - "indexed": false, - "internalType": "bool" - }, + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ { - "name": "operatorNotificationData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "internalType": "uint256", + "name": "", + "type": "uint256" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "OwnershipTransferred", "inputs": [ { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "internalType": "bytes[]", + "name": "data", + "type": "bytes[]" + } + ], + "name": "batchCalls", + "outputs": [ { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bytes[]", + "name": "results", + "type": "bytes[]" } ], - "anonymous": false + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "beneficiary", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "controller", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Paused", "inputs": [ { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" + } + ], + "name": "getData", + "outputs": [ + { + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "ReleasedName", "inputs": [ { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" + } + ], + "name": "getDataBatch", + "outputs": [ { - "name": "tokenId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "ReservedName", "inputs": [ { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "bytes32[]", + "name": "tokenIds", + "type": "bytes32[]" }, { - "name": "tokenId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" + } + ], + "name": "getDataBatchForTokenIds", + "outputs": [ { - "name": "price", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "TokenIdDataChanged", "inputs": [ { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "type": "bytes32" }, { + "internalType": "bytes32", "name": "dataKey", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, + "type": "bytes32" + } + ], + "name": "getDataForTokenId", + "outputs": [ { + "internalType": "bytes", "name": "dataValue", - "type": "bytes", - "indexed": false, - "internalType": "bytes" + "type": "bytes" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "event", - "name": "Transfer", "inputs": [ { - "name": "operator", - "type": "address", - "indexed": false, - "internalType": "address" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + } + ], + "name": "getOperatorsOf", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "name_", + "type": "string" }, { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "string", + "name": "symbol_", + "type": "string" }, { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "newOwner_", + "type": "address" }, { - "name": "tokenId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "internalType": "address", + "name": "beneficiary_", + "type": "address" }, { - "name": "force", - "type": "bool", - "indexed": false, - "internalType": "bool" + "internalType": "address", + "name": "controller_", + "type": "address" }, { - "name": "data", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Unpaused", - "inputs": [ + "internalType": "uint256", + "name": "price_", + "type": "uint256" + }, { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ValueReceived", - "inputs": [ + "internalType": "uint8", + "name": "minimumLength_", + "type": "uint8" + }, { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "uint16", + "name": "profileLimit_", + "type": "uint16" }, { - "name": "value", - "type": "uint256", - "indexed": true, - "internalType": "uint256" + "internalType": "contract IPageNameMarketplace", + "name": "marketplace_", + "type": "address" } ], - "anonymous": false + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "event", - "name": "ValueWithdrawn", "inputs": [ { - "name": "beneficiary", - "type": "address", - "indexed": true, - "internalType": "address" + "internalType": "address", + "name": "operator", + "type": "address" }, { - "name": "value", - "type": "uint256", - "indexed": true, - "internalType": "uint256" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + } + ], + "name": "isOperatorFor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" } ], - "anonymous": false + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "DispositionFailure", - "inputs": [ - { - "name": "beneficiary", - "type": "address", - "internalType": "address" - }, + "inputs": [], + "name": "marketplace", + "outputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" + "internalType": "contract IPageNameMarketplace", + "name": "", + "type": "address" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "ERC725Y_DataKeysValuesEmptyArray", - "inputs": [] + "inputs": [], + "name": "minimumLength", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "ERC725Y_DataKeysValuesLengthMismatch", - "inputs": [] + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "ERC725Y_MsgValueDisallowed", - "inputs": [] + "inputs": [], + "name": "pause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "IncorrectReservationName", - "inputs": [ - { - "name": "recipient", - "type": "address", - "internalType": "address" - }, + "inputs": [], + "name": "paused", + "outputs": [ { - "name": "name", - "type": "string", - "internalType": "string" + "internalType": "bool", + "name": "", + "type": "bool" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidBeneficiary", - "inputs": [ + "inputs": [], + "name": "price", + "outputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidController", - "inputs": [] + "inputs": [], + "name": "profileLimit", + "outputs": [ + { + "internalType": "uint16", + "name": "", + "type": "uint16" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidExtensionAddress", "inputs": [ { - "name": "storedData", - "type": "bytes", - "internalType": "bytes" + "internalType": "address", + "name": "tokenOwner", + "type": "address" + } + ], + "name": "profileLimitOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "InvalidFunctionSelector", "inputs": [ { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" } - ] + ], + "name": "release", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "InvalidReservationPrice", "inputs": [ { + "internalType": "address", "name": "recipient", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "string", "name": "name", - "type": "string", - "internalType": "string" + "type": "string" }, { - "name": "price", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" } - ] - }, - { - "type": "error", - "name": "LSP4TokenNameNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP4TokenSymbolNotEditable", - "inputs": [] - }, - { - "type": "error", - "name": "LSP4TokenTypeNotEditable", - "inputs": [] + ], + "name": "reserve", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "error", - "name": "LSP8BatchCallFailed", "inputs": [ { - "name": "callIndex", - "type": "uint256", - "internalType": "uint256" + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "notify", + "type": "bool" + }, + { + "internalType": "bytes", + "name": "operatorNotificationData", + "type": "bytes" } - ] - }, - { - "type": "error", - "name": "LSP8CannotSendToAddressZero", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8CannotSendToSelf", - "inputs": [] - }, - { - "type": "error", - "name": "LSP8CannotUseAddressZeroAsOperator", - "inputs": [] + ], + "name": "revokeOperator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8InvalidTransferBatch", - "inputs": [] + "inputs": [ + { + "internalType": "address", + "name": "newBeneficiary", + "type": "address" + } + ], + "name": "setBeneficiary", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8NonExistentTokenId", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "newController", + "type": "address" } - ] + ], + "name": "setController", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8NonExistingOperator", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" }, { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } - ] + ], + "name": "setData", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "error", - "name": "LSP8NotTokenOperator", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" }, { - "name": "caller", - "type": "address", - "internalType": "address" + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } - ] + ], + "name": "setDataBatch", + "outputs": [], + "stateMutability": "payable", + "type": "function" }, { - "type": "error", - "name": "LSP8NotTokenOwner", "inputs": [ { - "name": "tokenOwner", - "type": "address", - "internalType": "address" + "internalType": "bytes32[]", + "name": "tokenIds", + "type": "bytes32[]" }, { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "bytes32[]", + "name": "dataKeys", + "type": "bytes32[]" }, { - "name": "caller", - "type": "address", - "internalType": "address" + "internalType": "bytes[]", + "name": "dataValues", + "type": "bytes[]" } - ] + ], + "name": "setDataBatchForTokenIds", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8NotifyTokenReceiverContractMissingLSP1Interface", "inputs": [ { - "name": "tokenReceiver", - "type": "address", - "internalType": "address" + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "dataKey", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "dataValue", + "type": "bytes" } - ] + ], + "name": "setDataForTokenId", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8NotifyTokenReceiverIsEOA", "inputs": [ { - "name": "tokenReceiver", - "type": "address", - "internalType": "address" + "internalType": "uint8", + "name": "newLength", + "type": "uint8" } - ] + ], + "name": "setMinimumLength", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8OperatorAlreadyAuthorized", "inputs": [ { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint256", + "name": "newPrice", + "type": "uint256" } - ] + ], + "name": "setPrice", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8TokenIdAlreadyMinted", "inputs": [ { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "uint16", + "name": "newLimit", + "type": "uint16" } - ] + ], + "name": "setProfileLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "LSP8TokenIdSchemaNotEditable", - "inputs": [] + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8TokenIdsDataEmptyArray", - "inputs": [] + "inputs": [ + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenAt", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8TokenIdsDataLengthMismatch", - "inputs": [] + "inputs": [ + { + "internalType": "address", + "name": "tokenOwner", + "type": "address" + } + ], + "name": "tokenIdsOf", + "outputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "LSP8TokenOwnerCannotBeOperator", - "inputs": [] + "inputs": [ + { + "internalType": "bytes32", + "name": "tokenId", + "type": "bytes32" + } + ], + "name": "tokenOwnerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "NoExtensionFoundForFunctionSelector", - "inputs": [ + "inputs": [], + "name": "totalSupply", + "outputs": [ { - "name": "functionSelector", - "type": "bytes4", - "internalType": "bytes4" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ] + ], + "stateMutability": "view", + "type": "function" }, { - "type": "error", - "name": "TransferExceedLimit", "inputs": [ { + "internalType": "address", "name": "from", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "address", "name": "to", - "type": "address", - "internalType": "address" + "type": "address" }, { + "internalType": "bytes32", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32" }, { - "name": "limit", - "type": "uint256", - "internalType": "uint256" + "internalType": "bool", + "name": "force", + "type": "bool" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" } - ] + ], + "name": "transfer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "TransferInvalidSale", "inputs": [ { + "internalType": "address[]", "name": "from", - "type": "address", - "internalType": "address" + "type": "address[]" }, { + "internalType": "address[]", "name": "to", - "type": "address", - "internalType": "address" + "type": "address[]" }, { + "internalType": "bytes32[]", "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "type": "bytes32[]" }, { - "name": "totalPaid", - "type": "uint256", - "internalType": "uint256" + "internalType": "bool[]", + "name": "force", + "type": "bool[]" + }, + { + "internalType": "bytes[]", + "name": "data", + "type": "bytes[]" } - ] + ], + "name": "transferBatch", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "UnauthorizedRelease", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "bytes32", - "internalType": "bytes32" + "internalType": "address", + "name": "newOwner", + "type": "address" } - ] + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unpause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" }, { - "type": "error", - "name": "UnauthorizedReservation", "inputs": [ { - "name": "recipient", - "type": "address", - "internalType": "address" - }, - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "price", - "type": "uint256", - "internalType": "uint256" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } - ] + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" } ] diff --git a/artifacts/bytecode/assets/lsp7/DigitalAssetDrop.bin b/artifacts/bytecode/assets/lsp7/DigitalAssetDrop.bin index 910c006..79af2a5 100644 --- a/artifacts/bytecode/assets/lsp7/DigitalAssetDrop.bin +++ b/artifacts/bytecode/assets/lsp7/DigitalAssetDrop.bin @@ -1 +1 @@ -0x60a060405234801561001057600080fd5b50604051610cc7380380610cc783398101604081905261002f916101a6565b600180556001600160a01b03831661007e5760405162461bcd60e51b815260206004820152600d60248201526c6173736574206973207a65726f60981b60448201526064015b60405180910390fd5b60008290036100be5760405162461bcd60e51b815260206004820152600c60248201526b726f6f74206973207a65726f60a01b6044820152606401610075565b6001600160a01b0381166101045760405162461bcd60e51b815260206004820152600d60248201526c6f776e6572206973207a65726f60981b6044820152606401610075565b6001600160a01b03831660805261011a82600255565b6101238161012b565b5050506101e9565b6000546001600160a01b0382811691161461018e57600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a3505b50565b6001600160a01b038116811461018e57600080fd5b6000806000606084860312156101bb57600080fd5b83516101c681610191565b6020850151604086015191945092506101de81610191565b809150509250925092565b608051610aaf6102186000396000818160870152818161024f0152818161034c01526104450152610aaf6000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80639e34070f1161005b5780639e34070f146100e1578063c8edd8ab14610104578063f05c55ac14610117578063f2fde38b1461012a57600080fd5b806338d52e0f14610082578063715018a6146100c65780638da5cb5b146100d0575b600080fd5b6100a97f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100ce61013d565b005b6000546001600160a01b03166100a9565b6100f46100ef3660046108ab565b610151565b60405190151581526020016100bd565b6100ce6101123660046108e0565b610162565b6100ce610125366004610974565b6102bb565b6100ce610138366004610974565b6104ae565b61014561053b565b61014f60006105a4565b565b600061015c82610621565b92915050565b61016a610662565b6101ca858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040805133602082015290810186905287925060600190506040516020818303038152906040526106bb565b816001600160a01b0316837f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0268360405161020691815260200190565b60405180910390a3604051633b06cddd60e11b81523060048201526001600160a01b0383811660248301526044820183905260006064830181905260a0608484015260a48301527f0000000000000000000000000000000000000000000000000000000000000000169063760d9bba9060c401600060405180830381600087803b15801561029357600080fd5b505af11580156102a7573d6000803e3d6000fd5b505050506102b460018055565b5050505050565b6102c361053b565b6102cb610662565b6001600160a01b03811661031b576040517f1a3b45fd0000000000000000000000000000000000000000000000000000000081526001600160a01b03821660048201526024015b60405180910390fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa15801561039b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103bf919061098f565b9050816001600160a01b03167feb44e1b23fad598a86840f12d9ab99216d186e1eeebb5ef8e3b3d152ba7cbc7e826040516103fc91815260200190565b60405180910390a2604051633b06cddd60e11b81523060048201526001600160a01b038381166024830152604482018390526001606483015260a06084830152600060a48301527f0000000000000000000000000000000000000000000000000000000000000000169063760d9bba9060c401600060405180830381600087803b15801561048957600080fd5b505af115801561049d573d6000803e3d6000fd5b50505050506104ab60018055565b50565b6104b661053b565b6001600160a01b0381166105325760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610312565b6104ab816105a4565b3361054e6000546001600160a01b031690565b6001600160a01b03161461014f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610312565b6000546001600160a01b038281169116146104ab57600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080610630610100846109be565b90506000610640610100856109d2565b60009283526003602052604090922054600190921b9182169091149392505050565b6002600154036106b45760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610312565b6002600155565b6002546106f4576040517f5058901600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6106fd82610621565b156107385781816040517f331e2c3f0000000000000000000000000000000000000000000000000000000081526004016103129291906109e6565b6000828260405160200161074d9291906109e6565b60408051601f198184030181528282528051602091820120908301520160405160208183030381529060405280519060200120905061078f84600254836107d8565b6107c95782826040517f4a0e7b130000000000000000000000000000000000000000000000000000000081526004016103129291906109e6565b6107d2836107ee565b50505050565b6000826107e5858461082c565b14949350505050565b60006107fc610100836109be565b9050600061080c610100846109d2565b6000928352600360205260409092208054600190931b9092179091555050565b600081815b84518110156108715761085d8286838151811061085057610850610a3c565b6020026020010151610879565b91508061086981610a52565b915050610831565b509392505050565b60008183106108955760008281526020849052604090206108a4565b60008381526020839052604090205b9392505050565b6000602082840312156108bd57600080fd5b5035919050565b80356001600160a01b03811681146108db57600080fd5b919050565b6000806000806000608086880312156108f857600080fd5b853567ffffffffffffffff8082111561091057600080fd5b818801915088601f83011261092457600080fd5b81358181111561093357600080fd5b8960208260051b850101111561094857600080fd5b602092830197509550508601359250610963604087016108c4565b949793965091946060013592915050565b60006020828403121561098657600080fd5b6108a4826108c4565b6000602082840312156109a157600080fd5b5051919050565b634e487b7160e01b600052601260045260246000fd5b6000826109cd576109cd6109a8565b500490565b6000826109e1576109e16109a8565b500690565b82815260006020604081840152835180604085015260005b81811015610a1a578581018301518582016060015282016109fe565b506000606082860101526060601f19601f830116850101925050509392505050565b634e487b7160e01b600052603260045260246000fd5b600060018201610a7257634e487b7160e01b600052601160045260246000fd5b506001019056fea26469706673582212204a9c817ccaa89546c4240df8314beb22cb4eb93ab083254d0f060b3c14c4878864736f6c63430008110033 +0x60a060405234801561001057600080fd5b50604051610ca1380380610ca183398101604081905261002f916101ad565b600180556001600160a01b03831661007e5760405162461bcd60e51b815260206004820152600d60248201526c6173736574206973207a65726f60981b60448201526064015b60405180910390fd5b60008290036100be5760405162461bcd60e51b815260206004820152600c60248201526b726f6f74206973207a65726f60a01b6044820152606401610075565b6001600160a01b0381166101045760405162461bcd60e51b815260206004820152600d60248201526c6f776e6572206973207a65726f60981b6044820152606401610075565b6001600160a01b03831660805261011a82600255565b6101238161012b565b5050506101f0565b6000546001600160a01b0382811691161461019557600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0383161790555b50565b6001600160a01b038116811461019557600080fd5b6000806000606084860312156101c257600080fd5b83516101cd81610198565b6020850151604086015191945092506101e581610198565b809150509250925092565b608051610a8261021f6000396000818160870152818161024f0152818161034c01526104450152610a826000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80639e34070f1161005b5780639e34070f146100e1578063c8edd8ab14610104578063f05c55ac14610117578063f2fde38b1461012a57600080fd5b806338d52e0f14610082578063715018a6146100c65780638da5cb5b146100d0575b600080fd5b6100a97f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100ce61013d565b005b6000546001600160a01b03166100a9565b6100f46100ef36600461087e565b610151565b60405190151581526020016100bd565b6100ce6101123660046108b3565b610162565b6100ce610125366004610947565b6102bb565b6100ce610138366004610947565b6104ae565b6101456104ff565b61014f6000610554565b565b600061015c826105da565b92915050565b61016a61061b565b6101ca8585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060408051336020820152908101869052879250606001905060405160208183030381529060405261068e565b816001600160a01b0316837f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0268360405161020691815260200190565b60405180910390a3604051633b06cddd60e11b81523060048201526001600160a01b0383811660248301526044820183905260006064830181905260a0608484015260a48301527f0000000000000000000000000000000000000000000000000000000000000000169063760d9bba9060c401600060405180830381600087803b15801561029357600080fd5b505af11580156102a7573d6000803e3d6000fd5b505050506102b460018055565b5050505050565b6102c36104ff565b6102cb61061b565b6001600160a01b03811661031b576040517f1a3b45fd0000000000000000000000000000000000000000000000000000000081526001600160a01b03821660048201526024015b60405180910390fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa15801561039b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103bf9190610962565b9050816001600160a01b03167feb44e1b23fad598a86840f12d9ab99216d186e1eeebb5ef8e3b3d152ba7cbc7e826040516103fc91815260200190565b60405180910390a2604051633b06cddd60e11b81523060048201526001600160a01b038381166024830152604482018390526001606483015260a06084830152600060a48301527f0000000000000000000000000000000000000000000000000000000000000000169063760d9bba9060c401600060405180830381600087803b15801561048957600080fd5b505af115801561049d573d6000803e3d6000fd5b50505050506104ab60018055565b50565b6104b66104ff565b6001600160a01b0381166104f6576040517f1ad8836c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6104ab81610554565b336105126000546001600160a01b031690565b6001600160a01b03161461014f576040517fbf1169c5000000000000000000000000000000000000000000000000000000008152336004820152602401610312565b6000546001600160a01b038281169116146104ab57600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0383167fffffffffffffffffffffffff000000000000000000000000000000000000000090911617905550565b6000806105e961010084610991565b905060006105f9610100856109a5565b60009283526003602052604090922054600190921b9182169091149392505050565b600260015403610687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610312565b6002600155565b6002546106c7576040517f5058901600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6106d0826105da565b1561070b5781816040517f331e2c3f0000000000000000000000000000000000000000000000000000000081526004016103129291906109b9565b600082826040516020016107209291906109b9565b60408051601f198184030181528282528051602091820120908301520160405160208183030381529060405280519060200120905061076284600254836107ab565b61079c5782826040517f4a0e7b130000000000000000000000000000000000000000000000000000000081526004016103129291906109b9565b6107a5836107c1565b50505050565b6000826107b885846107ff565b14949350505050565b60006107cf61010083610991565b905060006107df610100846109a5565b6000928352600360205260409092208054600190931b9092179091555050565b600081815b8451811015610844576108308286838151811061082357610823610a0f565b602002602001015161084c565b91508061083c81610a25565b915050610804565b509392505050565b6000818310610868576000828152602084905260409020610877565b60008381526020839052604090205b9392505050565b60006020828403121561089057600080fd5b5035919050565b80356001600160a01b03811681146108ae57600080fd5b919050565b6000806000806000608086880312156108cb57600080fd5b853567ffffffffffffffff808211156108e357600080fd5b818801915088601f8301126108f757600080fd5b81358181111561090657600080fd5b8960208260051b850101111561091b57600080fd5b60209283019750955050860135925061093660408701610897565b949793965091946060013592915050565b60006020828403121561095957600080fd5b61087782610897565b60006020828403121561097457600080fd5b5051919050565b634e487b7160e01b600052601260045260246000fd5b6000826109a0576109a061097b565b500490565b6000826109b4576109b461097b565b500690565b82815260006020604081840152835180604085015260005b818110156109ed578581018301518582016060015282016109d1565b506000606082860101526060601f19601f830116850101925050509392505050565b634e487b7160e01b600052603260045260246000fd5b600060018201610a4557634e487b7160e01b600052601160045260246000fd5b506001019056fea26469706673582212207aa4bdfb2d926cf142afd2460c70374f12b43da0d5ef5e93f0d3d3859f4f485d64736f6c63430008110033 diff --git a/artifacts/bytecode/assets/lsp7/MintableDigitalAsset.bin b/artifacts/bytecode/assets/lsp7/MintableDigitalAsset.bin index 87333ee..eef3093 100644 --- a/artifacts/bytecode/assets/lsp7/MintableDigitalAsset.bin +++ b/artifacts/bytecode/assets/lsp7/MintableDigitalAsset.bin @@ -1 +1 @@ -0x60a06040523480156200001157600080fd5b5060405162002f3938038062002f398339810160408190526200003491620003c3565b808686868686848484848484848484816001600160a01b038116620000ae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840160405180910390fd5b620000c4816200023660201b62000e141760201c565b506200011b7feafec4d89fa9619884b60000a4d96624a38f7ac2d8d9a604ecf07c12c77e480c60001b604051806040016040528060048152602001632936598960e21b8152506200029d60201b62000e911760201c565b620001557fdeba1e292f8ba88238e10ab3c7f88bd4be4fac56cad5194b6ecceaf653468af160001b856200029d60201b62000e911760201c565b6200018f7f2f0a68ab07768e01943a599e73362a0e17a63a72e94dd2e384d2c1d4db93275660001b846200029d60201b62000e911760201c565b6040805160208101839052620001e2917fe0261fa95db2eb3b5439bd033cda66d56b96f92f243a8228fd87550ed7bdfdb391016040516020818303038152906040526200029d60201b62000e911760201c565b50506002805460ff191693151593909317909255505050600089900397506200022696505050505050505760405163acf1d8c560e01b815260040160405180910390fd5b608052506200060c945050505050565b6000546001600160a01b038281169116146200029a57600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a3505b50565b6000828152600160205260409020620002b782826200050b565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b282604051620002ea9190620005d7565b60405180910390a25050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003295781810151838201526020016200030f565b50506000910152565b600082601f8301126200034457600080fd5b81516001600160401b0380821115620003615762000361620002f6565b604051601f8301601f19908116603f011681019082821181831017156200038c576200038c620002f6565b81604052838152866020858801011115620003a657600080fd5b620003b98460208301602089016200030c565b9695505050505050565b60008060008060008060c08789031215620003dd57600080fd5b86516001600160401b0380821115620003f557600080fd5b620004038a838b0162000332565b975060208901519150808211156200041a57600080fd5b506200042989828a0162000332565b604089015190965090506001600160a01b03811681146200044957600080fd5b60608801516080890151919550935080151581146200046757600080fd5b8092505060a087015190509295509295509295565b600181811c908216806200049157607f821691505b602082108103620004b257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200050657600081815260208120601f850160051c81016020861015620004e15750805b601f850160051c820191505b818110156200050257828155600101620004ed565b5050505b505050565b81516001600160401b03811115620005275762000527620002f6565b6200053f816200053884546200047c565b84620004b8565b602080601f8311600181146200057757600084156200055e5750858301515b600019600386901b1c1916600185901b17855562000502565b600085815260208120601f198616915b82811015620005a85788860151825594840194600190910190840162000587565b5085821015620005c75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260008251806020840152620005f88160408501602087016200030c565b601f01601f19169190910160400192915050565b60805161290a6200062f6000396000818161031a0152611783015261290a6000f3fe6080604052600436106101795760003560e01c8063715018a6116100cb5780638da5cb5b1161007f578063d72fc29a11610059578063d72fc29a146104d1578063dedff9c6146104fe578063f2fde38b1461051e576101ed565b80638da5cb5b14610476578063979024211461049e578063b49506fd146104b1576101ed565b8063760d9bba116100b0578063760d9bba146104235780637b204c4e146104435780637f23690c14610463576101ed565b8063715018a6146103ee5780637580d92014610403576101ed565b80634521748e1161012d57806365aeaa951161010757806365aeaa951461036b5780636963d4381461038b57806370a08231146103b8576101ed565b80634521748e146102eb57806352058d8a1461030b57806354f6127f1461033e576101ed565b80632bc1da821161015e5780632bc1da82146102825780632d7667c9146102a4578063313ce567146102c4576101ed565b806301ffc9a71461022e57806318160ddd14610263576101ed565b366101ed57346000036101bb5760405163e5099ee360e01b81526004016101b29060208082526004908201526000604082015260600190565b60405180910390fd5b6040517f388f5adc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000366060600482101561021857828260405163e5099ee360e01b81526004016101b2929190611cc9565b610222838361053e565b80519350602001915050f35b34801561023a57600080fd5b5061024e610249366004611cf8565b61064d565b60405190151581526020015b60405180910390f35b34801561026f57600080fd5b506003545b60405190815260200161025a565b34801561028e57600080fd5b506102a261029d366004611e03565b61069a565b005b3480156102b057600080fd5b506102a26102bf366004612038565b610743565b3480156102d057600080fd5b506102d961084b565b60405160ff909116815260200161025a565b3480156102f757600080fd5b506102a261030636600461210a565b610864565b34801561031757600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610274565b34801561034a57600080fd5b5061035e610359366004612152565b6108b2565b60405161025a91906121bb565b34801561037757600080fd5b506102746103863660046121ce565b6108bd565b34801561039757600080fd5b506103ab6103a6366004612201565b610923565b60405161025a9190612276565b3480156103c457600080fd5b506102746103d33660046122d8565b6001600160a01b031660009081526004602052604090205490565b3480156103fa57600080fd5b506102a2610a73565b34801561040f57600080fd5b506102a261041e3660046122f3565b610a87565b34801561042f57600080fd5b506102a261043e36600461235b565b610a9b565b34801561044f57600080fd5b506102a261045e366004611e03565b610b15565b6102a26104713660046123c7565b610b6e565b34801561048257600080fd5b506000546040516001600160a01b03909116815260200161025a565b6102a26104ac36600461240e565b610ba3565b3480156104bd57600080fd5b506102a26104cc366004611e03565b610c90565b3480156104dd57600080fd5b506104f16104ec3660046122d8565b610cb5565b60405161025a9190612468565b34801561050a57600080fd5b506103ab6105193660046124b5565b610cd9565b34801561052a57600080fd5b506102a26105393660046122d8565b610d84565b606060006105576000356001600160e01b031916610ee6565b5090506001600160a01b0381166105a8576040517fbb370b2b0000000000000000000000000000000000000000000000000000000081526001600160e01b03196000351660048201526024016101b2565b600080826001600160a01b031634878733346040516020016105cd94939291906124ea565b60408051601f19818403018152908290526105e79161251a565b60006040518083038185875af1925050503d8060008114610624576040519150601f19603f3d011682016040523d82523d6000602084013e610629565b606091505b5091509150811561063e579250610647915050565b80518060208301fd5b92915050565b60006001600160e01b031982167fb3c4928f00000000000000000000000000000000000000000000000000000000148061068b575061068b82610f90565b80610647575061064782610fce565b60006106a684336108bd565b9050806000036106ed576040517fcba6e9770000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024016101b2565b60006106f9848361254c565b905061070933868360018761100c565b60003382856040516020016107209392919061255f565b604051602081830303815290604052905061073b86826111b1565b505050505050565b8451845181141580610756575083518114155b80610762575082518114155b8061076e575081518114155b156107a5576040517f263eee8d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156108425761083a8782815181106107c5576107c5612590565b60200260200101518783815181106107df576107df612590565b60200260200101518784815181106107f9576107f9612590565b602002602001015187858151811061081357610813612590565b602002602001015187868151811061082d5761082d612590565b6020026020010151610a9b565b6001016107a8565b50505050505050565b60025460009060ff1661085e5750601290565b50600090565b61087233846000858561100c565b81156108ad57600033600083604051602001610890939291906125a6565b60405160208183030381529060405290506108ab84826111b1565b505b505050565b6060610647826111dc565b6000826001600160a01b0316826001600160a01b0316036108f757506001600160a01b038116600090815260046020526040902054610647565b506001600160a01b03808216600090815260066020908152604080832093861683529290522054610647565b60608167ffffffffffffffff81111561093e5761093e611d3e565b60405190808252806020026020018201604052801561097157816020015b606081526020019060019003908161095c5790505b50905060005b82811015610a6c576000803086868581811061099557610995612590565b90506020028101906109a791906125d1565b6040516109b592919061261f565b600060405180830381855af49150503d80600081146109f0576040519150601f19603f3d011682016040523d82523d6000602084013e6109f5565b606091505b509150915081610a4457805115610a0f5780518082602001fd5b6040517fb774c284000000000000000000000000000000000000000000000000000000008152600481018490526024016101b2565b80848481518110610a5757610a57612590565b60209081029190910101525050600101610977565b5092915050565b610a7b61127e565b610a856000610e14565b565b610a8f61127e565b6108ab848484846112e7565b836001600160a01b0316856001600160a01b031603610ae6576040517fb9afb00000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b03861614610b0157610b013386856112f3565b610b0e858585858561139a565b5050505050565b6000610b2184336108bd565b905082811015610b5d576040517f0ef76c3500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82810361070933868360018761100c565b610b7661127e565b3415610b955760405163f36ba73760e01b815260040160405180910390fd5b610b9f828261154f565b5050565b610bab61127e565b3415610bca5760405163f36ba73760e01b815260040160405180910390fd5b8051825114610c05576040517f3bcc897900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8151600003610c40576040517f97da5f9500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b82518110156108ad57610c88838281518110610c6157610c61612590565b6020026020010151838381518110610c7b57610c7b612590565b602002602001015161154f565b600101610c43565b610c9e33848460018561100c565b60003383836040516020016108909392919061255f565b6001600160a01b038116600090815260056020526040902060609061064790611559565b6060815167ffffffffffffffff811115610cf557610cf5611d3e565b604051908082528060200260200182016040528015610d2857816020015b6060815260200190600190039081610d135790505b50905060005b8251811015610d7e57610d59838281518110610d4c57610d4c612590565b60200260200101516111dc565b828281518110610d6b57610d6b612590565b6020908102919091010152600101610d2e565b50919050565b610d8c61127e565b6001600160a01b038116610e085760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016101b2565b610e1181610e14565b50565b6000546001600160a01b03828116911614610e1157600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000828152600160205260409020610ea982826126a9565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b282604051610eda91906121bb565b60405180910390a25050565b60008080610f1e7fcee78b4094da86011096000000000000000000000000000000000000000000006001600160e01b03198616611566565b90506000610f2b826111dc565b90508051601414158015610f3f5750805115155b15610f7857806040517f42bfe79f0000000000000000000000000000000000000000000000000000000081526004016101b291906121bb565b610f8181612769565b60601c95600195509350505050565b60006001600160e01b031982167fa918fa6b0000000000000000000000000000000000000000000000000000000014806106475750610647826115d7565b600080610fe16301ffc9a760e01b610ee6565b5090506001600160a01b038116610ffb5750600092915050565b6110058184611625565b9392505050565b6001600160a01b03841661104c576040517f6355e76600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b846001600160a01b0316846001600160a01b031603611097576040517fdab7504700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0380861660009081526006602090815260408083209388168352929052208390558215611139576001600160a01b03851660009081526005602052604090206110e790856116c3565b5082856001600160a01b0316856001600160a01b03167ff772a43bfdf4729b196e3fb54a818b91a2ca6c49d10b2e16278752f9f515c25d8460405161112c91906121bb565b60405180910390a4610b0e565b6001600160a01b038516600090815260056020526040902061115b90856116d8565b50811515856001600160a01b0316856001600160a01b03167f0ebf5762d8855cbe012d2ca42fb33a81175e17c8a8751f8859931ba453bd4167846040516111a291906121bb565b60405180910390a45050505050565b610b9f827f386072cc5a58e61263b434c722725f21031cd06e7c552cfaa06db5de8a320dbc836116ed565b60008181526001602052604090208054606091906111f99061262f565b80601f01602080910402602001604051908101604052809291908181526020018280546112259061262f565b80156112725780601f1061124757610100808354040283529160200191611272565b820191906000526020600020905b81548152906001019060200180831161125557829003601f168201915b50505050509050919050565b336112916000546001600160a01b031690565b6001600160a01b031614610a855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101b2565b6108ab84848484611781565b6001600160a01b0380831660009081526006602090815260408083209387168352929052205480821115611374576040517ff3a6b6910000000000000000000000000000000000000000000000000000000081526001600160a01b0380851660048301526024820183905285166044820152606481018390526084016101b2565b6108ab838561138385856127a5565b60006040518060200160405280600081525061100c565b6001600160a01b03851615806113b757506001600160a01b038416155b156113d557604051630d2d5ec360e41b815260040160405180910390fd5b6001600160a01b03851660009081526004602052604090205480841115611441576040517f08d47949000000000000000000000000000000000000000000000000000000008152600481018290526001600160a01b0387166024820152604481018590526064016101b2565b61144d868686856108ab565b6001600160a01b038616600090815260046020526040812080548692906114759084906127a5565b90915550506001600160a01b038516600090815260046020526040812080548692906114a290849061254c565b92505081905550846001600160a01b0316866001600160a01b0316336001600160a01b03167f3997e418d2cef0b3b0e907b1e39605c3f7d32dbd061e82ea5b4a770d46a160a68787876040516114fa939291906127b8565b60405180910390a461150e868686856108ab565b600033878787866040516020016115299594939291906127d9565b604051602081830303815290604052905061154487826117fa565b610842868583611825565b610b9f8282611918565b6060600061100583611a23565b604080517fffffffffffffffffffff00000000000000000000000000000000000000000000841660208201526000602a82018190526bffffffffffffffffffffffff198416602c830152918291016040516020818303038152906040529050806115cf90612813565b949350505050565b60006001600160e01b031982167f629aa69400000000000000000000000000000000000000000000000000000000148061064757506301ffc9a760e01b6001600160e01b0319831614610647565b604080516001600160e01b03198316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166301ffc9a760e01b178152825160009392849283928392918391908a617530fa92503d915060005190508280156116ac575060208210155b80156116b85750600081115b979650505050505050565b6000611005836001600160a01b038416611a7e565b6000611005836001600160a01b038416611acd565b6117076001600160a01b038416631aed5a8560e21b611625565b156108ad57604051631aed5a8560e21b81526001600160a01b03841690636bb56a149061173a9085908590600401612837565b6000604051808303816000875af1158015611759573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108ab9190810190612850565b7f0000000000000000000000000000000000000000000000000000000000000000836117ac60035490565b6117b6919061254c565b11156117ee576040517feacbf0d100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108ab84848484611bc0565b610b9f827f429ac7a06903dbc9c13dfcb3c9d11df8194581fa047c96d7a4171fc7402958ea836116ed565b61183683631aed5a8560e21b611625565b1561188957604051631aed5a8560e21b81526001600160a01b03841690636bb56a149061173a907f20804611b3e2ea21c480dc465142210acf4a2485947541770ec1fb87dee4a55c908590600401612837565b816108ad576001600160a01b0383163b156118db576040517fa608fbb60000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024016101b2565b6040517f26c247f40000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024016101b2565b7f2145e1d6d074577dc71ef54c3807742b41b053a9352ae6b491331509acb9750f8201611971576040517f85c169bd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd0f59754f88971fe6bc5a6618cc9d5f1e859c58d16b22d1c7b2d3e2b246cd8aa82016119ca576040517f76755b3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f1fd9e056a24d14c4abc642fcc325992a946906d0dbc57dd70278aaf12842024d8201610e91576040517f4ef6d7fb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60608160000180548060200260200160405190810160405280929190818152602001828054801561127257602002820191906000526020600020905b815481526020019060010190808311611a5f5750505050509050919050565b6000818152600183016020526040812054611ac557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610647565b506000610647565b60008181526001830160205260408120548015611bb6576000611af16001836127a5565b8554909150600090611b05906001906127a5565b9050818114611b6a576000866000018281548110611b2557611b25612590565b9060005260206000200154905080876000018481548110611b4857611b48612590565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611b7b57611b7b6128be565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610647565b6000915050610647565b6001600160a01b038416611be757604051630d2d5ec360e41b815260040160405180910390fd5b611bf460008585846108ab565b8260036000828254611c06919061254c565b90915550506001600160a01b03841660009081526004602052604081208054859290611c3390849061254c565b90915550506040516001600160a01b0385169060009033907f3997e418d2cef0b3b0e907b1e39605c3f7d32dbd061e82ea5b4a770d46a160a690611c7c908890889088906127b8565b60405180910390a4611c9160008585846108ab565b6000336000868685604051602001611cad9594939291906127d9565b6040516020818303038152906040529050610b0e858483611825565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b600060208284031215611d0a57600080fd5b81356001600160e01b03198116811461100557600080fd5b80356001600160a01b0381168114611d3957600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611d7d57611d7d611d3e565b604052919050565b600067ffffffffffffffff821115611d9f57611d9f611d3e565b50601f01601f191660200190565b600082601f830112611dbe57600080fd5b8135611dd1611dcc82611d85565b611d54565b818152846020838601011115611de657600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215611e1857600080fd5b611e2184611d22565b925060208401359150604084013567ffffffffffffffff811115611e4457600080fd5b611e5086828701611dad565b9150509250925092565b600067ffffffffffffffff821115611e7457611e74611d3e565b5060051b60200190565b600082601f830112611e8f57600080fd5b81356020611e9f611dcc83611e5a565b82815260059290921b84018101918181019086841115611ebe57600080fd5b8286015b84811015611ee057611ed381611d22565b8352918301918301611ec2565b509695505050505050565b600082601f830112611efc57600080fd5b81356020611f0c611dcc83611e5a565b82815260059290921b84018101918181019086841115611f2b57600080fd5b8286015b84811015611ee05780358352918301918301611f2f565b80358015158114611d3957600080fd5b600082601f830112611f6757600080fd5b81356020611f77611dcc83611e5a565b82815260059290921b84018101918181019086841115611f9657600080fd5b8286015b84811015611ee057611fab81611f46565b8352918301918301611f9a565b600082601f830112611fc957600080fd5b81356020611fd9611dcc83611e5a565b82815260059290921b84018101918181019086841115611ff857600080fd5b8286015b84811015611ee057803567ffffffffffffffff81111561201c5760008081fd5b61202a8986838b0101611dad565b845250918301918301611ffc565b600080600080600060a0868803121561205057600080fd5b853567ffffffffffffffff8082111561206857600080fd5b61207489838a01611e7e565b9650602088013591508082111561208a57600080fd5b61209689838a01611e7e565b955060408801359150808211156120ac57600080fd5b6120b889838a01611eeb565b945060608801359150808211156120ce57600080fd5b6120da89838a01611f56565b935060808801359150808211156120f057600080fd5b506120fd88828901611fb8565b9150509295509295909350565b60008060006060848603121561211f57600080fd5b61212884611d22565b925061213660208501611f46565b9150604084013567ffffffffffffffff811115611e4457600080fd5b60006020828403121561216457600080fd5b5035919050565b60005b8381101561218657818101518382015260200161216e565b50506000910152565b600081518084526121a781602086016020860161216b565b601f01601f19169290920160200192915050565b602081526000611005602083018461218f565b600080604083850312156121e157600080fd5b6121ea83611d22565b91506121f860208401611d22565b90509250929050565b6000806020838503121561221457600080fd5b823567ffffffffffffffff8082111561222c57600080fd5b818501915085601f83011261224057600080fd5b81358181111561224f57600080fd5b8660208260051b850101111561226457600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156122cb57603f198886030184526122b985835161218f565b9450928501929085019060010161229d565b5092979650505050505050565b6000602082840312156122ea57600080fd5b61100582611d22565b6000806000806080858703121561230957600080fd5b61231285611d22565b93506020850135925061232760408601611f46565b9150606085013567ffffffffffffffff81111561234357600080fd5b61234f87828801611dad565b91505092959194509250565b600080600080600060a0868803121561237357600080fd5b61237c86611d22565b945061238a60208701611d22565b93506040860135925061239f60608701611f46565b9150608086013567ffffffffffffffff8111156123bb57600080fd5b6120fd88828901611dad565b600080604083850312156123da57600080fd5b82359150602083013567ffffffffffffffff8111156123f857600080fd5b61240485828601611dad565b9150509250929050565b6000806040838503121561242157600080fd5b823567ffffffffffffffff8082111561243957600080fd5b61244586838701611eeb565b9350602085013591508082111561245b57600080fd5b5061240485828601611fb8565b6020808252825182820181905260009190848201906040850190845b818110156124a95783516001600160a01b031683529284019291840191600101612484565b50909695505050505050565b6000602082840312156124c757600080fd5b813567ffffffffffffffff8111156124de57600080fd5b6115cf84828501611eeb565b8385823760609290921b6bffffffffffffffffffffffff1916919092019081526014810191909152603401919050565b6000825161252c81846020870161216b565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561064757610647612536565b6001600160a01b0384168152826020820152606060408201526000612587606083018461218f565b95945050505050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038416815260ff83166020820152606060408201526000612587606083018461218f565b6000808335601e198436030181126125e857600080fd5b83018035915067ffffffffffffffff82111561260357600080fd5b60200191503681900382131561261857600080fd5b9250929050565b8183823760009101908152919050565b600181811c9082168061264357607f821691505b602082108103610d7e57634e487b7160e01b600052602260045260246000fd5b601f8211156108ad57600081815260208120601f850160051c8101602086101561268a5750805b601f850160051c820191505b8181101561073b57828155600101612696565b815167ffffffffffffffff8111156126c3576126c3611d3e565b6126d7816126d1845461262f565b84612663565b602080601f83116001811461270c57600084156126f45750858301515b600019600386901b1c1916600185901b17855561073b565b600085815260208120601f198616915b8281101561273b5788860151825594840194600190910190840161271c565b50858210156127595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805160208201516bffffffffffffffffffffffff19808216929190601483101561279d5780818460140360031b1b83161693505b505050919050565b8181038181111561064757610647612536565b8381528215156020820152606060408201526000612587606083018461218f565b60006001600160a01b038088168352808716602084015280861660408401525083606083015260a060808301526116b860a083018461218f565b80516020808301519190811015610d7e5760001960209190910360031b1b16919050565b8281526040602082015260006115cf604083018461218f565b60006020828403121561286257600080fd5b815167ffffffffffffffff81111561287957600080fd5b8201601f8101841361288a57600080fd5b8051612898611dcc82611d85565b8181528560208385010111156128ad57600080fd5b61258782602083016020860161216b565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220a7cf82cb42761a5389c2b569bfd658fc9887432bec0fc0acd6b9496c2f5e7ca564736f6c63430008110033 +0x60a06040523480156200001157600080fd5b5060405162002eb738038062002eb7833981016040819052620000349162000388565b808686868686848484848484848484816001600160a01b0381166200006c576040516306b620db60e21b815260040160405180910390fd5b6200008281620001f460201b62000dd81760201c565b50620000d97feafec4d89fa9619884b60000a4d96624a38f7ac2d8d9a604ecf07c12c77e480c60001b604051806040016040528060048152602001632936598960e21b8152506200026260201b62000e5e1760201c565b620001137fdeba1e292f8ba88238e10ab3c7f88bd4be4fac56cad5194b6ecceaf653468af160001b856200026260201b62000e5e1760201c565b6200014d7f2f0a68ab07768e01943a599e73362a0e17a63a72e94dd2e384d2c1d4db93275660001b846200026260201b62000e5e1760201c565b6040805160208101839052620001a0917fe0261fa95db2eb3b5439bd033cda66d56b96f92f243a8228fd87550ed7bdfdb391016040516020818303038152906040526200026260201b62000e5e1760201c565b50506002805460ff19169315159390931790925550505060008990039750620001e496505050505050505760405163acf1d8c560e01b815260040160405180910390fd5b60805250620005d1945050505050565b6000546001600160a01b038281169116146200025f57600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0383161790555b50565b60008281526001602052604090206200027c8282620004d0565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b282604051620002af91906200059c565b60405180910390a25050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620002ee578181015183820152602001620002d4565b50506000910152565b600082601f8301126200030957600080fd5b81516001600160401b0380821115620003265762000326620002bb565b604051601f8301601f19908116603f01168101908282118183101715620003515762000351620002bb565b816040528381528660208588010111156200036b57600080fd5b6200037e846020830160208901620002d1565b9695505050505050565b60008060008060008060c08789031215620003a257600080fd5b86516001600160401b0380821115620003ba57600080fd5b620003c88a838b01620002f7565b97506020890151915080821115620003df57600080fd5b50620003ee89828a01620002f7565b604089015190965090506001600160a01b03811681146200040e57600080fd5b60608801516080890151919550935080151581146200042c57600080fd5b8092505060a087015190509295509295509295565b600181811c908216806200045657607f821691505b6020821081036200047757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004cb57600081815260208120601f850160051c81016020861015620004a65750805b601f850160051c820191505b81811015620004c757828155600101620004b2565b5050505b505050565b81516001600160401b03811115620004ec57620004ec620002bb565b6200050481620004fd845462000441565b846200047d565b602080601f8311600181146200053c5760008415620005235750858301515b600019600386901b1c1916600185901b178555620004c7565b600085815260208120601f198616915b828110156200056d578886015182559484019460019091019084016200054c565b50858210156200058c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260008251806020840152620005bd816040850160208701620002d1565b601f01601f19169190910160400192915050565b6080516128c3620005f46000396000818161031a015261173c01526128c36000f3fe6080604052600436106101795760003560e01c8063715018a6116100cb5780638da5cb5b1161007f578063d72fc29a11610059578063d72fc29a146104d1578063dedff9c6146104fe578063f2fde38b1461051e576101ed565b80638da5cb5b14610476578063979024211461049e578063b49506fd146104b1576101ed565b8063760d9bba116100b0578063760d9bba146104235780637b204c4e146104435780637f23690c14610463576101ed565b8063715018a6146103ee5780637580d92014610403576101ed565b80634521748e1161012d57806365aeaa951161010757806365aeaa951461036b5780636963d4381461038b57806370a08231146103b8576101ed565b80634521748e146102eb57806352058d8a1461030b57806354f6127f1461033e576101ed565b80632bc1da821161015e5780632bc1da82146102825780632d7667c9146102a4578063313ce567146102c4576101ed565b806301ffc9a71461022e57806318160ddd14610263576101ed565b366101ed57346000036101bb5760405163e5099ee360e01b81526004016101b29060208082526004908201526000604082015260600190565b60405180910390fd5b6040517f388f5adc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000366060600482101561021857828260405163e5099ee360e01b81526004016101b2929190611c82565b610222838361053e565b80519350602001915050f35b34801561023a57600080fd5b5061024e610249366004611cb1565b61064d565b60405190151581526020015b60405180910390f35b34801561026f57600080fd5b506003545b60405190815260200161025a565b34801561028e57600080fd5b506102a261029d366004611dbc565b61069a565b005b3480156102b057600080fd5b506102a26102bf366004611ff1565b610743565b3480156102d057600080fd5b506102d961084b565b60405160ff909116815260200161025a565b3480156102f757600080fd5b506102a26103063660046120c3565b610864565b34801561031757600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610274565b34801561034a57600080fd5b5061035e61035936600461210b565b6108b2565b60405161025a9190612174565b34801561037757600080fd5b50610274610386366004612187565b6108bd565b34801561039757600080fd5b506103ab6103a63660046121ba565b610923565b60405161025a919061222f565b3480156103c457600080fd5b506102746103d3366004612291565b6001600160a01b031660009081526004602052604090205490565b3480156103fa57600080fd5b506102a2610a73565b34801561040f57600080fd5b506102a261041e3660046122ac565b610a87565b34801561042f57600080fd5b506102a261043e366004612314565b610a9b565b34801561044f57600080fd5b506102a261045e366004611dbc565b610b15565b6102a2610471366004612380565b610b6e565b34801561048257600080fd5b506000546040516001600160a01b03909116815260200161025a565b6102a26104ac3660046123c7565b610ba3565b3480156104bd57600080fd5b506102a26104cc366004611dbc565b610c90565b3480156104dd57600080fd5b506104f16104ec366004612291565b610cb5565b60405161025a9190612421565b34801561050a57600080fd5b506103ab61051936600461246e565b610cd9565b34801561052a57600080fd5b506102a2610539366004612291565b610d84565b606060006105576000356001600160e01b031916610eb3565b5090506001600160a01b0381166105a8576040517fbb370b2b0000000000000000000000000000000000000000000000000000000081526001600160e01b03196000351660048201526024016101b2565b600080826001600160a01b031634878733346040516020016105cd94939291906124a3565b60408051601f19818403018152908290526105e7916124d3565b60006040518083038185875af1925050503d8060008114610624576040519150601f19603f3d011682016040523d82523d6000602084013e610629565b606091505b5091509150811561063e579250610647915050565b80518060208301fd5b92915050565b60006001600160e01b031982167fb3c4928f00000000000000000000000000000000000000000000000000000000148061068b575061068b82610f5d565b80610647575061064782610f9b565b60006106a684336108bd565b9050806000036106ed576040517fcba6e9770000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024016101b2565b60006106f98483612505565b9050610709338683600187610fd9565b600033828560405160200161072093929190612518565b604051602081830303815290604052905061073b868261117e565b505050505050565b8451845181141580610756575083518114155b80610762575082518114155b8061076e575081518114155b156107a5576040517f263eee8d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156108425761083a8782815181106107c5576107c5612549565b60200260200101518783815181106107df576107df612549565b60200260200101518784815181106107f9576107f9612549565b602002602001015187858151811061081357610813612549565b602002602001015187868151811061082d5761082d612549565b6020026020010151610a9b565b6001016107a8565b50505050505050565b60025460009060ff1661085e5750601290565b50600090565b610872338460008585610fd9565b81156108ad576000336000836040516020016108909392919061255f565b60405160208183030381529060405290506108ab848261117e565b505b505050565b6060610647826111a9565b6000826001600160a01b0316826001600160a01b0316036108f757506001600160a01b038116600090815260046020526040902054610647565b506001600160a01b03808216600090815260066020908152604080832093861683529290522054610647565b60608167ffffffffffffffff81111561093e5761093e611cf7565b60405190808252806020026020018201604052801561097157816020015b606081526020019060019003908161095c5790505b50905060005b82811015610a6c576000803086868581811061099557610995612549565b90506020028101906109a7919061258a565b6040516109b59291906125d8565b600060405180830381855af49150503d80600081146109f0576040519150601f19603f3d011682016040523d82523d6000602084013e6109f5565b606091505b509150915081610a4457805115610a0f5780518082602001fd5b6040517fb774c284000000000000000000000000000000000000000000000000000000008152600481018490526024016101b2565b80848481518110610a5757610a57612549565b60209081029190910101525050600101610977565b5092915050565b610a7b61124b565b610a856000610dd8565b565b610a8f61124b565b6108ab848484846112a0565b836001600160a01b0316856001600160a01b031603610ae6576040517fb9afb00000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b03861614610b0157610b013386856112ac565b610b0e8585858585611353565b5050505050565b6000610b2184336108bd565b905082811015610b5d576040517f0ef76c3500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b828103610709338683600187610fd9565b610b7661124b565b3415610b955760405163f36ba73760e01b815260040160405180910390fd5b610b9f8282611508565b5050565b610bab61124b565b3415610bca5760405163f36ba73760e01b815260040160405180910390fd5b8051825114610c05576040517f3bcc897900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8151600003610c40576040517f97da5f9500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b82518110156108ad57610c88838281518110610c6157610c61612549565b6020026020010151838381518110610c7b57610c7b612549565b6020026020010151611508565b600101610c43565b610c9e338484600185610fd9565b600033838360405160200161089093929190612518565b6001600160a01b038116600090815260056020526040902060609061064790611512565b6060815167ffffffffffffffff811115610cf557610cf5611cf7565b604051908082528060200260200182016040528015610d2857816020015b6060815260200190600190039081610d135790505b50905060005b8251811015610d7e57610d59838281518110610d4c57610d4c612549565b60200260200101516111a9565b828281518110610d6b57610d6b612549565b6020908102919091010152600101610d2e565b50919050565b610d8c61124b565b6001600160a01b038116610dcc576040517f1ad8836c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dd581610dd8565b50565b6000546001600160a01b03828116911614610dd557600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0383167fffffffffffffffffffffffff000000000000000000000000000000000000000090911617905550565b6000828152600160205260409020610e768282612662565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b282604051610ea79190612174565b60405180910390a25050565b60008080610eeb7fcee78b4094da86011096000000000000000000000000000000000000000000006001600160e01b0319861661151f565b90506000610ef8826111a9565b90508051601414158015610f0c5750805115155b15610f4557806040517f42bfe79f0000000000000000000000000000000000000000000000000000000081526004016101b29190612174565b610f4e81612722565b60601c95600195509350505050565b60006001600160e01b031982167fa918fa6b000000000000000000000000000000000000000000000000000000001480610647575061064782611590565b600080610fae6301ffc9a760e01b610eb3565b5090506001600160a01b038116610fc85750600092915050565b610fd281846115de565b9392505050565b6001600160a01b038416611019576040517f6355e76600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b846001600160a01b0316846001600160a01b031603611064576040517fdab7504700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0380861660009081526006602090815260408083209388168352929052208390558215611106576001600160a01b03851660009081526005602052604090206110b4908561167c565b5082856001600160a01b0316856001600160a01b03167ff772a43bfdf4729b196e3fb54a818b91a2ca6c49d10b2e16278752f9f515c25d846040516110f99190612174565b60405180910390a4610b0e565b6001600160a01b03851660009081526005602052604090206111289085611691565b50811515856001600160a01b0316856001600160a01b03167f0ebf5762d8855cbe012d2ca42fb33a81175e17c8a8751f8859931ba453bd41678460405161116f9190612174565b60405180910390a45050505050565b610b9f827f386072cc5a58e61263b434c722725f21031cd06e7c552cfaa06db5de8a320dbc836116a6565b60008181526001602052604090208054606091906111c6906125e8565b80601f01602080910402602001604051908101604052809291908181526020018280546111f2906125e8565b801561123f5780601f106112145761010080835404028352916020019161123f565b820191906000526020600020905b81548152906001019060200180831161122257829003601f168201915b50505050509050919050565b3361125e6000546001600160a01b031690565b6001600160a01b031614610a85576040517fbf1169c50000000000000000000000000000000000000000000000000000000081523360048201526024016101b2565b6108ab8484848461173a565b6001600160a01b038083166000908152600660209081526040808320938716835292905220548082111561132d576040517ff3a6b6910000000000000000000000000000000000000000000000000000000081526001600160a01b0380851660048301526024820183905285166044820152606481018390526084016101b2565b6108ab838561133c858561275e565b600060405180602001604052806000815250610fd9565b6001600160a01b038516158061137057506001600160a01b038416155b1561138e57604051630d2d5ec360e41b815260040160405180910390fd5b6001600160a01b038516600090815260046020526040902054808411156113fa576040517f08d47949000000000000000000000000000000000000000000000000000000008152600481018290526001600160a01b0387166024820152604481018590526064016101b2565b611406868686856108ab565b6001600160a01b0386166000908152600460205260408120805486929061142e90849061275e565b90915550506001600160a01b0385166000908152600460205260408120805486929061145b908490612505565b92505081905550846001600160a01b0316866001600160a01b0316336001600160a01b03167f3997e418d2cef0b3b0e907b1e39605c3f7d32dbd061e82ea5b4a770d46a160a68787876040516114b393929190612771565b60405180910390a46114c7868686856108ab565b600033878787866040516020016114e2959493929190612792565b60405160208183030381529060405290506114fd87826117b3565b6108428685836117de565b610b9f82826118d1565b60606000610fd2836119dc565b604080517fffffffffffffffffffff00000000000000000000000000000000000000000000841660208201526000602a82018190526bffffffffffffffffffffffff198416602c83015291829101604051602081830303815290604052905080611588906127cc565b949350505050565b60006001600160e01b031982167f629aa69400000000000000000000000000000000000000000000000000000000148061064757506301ffc9a760e01b6001600160e01b0319831614610647565b604080516001600160e01b03198316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166301ffc9a760e01b178152825160009392849283928392918391908a617530fa92503d91506000519050828015611665575060208210155b80156116715750600081115b979650505050505050565b6000610fd2836001600160a01b038416611a37565b6000610fd2836001600160a01b038416611a86565b6116c06001600160a01b038416631aed5a8560e21b6115de565b156108ad57604051631aed5a8560e21b81526001600160a01b03841690636bb56a14906116f390859085906004016127f0565b6000604051808303816000875af1158015611712573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108ab9190810190612809565b7f00000000000000000000000000000000000000000000000000000000000000008361176560035490565b61176f9190612505565b11156117a7576040517feacbf0d100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108ab84848484611b79565b610b9f827f429ac7a06903dbc9c13dfcb3c9d11df8194581fa047c96d7a4171fc7402958ea836116a6565b6117ef83631aed5a8560e21b6115de565b1561184257604051631aed5a8560e21b81526001600160a01b03841690636bb56a14906116f3907f20804611b3e2ea21c480dc465142210acf4a2485947541770ec1fb87dee4a55c9085906004016127f0565b816108ad576001600160a01b0383163b15611894576040517fa608fbb60000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024016101b2565b6040517f26c247f40000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024016101b2565b7f2145e1d6d074577dc71ef54c3807742b41b053a9352ae6b491331509acb9750f820161192a576040517f85c169bd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd0f59754f88971fe6bc5a6618cc9d5f1e859c58d16b22d1c7b2d3e2b246cd8aa8201611983576040517f76755b3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f1fd9e056a24d14c4abc642fcc325992a946906d0dbc57dd70278aaf12842024d8201610e5e576040517f4ef6d7fb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60608160000180548060200260200160405190810160405280929190818152602001828054801561123f57602002820191906000526020600020905b815481526020019060010190808311611a185750505050509050919050565b6000818152600183016020526040812054611a7e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610647565b506000610647565b60008181526001830160205260408120548015611b6f576000611aaa60018361275e565b8554909150600090611abe9060019061275e565b9050818114611b23576000866000018281548110611ade57611ade612549565b9060005260206000200154905080876000018481548110611b0157611b01612549565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611b3457611b34612877565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610647565b6000915050610647565b6001600160a01b038416611ba057604051630d2d5ec360e41b815260040160405180910390fd5b611bad60008585846108ab565b8260036000828254611bbf9190612505565b90915550506001600160a01b03841660009081526004602052604081208054859290611bec908490612505565b90915550506040516001600160a01b0385169060009033907f3997e418d2cef0b3b0e907b1e39605c3f7d32dbd061e82ea5b4a770d46a160a690611c3590889088908890612771565b60405180910390a4611c4a60008585846108ab565b6000336000868685604051602001611c66959493929190612792565b6040516020818303038152906040529050610b0e8584836117de565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b600060208284031215611cc357600080fd5b81356001600160e01b031981168114610fd257600080fd5b80356001600160a01b0381168114611cf257600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611d3657611d36611cf7565b604052919050565b600067ffffffffffffffff821115611d5857611d58611cf7565b50601f01601f191660200190565b600082601f830112611d7757600080fd5b8135611d8a611d8582611d3e565b611d0d565b818152846020838601011115611d9f57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215611dd157600080fd5b611dda84611cdb565b925060208401359150604084013567ffffffffffffffff811115611dfd57600080fd5b611e0986828701611d66565b9150509250925092565b600067ffffffffffffffff821115611e2d57611e2d611cf7565b5060051b60200190565b600082601f830112611e4857600080fd5b81356020611e58611d8583611e13565b82815260059290921b84018101918181019086841115611e7757600080fd5b8286015b84811015611e9957611e8c81611cdb565b8352918301918301611e7b565b509695505050505050565b600082601f830112611eb557600080fd5b81356020611ec5611d8583611e13565b82815260059290921b84018101918181019086841115611ee457600080fd5b8286015b84811015611e995780358352918301918301611ee8565b80358015158114611cf257600080fd5b600082601f830112611f2057600080fd5b81356020611f30611d8583611e13565b82815260059290921b84018101918181019086841115611f4f57600080fd5b8286015b84811015611e9957611f6481611eff565b8352918301918301611f53565b600082601f830112611f8257600080fd5b81356020611f92611d8583611e13565b82815260059290921b84018101918181019086841115611fb157600080fd5b8286015b84811015611e9957803567ffffffffffffffff811115611fd55760008081fd5b611fe38986838b0101611d66565b845250918301918301611fb5565b600080600080600060a0868803121561200957600080fd5b853567ffffffffffffffff8082111561202157600080fd5b61202d89838a01611e37565b9650602088013591508082111561204357600080fd5b61204f89838a01611e37565b9550604088013591508082111561206557600080fd5b61207189838a01611ea4565b9450606088013591508082111561208757600080fd5b61209389838a01611f0f565b935060808801359150808211156120a957600080fd5b506120b688828901611f71565b9150509295509295909350565b6000806000606084860312156120d857600080fd5b6120e184611cdb565b92506120ef60208501611eff565b9150604084013567ffffffffffffffff811115611dfd57600080fd5b60006020828403121561211d57600080fd5b5035919050565b60005b8381101561213f578181015183820152602001612127565b50506000910152565b60008151808452612160816020860160208601612124565b601f01601f19169290920160200192915050565b602081526000610fd26020830184612148565b6000806040838503121561219a57600080fd5b6121a383611cdb565b91506121b160208401611cdb565b90509250929050565b600080602083850312156121cd57600080fd5b823567ffffffffffffffff808211156121e557600080fd5b818501915085601f8301126121f957600080fd5b81358181111561220857600080fd5b8660208260051b850101111561221d57600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561228457603f19888603018452612272858351612148565b94509285019290850190600101612256565b5092979650505050505050565b6000602082840312156122a357600080fd5b610fd282611cdb565b600080600080608085870312156122c257600080fd5b6122cb85611cdb565b9350602085013592506122e060408601611eff565b9150606085013567ffffffffffffffff8111156122fc57600080fd5b61230887828801611d66565b91505092959194509250565b600080600080600060a0868803121561232c57600080fd5b61233586611cdb565b945061234360208701611cdb565b93506040860135925061235860608701611eff565b9150608086013567ffffffffffffffff81111561237457600080fd5b6120b688828901611d66565b6000806040838503121561239357600080fd5b82359150602083013567ffffffffffffffff8111156123b157600080fd5b6123bd85828601611d66565b9150509250929050565b600080604083850312156123da57600080fd5b823567ffffffffffffffff808211156123f257600080fd5b6123fe86838701611ea4565b9350602085013591508082111561241457600080fd5b506123bd85828601611f71565b6020808252825182820181905260009190848201906040850190845b818110156124625783516001600160a01b03168352928401929184019160010161243d565b50909695505050505050565b60006020828403121561248057600080fd5b813567ffffffffffffffff81111561249757600080fd5b61158884828501611ea4565b8385823760609290921b6bffffffffffffffffffffffff1916919092019081526014810191909152603401919050565b600082516124e5818460208701612124565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610647576106476124ef565b6001600160a01b03841681528260208201526060604082015260006125406060830184612148565b95945050505050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038416815260ff831660208201526060604082015260006125406060830184612148565b6000808335601e198436030181126125a157600080fd5b83018035915067ffffffffffffffff8211156125bc57600080fd5b6020019150368190038213156125d157600080fd5b9250929050565b8183823760009101908152919050565b600181811c908216806125fc57607f821691505b602082108103610d7e57634e487b7160e01b600052602260045260246000fd5b601f8211156108ad57600081815260208120601f850160051c810160208610156126435750805b601f850160051c820191505b8181101561073b5782815560010161264f565b815167ffffffffffffffff81111561267c5761267c611cf7565b6126908161268a84546125e8565b8461261c565b602080601f8311600181146126c557600084156126ad5750858301515b600019600386901b1c1916600185901b17855561073b565b600085815260208120601f198616915b828110156126f4578886015182559484019460019091019084016126d5565b50858210156127125787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805160208201516bffffffffffffffffffffffff1980821692919060148310156127565780818460140360031b1b83161693505b505050919050565b81810381811115610647576106476124ef565b83815282151560208201526060604082015260006125406060830184612148565b60006001600160a01b038088168352808716602084015280861660408401525083606083015260a0608083015261167160a0830184612148565b80516020808301519190811015610d7e5760001960209190910360031b1b16919050565b8281526040602082015260006115886040830184612148565b60006020828403121561281b57600080fd5b815167ffffffffffffffff81111561283257600080fd5b8201601f8101841361284357600080fd5b8051612851611d8582611d3e565b81815285602083850101111561286657600080fd5b612540826020830160208601612124565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220ba42dccdcedf262fc89271da116d0bd5de0ee9b36a0d9d54b836b091b093dc6464736f6c63430008110033 diff --git a/artifacts/bytecode/assets/lsp8/MintableIdentifiableDigitalAsset.bin b/artifacts/bytecode/assets/lsp8/MintableIdentifiableDigitalAsset.bin index a4cd86c..734f191 100644 --- a/artifacts/bytecode/assets/lsp8/MintableIdentifiableDigitalAsset.bin +++ b/artifacts/bytecode/assets/lsp8/MintableIdentifiableDigitalAsset.bin @@ -1 +1 @@ -0x60a06040523480156200001157600080fd5b50604051620037d9380380620037d98339810160408190526200003491620004e0565b808686868686848484848484848484816001600160a01b038116620000ae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840160405180910390fd5b620000c4816200027560201b620011991760201c565b506200011b7feafec4d89fa9619884b60000a4d96624a38f7ac2d8d9a604ecf07c12c77e480c60001b604051806040016040528060048152602001632936598960e21b815250620002dc60201b6200120b1760201c565b620001557fdeba1e292f8ba88238e10ab3c7f88bd4be4fac56cad5194b6ecceaf653468af160001b85620002dc60201b6200120b1760201c565b6200018f7f2f0a68ab07768e01943a599e73362a0e17a63a72e94dd2e384d2c1d4db93275660001b84620002dc60201b6200120b1760201c565b6040805160208101839052620001e2917fe0261fa95db2eb3b5439bd033cda66d56b96f92f243a8228fd87550ed7bdfdb39101604051602081830303815290604052620002dc60201b6200120b1760201c565b505060408051602081018590526200023993507f341bc44e55234544c70af9d37b2cb8cc7ba74685b58526221de2cc977f4699249250016040516020818303038152906040526200033560201b620012601760201c565b5050505050505050505080600003620002655760405163038d9fc360e41b815260040160405180910390fd5b6080525062000719945050505050565b6000546001600160a01b03828116911614620002d957600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a3505b50565b6000828152600160205260409020620002f6828262000618565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b282604051620003299190620006e4565b60405180910390a25050565b6200034c82826200035060201b620012661760201c565b5050565b7f2145e1d6d074577dc71ef54c3807742b41b053a9352ae6b491331509acb9750f820162000391576040516385c169bd60e01b815260040160405180910390fd5b7fd0f59754f88971fe6bc5a6618cc9d5f1e859c58d16b22d1c7b2d3e2b246cd8aa8201620003d257604051630eceab6760e31b815260040160405180910390fd5b7f1fd9e056a24d14c4abc642fcc325992a946906d0dbc57dd70278aaf12842024d8201620002dc57604051634ef6d7fb60e01b815260040160405180910390fd5b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004465781810151838201526020016200042c565b50506000910152565b600082601f8301126200046157600080fd5b81516001600160401b03808211156200047e576200047e62000413565b604051601f8301601f19908116603f01168101908282118183101715620004a957620004a962000413565b81604052838152866020858801011115620004c357600080fd5b620004d684602083016020890162000429565b9695505050505050565b60008060008060008060c08789031215620004fa57600080fd5b86516001600160401b03808211156200051257600080fd5b620005208a838b016200044f565b975060208901519150808211156200053757600080fd5b506200054689828a016200044f565b604089015190965090506001600160a01b03811681146200056657600080fd5b80945050606087015192506080870151915060a087015190509295509295509295565b600181811c908216806200059e57607f821691505b602082108103620005bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200061357600081815260208120601f850160051c81016020861015620005ee5750805b601f850160051c820191505b818110156200060f57828155600101620005fa565b5050505b505050565b81516001600160401b0381111562000634576200063462000413565b6200064c8162000645845462000589565b84620005c5565b602080601f8311600181146200068457600084156200066b5750858301515b600019600386901b1c1916600185901b1785556200060f565b600085815260208120601f198616915b82811015620006b55788860151825594840194600190910190840162000694565b5085821015620006d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208152600082518060208401526200070581604085016020870162000429565b601f01601f19169190910160400192915050565b60805161309d6200073c600039600081816103840152611f3d015261309d6000f3fe6080604052600436106101a55760003560e01c80637f23690c116100e1578063ae0646d71161008a578063db8c966311610064578063db8c966314610575578063dedff9c614610595578063e7bb5942146105b5578063f2fde38b146105d557610219565b8063ae0646d714610515578063af255b6114610535578063c797c7771461055557610219565b806392a91a3a116100bb57806392a91a3a146104a857806397902421146104d5578063a3b261f2146104e857610219565b80637f23690c1461045757806386a10ddd1461046a5780638da5cb5b1461048a57610219565b8063511b69521161014e5780636963d438116101285780636963d438146103d557806370a0823114610402578063715018a6146104225780637e87632c1461043757610219565b8063511b69521461035557806352058d8a1461037557806354f6127f146103a857610219565b80632a3654a41161017f5780632a3654a4146102e65780633b38c1d71461030657806349a6078d1461032857610219565b806301ffc9a71461025a57806318160ddd1461028f578063217b2270146102ae57610219565b3661021957346000036101e75760405163e5099ee360e01b81526004016101de9060208082526004908201526000604082015260600190565b60405180910390fd5b6040517f61f4944200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000366060600482101561024457828260405163e5099ee360e01b81526004016101de92919061231d565b61024e83836105f5565b80519350602001915050f35b34801561026657600080fd5b5061027a61027536600461234c565b610704565b60405190151581526020015b60405180910390f35b34801561029b57600080fd5b506002545b604051908152602001610286565b3480156102ba57600080fd5b506102ce6102c9366004612376565b610751565b6040516001600160a01b039091168152602001610286565b3480156102f257600080fd5b5061027a6103013660046123ab565b61078a565b34801561031257600080fd5b5061032661032136600461249a565b6107a6565b005b34801561033457600080fd5b50610348610343366004612376565b6107be565b60405161028691906124ea565b34801561036157600080fd5b50610326610370366004612547565b6107e0565b34801561038157600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006102a0565b3480156103b457600080fd5b506103c86103c3366004612376565b61083d565b6040516102869190612610565b3480156103e157600080fd5b506103f56103f0366004612623565b610848565b6040516102869190612698565b34801561040e57600080fd5b506102a061041d3660046126fa565b610998565b34801561042e57600080fd5b506103266109b9565b34801561044357600080fd5b506103266104523660046128e3565b6109cd565b6103266104653660046129a8565b610ad5565b34801561047657600080fd5b506103266104853660046129ef565b610b0a565b34801561049657600080fd5b506000546001600160a01b03166102ce565b3480156104b457600080fd5b506102a06104c3366004612376565b60009081526007602052604090205490565b6103266104e3366004612a30565b610c9d565b3480156104f457600080fd5b506105086105033660046126fa565b610d8a565b6040516102869190612a8a565b34801561052157600080fd5b50610326610530366004612ac2565b610dae565b34801561054157600080fd5b50610326610550366004612b40565b610eab565b34801561056157600080fd5b506103f5610570366004612ba8565b610ebf565b34801561058157600080fd5b50610326610590366004612b40565b610f7e565b3480156105a157600080fd5b506103f56105b0366004612c02565b611052565b3480156105c157600080fd5b506103c86105d0366004612c37565b6110fd565b3480156105e157600080fd5b506103266105f03660046126fa565b611109565b6060600061060e6000356001600160e01b031916611371565b5090506001600160a01b03811661065f576040517fbb370b2b0000000000000000000000000000000000000000000000000000000081526001600160e01b03196000351660048201526024016101de565b600080826001600160a01b031634878733346040516020016106849493929190612c59565b60408051601f198184030181529082905261069e91612c89565b60006040518083038185875af1925050503d80600081146106db576040519150601f19603f3d011682016040523d82523d6000602084013e6106e0565b606091505b509150915081156106f55792506106fe915050565b80518060208301fd5b92915050565b60006001600160e01b031982167fecad9f7500000000000000000000000000000000000000000000000000000000148061074257506107428261141b565b806106fe57506106fe82611459565b6000818152600360205260408120546001600160a01b0316806106fe57604051635747cd1b60e11b8152600481018490526024016101de565b600061079582611490565b61079f83836114c8565b9392505050565b6107ae611505565b6107b983838361156e565b505050565b60606107c982611490565b60008281526005602052604090206106fe906115fe565b6107ea33846114c8565b610829576040517f1294d2a9000000000000000000000000000000000000000000000000000000008152600481018490523360248201526044016101de565b610836858585858561160b565b5050505050565b60606106fe826117f9565b60608167ffffffffffffffff811115610863576108636123d5565b60405190808252806020026020018201604052801561089657816020015b60608152602001906001900390816108815790505b50905060005b8281101561099157600080308686858181106108ba576108ba612ca5565b90506020028101906108cc9190612cbb565b6040516108da929190612d09565b600060405180830381855af49150503d8060008114610915576040519150601f19603f3d011682016040523d82523d6000602084013e61091a565b606091505b509150915081610969578051156109345780518082602001fd5b6040517f234eb819000000000000000000000000000000000000000000000000000000008152600481018490526024016101de565b8084848151811061097c5761097c612ca5565b6020908102919091010152505060010161089c565b5092915050565b6001600160a01b03811660009081526004602052604081206106fe9061189b565b6109c1611505565b6109cb6000611199565b565b84518451811415806109e0575083518114155b806109ec575082518114155b806109f8575081518114155b15610a2f576040517f93a8311900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610acc57610ac4878281518110610a4f57610a4f612ca5565b6020026020010151878381518110610a6957610a69612ca5565b6020026020010151878481518110610a8357610a83612ca5565b6020026020010151878581518110610a9d57610a9d612ca5565b6020026020010151878681518110610ab757610ab7612ca5565b60200260200101516107e0565b600101610a32565b50505050505050565b610add611505565b3415610afc5760405163f36ba73760e01b815260040160405180910390fd5b610b0682826118a5565b5050565b6000610b1583610751565b90506001600160a01b0381163314610b5857604051632d938f5160e11b81526001600160a01b0382166004820152602481018490523360448201526064016101de565b6001600160a01b038416610b7f57604051639577b8b360e01b815260040160405180910390fd5b836001600160a01b0316816001600160a01b031603610bb1576040516344fed6b160e11b815260040160405180910390fd5b6000838152600560205260408120610bc99086611908565b905080610c14576040517fa7626b680000000000000000000000000000000000000000000000000000000081526001600160a01b0386166004820152602481018590526044016101de565b83826001600160a01b0316866001600160a01b03167f1b1b58aa2ec0cec2228b2d37124556d41f5a1f7b12f089171f896cc23667121586604051610c589190612610565b60405180910390a460003385600186604051602001610c7a9493929190612d19565b6040516020818303038152906040529050610c95868261191d565b505050505050565b610ca5611505565b3415610cc45760405163f36ba73760e01b815260040160405180910390fd5b8051825114610cff576040517f3bcc897900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8151600003610d3a576040517f97da5f9500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b82518110156107b957610d82838281518110610d5b57610d5b612ca5565b6020026020010151838381518110610d7557610d75612ca5565b60200260200101516118a5565b600101610d3d565b6001600160a01b03811660009081526004602052604090206060906106fe906115fe565b610db6611505565b81518351141580610dc957508051825114155b15610e00576040517f2fa71dfe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8251600003610e3b576040517f80c9830500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8351811015610ea557610e9d848281518110610e5c57610e5c612ca5565b6020026020010151848381518110610e7657610e76612ca5565b6020026020010151848481518110610e9057610e90612ca5565b602002602001015161156e565b600101610e3e565b50505050565b610eb3611505565b610ea584848484611948565b6060825167ffffffffffffffff811115610edb57610edb6123d5565b604051908082528060200260200182016040528015610f0e57816020015b6060815260200190600190039081610ef95790505b50905060005b835181101561099157610f59848281518110610f3257610f32612ca5565b6020026020010151848381518110610f4c57610f4c612ca5565b6020026020010151611954565b828281518110610f6b57610f6b612ca5565b6020908102919091010152600101610f14565b6000610f8984610751565b90506001600160a01b0381163314610fcc57604051632d938f5160e11b81526001600160a01b0382166004820152602481018590523360448201526064016101de565b6001600160a01b038516610ff357604051639577b8b360e01b815260040160405180910390fd5b846001600160a01b0316816001600160a01b031603611025576040516344fed6b160e11b815260040160405180910390fd5b6110328582868686611a2b565b82156108365760003385600085604051602001610c7a9493929190612d19565b6060815167ffffffffffffffff81111561106e5761106e6123d5565b6040519080825280602002602001820160405280156110a157816020015b606081526020019060019003908161108c5790505b50905060005b82518110156110f7576110d28382815181106110c5576110c5612ca5565b60200260200101516117f9565b8282815181106110e4576110e4612ca5565b60209081029190910101526001016110a7565b50919050565b606061079f8383611954565b611111611505565b6001600160a01b03811661118d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016101de565b61119681611199565b50565b6000546001600160a01b0382811691161461119657600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008281526001602052604090206112238282612dcd565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b2826040516112549190612610565b60405180910390a25050565b610b0682825b7f2145e1d6d074577dc71ef54c3807742b41b053a9352ae6b491331509acb9750f82016112bf576040517f85c169bd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd0f59754f88971fe6bc5a6618cc9d5f1e859c58d16b22d1c7b2d3e2b246cd8aa8201611318576040517f76755b3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f1fd9e056a24d14c4abc642fcc325992a946906d0dbc57dd70278aaf12842024d820161120b576040517f4ef6d7fb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080806113a97fcee78b4094da86011096000000000000000000000000000000000000000000006001600160e01b03198616611ae4565b905060006113b6826117f9565b905080516014141580156113ca5750805115155b1561140357806040517f42bfe79f0000000000000000000000000000000000000000000000000000000081526004016101de9190612610565b61140c81612e8d565b60601c95600195509350505050565b60006001600160e01b031982167fa918fa6b0000000000000000000000000000000000000000000000000000000014806106fe57506106fe82611b55565b60008061146c6301ffc9a760e01b611371565b5090506001600160a01b0381166114865750600092915050565b61079f8184611ba3565b6000818152600360205260409020546001600160a01b031661119657604051635747cd1b60e11b8152600481018290526024016101de565b60006114d382610751565b6001600160a01b0316836001600160a01b0316148061079f5750600082815260056020526040902061079f9084611c41565b336115186000546001600160a01b031690565b6001600160a01b0316146109cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101de565b8060016000858560405160200161158f929190918252602082015260400190565b60405160208183030381529060405280519060200120815260200190815260200160002090816115bf9190612dcd565b5081837fa6e4251f855f750545fe414f120db91c76b88def14d120969e5bb2d3f05debbb836040516115f19190612610565b60405180910390a3505050565b6060600061079f83611c63565b836001600160a01b0316856001600160a01b031603611656576040517f5d67d6c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061166184610751565b9050856001600160a01b0316816001600160a01b0316146116af57604051632d938f5160e11b81526001600160a01b03808316600483015260248201869052871660448201526064016101de565b6001600160a01b0385166116d6576040516324ecef4d60e01b815260040160405180910390fd5b6116e286868685611cbe565b6116eb84610751565b90506116f78685611cca565b6001600160a01b03861660009081526004602052604090206117199085611d22565b506001600160a01b038516600090815260046020526040902061173c9085611d2e565b5060008481526003602052604090819020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0388811691821790925591518692918916907fb333c813a7426a7a11e2b190cad52c44119421594b47f6f32ace6d8c7207b2bf906117b090339089908990612ec9565b60405180910390a4600033878787866040516020016117d3959493929190612efc565b60405160208183030381529060405290506117ee8782611d3a565b610acc868583611d65565b600081815260016020526040902080546060919061181690612d53565b80601f016020809104026020016040519081016040528092919081815260200182805461184290612d53565b801561188f5780601f106118645761010080835404028352916020019161188f565b820191906000526020600020905b81548152906001019060200180831161187257829003601f168201915b50505050509050919050565b60006106fe825490565b7fcbe43bb1aadcbabb38f5062c84d347338458b97a4a7ad9dde21d336880b966dc82016118fe576040517fce0c755200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b068282611260565b600061079f836001600160a01b038416611e9f565b610b06827f8a1c15a8799f71b547e08e2bcb2e85257e81b0a07eee2ce6712549eef1f0097083611eee565b610ea584848484611f3b565b6060600160008484604051602001611976929190918252602082015260400190565b60405160208183030381529060405280519060200120815260200190815260200160002080546119a590612d53565b80601f01602080910402602001604051908101604052809291908181526020018280546119d190612d53565b8015611a1e5780601f106119f357610100808354040283529160200191611a1e565b820191906000526020600020905b815481529060010190602001808311611a0157829003601f168201915b5050505050905092915050565b6000838152600560205260408120611a439087611fae565b905080611a8e576040517f4aa31a8c0000000000000000000000000000000000000000000000000000000081526001600160a01b0387166004820152602481018590526044016101de565b83856001600160a01b0316876001600160a01b03167fc78cd419d6136f9f1c1c6aec1d3fae098cffaf8bc86314a8f2685e32fe574e3c8686604051611ad4929190612f36565b60405180910390a4505050505050565b604080517fffffffffffffffffffff00000000000000000000000000000000000000000000841660208201526000602a82018190526bffffffffffffffffffffffff198416602c83015291829101604051602081830303815290604052905080611b4d90612f51565b949350505050565b60006001600160e01b031982167f629aa6940000000000000000000000000000000000000000000000000000000014806106fe57506301ffc9a760e01b6001600160e01b03198316146106fe565b604080516001600160e01b03198316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166301ffc9a760e01b178152825160009392849283928392918391908a617530fa92503d91506000519050828015611c2a575060208210155b8015611c365750600081115b979650505050505050565b6001600160a01b0381166000908152600183016020526040812054151561079f565b60608160000180548060200260200160405190810160405280929190818152602001828054801561188f57602002820191906000526020600020905b815481526020019060010190808311611c9f5750505050509050919050565b610ea584848484611fc3565b600081815260056020526040812090611ce28261189b565b90506000805b82811015610c9557611cfb84600061208a565b9150611d1a828787600060405180602001604052806000815250611a2b565b600101611ce8565b600061079f8383612096565b600061079f8383611e9f565b610b06827fb23eae7e6d1564b295b4c3e3be402d9a2f0776c57bdf365903496f6fa481ab0083611eee565b611d7683631aed5a8560e21b611ba3565b15611e1057604051631aed5a8560e21b81526001600160a01b03841690636bb56a1490611dc9907f0b084a55ebf70fd3c06fd755269dac2212c4d3f0f4d09079780bfa50c1b2984d908590600401612f75565b6000604051808303816000875af1158015611de8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ea59190810190612f8e565b816107b9576001600160a01b0383163b15611e62576040517f4349776d0000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024016101de565b6040517f031731370000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024016101de565b6000818152600183016020526040812054611ee6575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556106fe565b5060006106fe565b611f086001600160a01b038416631aed5a8560e21b611ba3565b156107b957604051631aed5a8560e21b81526001600160a01b03841690636bb56a1490611dc99085908590600401612f75565b7f0000000000000000000000000000000000000000000000000000000000000000600254611f6a906001613012565b1115611fa2576040517fe8ba229100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ea584848484612189565b600061079f836001600160a01b038416612096565b6001600160a01b038416611ffd576000611fdc60025490565b60008181526007602090815260408083208790558683526008909152902055505b6001600160a01b038316612085576000600161201860025490565b6120229190613025565b60008481526008602052604090205490915081811015612064576000828152600760209081526040808320548484528184208190558352600890915290208190555b50600090815260076020908152604080832083905584835260089091528120555b610ea5565b600061079f83836122f3565b6000818152600183016020526040812054801561217f5760006120ba600183613025565b85549091506000906120ce90600190613025565b90508181146121335760008660000182815481106120ee576120ee612ca5565b906000526020600020015490508087600001848154811061211157612111612ca5565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061214457612144613038565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506106fe565b60009150506106fe565b6001600160a01b0384166121b0576040516324ecef4d60e01b815260040160405180910390fd5b6121bd6000858584611cbe565b6000838152600360205260409020546001600160a01b03161561220f576040517f34c7b511000000000000000000000000000000000000000000000000000000008152600481018490526024016101de565b60026000815461221e9061304e565b909155506001600160a01b03841660009081526004602052604090206122449084611d2e565b50600083815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03881690811790915590518592907fb333c813a7426a7a11e2b190cad52c44119421594b47f6f32ace6d8c7207b2bf906122b390339088908890612ec9565b60405180910390a460003360008686856040516020016122d7959493929190612efc565b6040516020818303038152906040529050610836858483611d65565b600082600001828154811061230a5761230a612ca5565b9060005260206000200154905092915050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60006020828403121561235e57600080fd5b81356001600160e01b03198116811461079f57600080fd5b60006020828403121561238857600080fd5b5035919050565b80356001600160a01b03811681146123a657600080fd5b919050565b600080604083850312156123be57600080fd5b6123c78361238f565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612414576124146123d5565b604052919050565b600067ffffffffffffffff821115612436576124366123d5565b50601f01601f191660200190565b600082601f83011261245557600080fd5b81356124686124638261241c565b6123eb565b81815284602083860101111561247d57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156124af57600080fd5b8335925060208401359150604084013567ffffffffffffffff8111156124d457600080fd5b6124e086828701612444565b9150509250925092565b6020808252825182820181905260009190848201906040850190845b8181101561252b5783516001600160a01b031683529284019291840191600101612506565b50909695505050505050565b803580151581146123a657600080fd5b600080600080600060a0868803121561255f57600080fd5b6125688661238f565b94506125766020870161238f565b93506040860135925061258b60608701612537565b9150608086013567ffffffffffffffff8111156125a757600080fd5b6125b388828901612444565b9150509295509295909350565b60005b838110156125db5781810151838201526020016125c3565b50506000910152565b600081518084526125fc8160208601602086016125c0565b601f01601f19169290920160200192915050565b60208152600061079f60208301846125e4565b6000806020838503121561263657600080fd5b823567ffffffffffffffff8082111561264e57600080fd5b818501915085601f83011261266257600080fd5b81358181111561267157600080fd5b8660208260051b850101111561268657600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156126ed57603f198886030184526126db8583516125e4565b945092850192908501906001016126bf565b5092979650505050505050565b60006020828403121561270c57600080fd5b61079f8261238f565b600067ffffffffffffffff82111561272f5761272f6123d5565b5060051b60200190565b600082601f83011261274a57600080fd5b8135602061275a61246383612715565b82815260059290921b8401810191818101908684111561277957600080fd5b8286015b8481101561279b5761278e8161238f565b835291830191830161277d565b509695505050505050565b600082601f8301126127b757600080fd5b813560206127c761246383612715565b82815260059290921b840181019181810190868411156127e657600080fd5b8286015b8481101561279b57803583529183019183016127ea565b600082601f83011261281257600080fd5b8135602061282261246383612715565b82815260059290921b8401810191818101908684111561284157600080fd5b8286015b8481101561279b5761285681612537565b8352918301918301612845565b600082601f83011261287457600080fd5b8135602061288461246383612715565b82815260059290921b840181019181810190868411156128a357600080fd5b8286015b8481101561279b57803567ffffffffffffffff8111156128c75760008081fd5b6128d58986838b0101612444565b8452509183019183016128a7565b600080600080600060a086880312156128fb57600080fd5b853567ffffffffffffffff8082111561291357600080fd5b61291f89838a01612739565b9650602088013591508082111561293557600080fd5b61294189838a01612739565b9550604088013591508082111561295757600080fd5b61296389838a016127a6565b9450606088013591508082111561297957600080fd5b61298589838a01612801565b9350608088013591508082111561299b57600080fd5b506125b388828901612863565b600080604083850312156129bb57600080fd5b82359150602083013567ffffffffffffffff8111156129d957600080fd5b6129e585828601612444565b9150509250929050565b600080600060608486031215612a0457600080fd5b612a0d8461238f565b925060208401359150604084013567ffffffffffffffff8111156124d457600080fd5b60008060408385031215612a4357600080fd5b823567ffffffffffffffff80821115612a5b57600080fd5b612a67868387016127a6565b93506020850135915080821115612a7d57600080fd5b506129e585828601612863565b6020808252825182820181905260009190848201906040850190845b8181101561252b57835183529284019291840191600101612aa6565b600080600060608486031215612ad757600080fd5b833567ffffffffffffffff80821115612aef57600080fd5b612afb878388016127a6565b94506020860135915080821115612b1157600080fd5b612b1d878388016127a6565b93506040860135915080821115612b3357600080fd5b506124e086828701612863565b60008060008060808587031215612b5657600080fd5b612b5f8561238f565b935060208501359250612b7460408601612537565b9150606085013567ffffffffffffffff811115612b9057600080fd5b612b9c87828801612444565b91505092959194509250565b60008060408385031215612bbb57600080fd5b823567ffffffffffffffff80821115612bd357600080fd5b612bdf868387016127a6565b93506020850135915080821115612bf557600080fd5b506129e5858286016127a6565b600060208284031215612c1457600080fd5b813567ffffffffffffffff811115612c2b57600080fd5b611b4d848285016127a6565b60008060408385031215612c4a57600080fd5b50508035926020909101359150565b8385823760609290921b6bffffffffffffffffffffffff1916919092019081526014810191909152603401919050565b60008251612c9b8184602087016125c0565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b6000808335601e19843603018112612cd257600080fd5b83018035915067ffffffffffffffff821115612ced57600080fd5b602001915036819003821315612d0257600080fd5b9250929050565b8183823760009101908152919050565b6001600160a01b03851681528360208201528215156040820152608060608201526000612d4960808301846125e4565b9695505050505050565b600181811c90821680612d6757607f821691505b6020821081036110f757634e487b7160e01b600052602260045260246000fd5b601f8211156107b957600081815260208120601f850160051c81016020861015612dae5750805b601f850160051c820191505b81811015610c9557828155600101612dba565b815167ffffffffffffffff811115612de757612de76123d5565b612dfb81612df58454612d53565b84612d87565b602080601f831160018114612e305760008415612e185750858301515b600019600386901b1c1916600185901b178555610c95565b600085815260208120601f198616915b82811015612e5f57888601518255948401946001909101908401612e40565b5085821015612e7d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805160208201516bffffffffffffffffffffffff198082169291906014831015612ec15780818460140360031b1b83161693505b505050919050565b6001600160a01b03841681528215156020820152606060408201526000612ef360608301846125e4565b95945050505050565b60006001600160a01b038088168352808716602084015280861660408401525083606083015260a06080830152611c3660a08301846125e4565b8215158152604060208201526000611b4d60408301846125e4565b805160208083015191908110156110f75760001960209190910360031b1b16919050565b828152604060208201526000611b4d60408301846125e4565b600060208284031215612fa057600080fd5b815167ffffffffffffffff811115612fb757600080fd5b8201601f81018413612fc857600080fd5b8051612fd66124638261241c565b818152856020838501011115612feb57600080fd5b612ef38260208301602086016125c0565b634e487b7160e01b600052601160045260246000fd5b808201808211156106fe576106fe612ffc565b818103818111156106fe576106fe612ffc565b634e487b7160e01b600052603160045260246000fd5b60006001820161306057613060612ffc565b506001019056fea26469706673582212208aa59e10ec01e16c331b60ed599615e8deeb71394c375d5870566da7603aa55c64736f6c63430008110033 +0x60a06040523480156200001157600080fd5b5060405162003757380380620037578339810160408190526200003491620004a5565b808686868686848484848484848484816001600160a01b0381166200006c576040516306b620db60e21b815260040160405180910390fd5b62000082816200023360201b6200115d1760201c565b50620000d97feafec4d89fa9619884b60000a4d96624a38f7ac2d8d9a604ecf07c12c77e480c60001b604051806040016040528060048152602001632936598960e21b815250620002a160201b620011d81760201c565b620001137fdeba1e292f8ba88238e10ab3c7f88bd4be4fac56cad5194b6ecceaf653468af160001b85620002a160201b620011d81760201c565b6200014d7f2f0a68ab07768e01943a599e73362a0e17a63a72e94dd2e384d2c1d4db93275660001b84620002a160201b620011d81760201c565b6040805160208101839052620001a0917fe0261fa95db2eb3b5439bd033cda66d56b96f92f243a8228fd87550ed7bdfdb39101604051602081830303815290604052620002a160201b620011d81760201c565b50506040805160208101859052620001f793507ff675e9361af1c1664c1868cfa3eb97672d6b1a513aa5b81dec34c9ee330e818d925001604051602081830303815290604052620002fa60201b6200122d1760201c565b5050505050505050505080600003620002235760405163038d9fc360e41b815260040160405180910390fd5b60805250620006de945050505050565b6000546001600160a01b038281169116146200029e57600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0383161790555b50565b6000828152600160205260409020620002bb8282620005dd565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b282604051620002ee9190620006a9565b60405180910390a25050565b6200031182826200031560201b620012331760201c565b5050565b7f2145e1d6d074577dc71ef54c3807742b41b053a9352ae6b491331509acb9750f820162000356576040516385c169bd60e01b815260040160405180910390fd5b7fd0f59754f88971fe6bc5a6618cc9d5f1e859c58d16b22d1c7b2d3e2b246cd8aa82016200039757604051630eceab6760e31b815260040160405180910390fd5b7f1fd9e056a24d14c4abc642fcc325992a946906d0dbc57dd70278aaf12842024d8201620002a157604051634ef6d7fb60e01b815260040160405180910390fd5b634e487b7160e01b600052604160045260246000fd5b60005b838110156200040b578181015183820152602001620003f1565b50506000910152565b600082601f8301126200042657600080fd5b81516001600160401b0380821115620004435762000443620003d8565b604051601f8301601f19908116603f011681019082821181831017156200046e576200046e620003d8565b816040528381528660208588010111156200048857600080fd5b6200049b846020830160208901620003ee565b9695505050505050565b60008060008060008060c08789031215620004bf57600080fd5b86516001600160401b0380821115620004d757600080fd5b620004e58a838b0162000414565b97506020890151915080821115620004fc57600080fd5b506200050b89828a0162000414565b604089015190965090506001600160a01b03811681146200052b57600080fd5b80945050606087015192506080870151915060a087015190509295509295509295565b600181811c908216806200056357607f821691505b6020821081036200058457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005d857600081815260208120601f850160051c81016020861015620005b35750805b601f850160051c820191505b81811015620005d457828155600101620005bf565b5050505b505050565b81516001600160401b03811115620005f957620005f9620003d8565b62000611816200060a84546200054e565b846200058a565b602080601f831160018114620006495760008415620006305750858301515b600019600386901b1c1916600185901b178555620005d4565b600085815260208120601f198616915b828110156200067a5788860151825594840194600190910190840162000659565b5085821015620006995787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260008251806020840152620006ca816040850160208701620003ee565b601f01601f19169190910160400192915050565b60805161305662000701600039600081816103be0152611ef601526130566000f3fe6080604052600436106101a55760003560e01c80637e87632c116100e1578063a3b261f21161008a578063d6c1407c11610064578063d6c1407c14610575578063db8c966314610595578063dedff9c6146105b5578063f2fde38b146105d557610219565b8063a3b261f214610508578063af255b6114610535578063be9f0e6f1461055557610219565b80638da5cb5b116100bb5780638da5cb5b146104aa57806392a91a3a146104c857806397902421146104f557610219565b80637e87632c146104575780637f23690c1461047757806386a10ddd1461048a57610219565b806349a6078d1161014e57806354f6127f1161012857806354f6127f146103e25780636963d4381461040257806370a0823114610422578063715018a61461044257610219565b806349a6078d14610360578063511b69521461038d57806352058d8a146103af57610219565b80631d26fce61161017f5780631d26fce6146102db578063217b2270146103085780632a3654a41461034057610219565b806301ffc9a71461025a57806316e023b31461028f57806318160ddd146102bc57610219565b3661021957346000036101e75760405163e5099ee360e01b81526004016101de9060208082526004908201526000604082015260600190565b60405180910390fd5b6040517f61f4944200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000366060600482101561024457828260405163e5099ee360e01b81526004016101de9291906122d6565b61024e83836105f5565b80519350602001915050f35b34801561026657600080fd5b5061027a610275366004612305565b610704565b60405190151581526020015b60405180910390f35b34801561029b57600080fd5b506102af6102aa36600461232f565b610751565b60405161028691906123a1565b3480156102c857600080fd5b506002545b604051908152602001610286565b3480156102e757600080fd5b506102fb6102f636600461248a565b610764565b60405161028691906124ee565b34801561031457600080fd5b50610328610323366004612550565b61082a565b6040516001600160a01b039091168152602001610286565b34801561034c57600080fd5b5061027a61035b366004612585565b610863565b34801561036c57600080fd5b5061038061037b366004612550565b610878565b60405161028691906125af565b34801561039957600080fd5b506103ad6103a8366004612685565b61089a565b005b3480156103bb57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006102cd565b3480156103ee57600080fd5b506102af6103fd366004612550565b6108f7565b34801561040e57600080fd5b506102fb61041d3660046126fe565b610902565b34801561042e57600080fd5b506102cd61043d366004612773565b610a4b565b34801561044e57600080fd5b506103ad610a6c565b34801561046357600080fd5b506103ad6104723660046128d2565b610a80565b6103ad610485366004612997565b610b88565b34801561049657600080fd5b506103ad6104a53660046129d4565b610bbd565b3480156104b657600080fd5b506000546001600160a01b0316610328565b3480156104d457600080fd5b506102cd6104e3366004612550565b60009081526007602052604090205490565b6103ad610503366004612a2b565b610d50565b34801561051457600080fd5b50610528610523366004612773565b610e42565b6040516102869190612a85565b34801561054157600080fd5b506103ad610550366004612abd565b610e66565b34801561056157600080fd5b506103ad610570366004612b25565b610e80565b34801561058157600080fd5b506103ad610590366004612ba3565b610f77565b3480156105a157600080fd5b506103ad6105b0366004612abd565b610f8a565b3480156105c157600080fd5b506102fb6105d0366004612bdd565b61105e565b3480156105e157600080fd5b506103ad6105f0366004612773565b611109565b6060600061060e6000356001600160e01b03191661133e565b5090506001600160a01b03811661065f576040517fbb370b2b0000000000000000000000000000000000000000000000000000000081526001600160e01b03196000351660048201526024016101de565b600080826001600160a01b031634878733346040516020016106849493929190612c12565b60408051601f198184030181529082905261069e91612c42565b60006040518083038185875af1925050503d80600081146106db576040519150601f19603f3d011682016040523d82523d6000602084013e6106e0565b606091505b509150915081156106f55792506106fe915050565b80518060208301fd5b92915050565b60006001600160e01b031982167f3a2717060000000000000000000000000000000000000000000000000000000014806107425750610742826113e8565b806106fe57506106fe82611426565b606061075d838361145d565b9392505050565b6060825167ffffffffffffffff811115610780576107806123b4565b6040519080825280602002602001820160405280156107b357816020015b606081526020019060019003908161079e5790505b50905060005b8351811015610823576107fe8482815181106107d7576107d7612c5e565b60200260200101518483815181106107f1576107f1612c5e565b602002602001015161145d565b82828151811061081057610810612c5e565b60209081029190910101526001016107b9565b5092915050565b6000818152600360205260408120546001600160a01b0316806106fe57604051635747cd1b60e11b8152600481018490526024016101de565b600061086e82611534565b61075d838361156c565b606061088382611534565b60008281526005602052604090206106fe906115a9565b6108a4338461156c565b6108e3576040517f1294d2a9000000000000000000000000000000000000000000000000000000008152600481018490523360248201526044016101de565b6108f085858585856115b6565b5050505050565b60606106fe826117a4565b60608167ffffffffffffffff81111561091d5761091d6123b4565b60405190808252806020026020018201604052801561095057816020015b606081526020019060019003908161093b5790505b50905060005b82811015610823576000803086868581811061097457610974612c5e565b90506020028101906109869190612c74565b604051610994929190612cc2565b600060405180830381855af49150503d80600081146109cf576040519150601f19603f3d011682016040523d82523d6000602084013e6109d4565b606091505b509150915081610a23578051156109ee5780518082602001fd5b6040517f234eb819000000000000000000000000000000000000000000000000000000008152600481018490526024016101de565b80848481518110610a3657610a36612c5e565b60209081029190910101525050600101610956565b6001600160a01b03811660009081526004602052604081206106fe90611846565b610a74611850565b610a7e600061115d565b565b8451845181141580610a93575083518114155b80610a9f575082518114155b80610aab575081518114155b15610ae2576040517f93a8311900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610b7f57610b77878281518110610b0257610b02612c5e565b6020026020010151878381518110610b1c57610b1c612c5e565b6020026020010151878481518110610b3657610b36612c5e565b6020026020010151878581518110610b5057610b50612c5e565b6020026020010151878681518110610b6a57610b6a612c5e565b602002602001015161089a565b600101610ae5565b50505050505050565b610b90611850565b3415610baf5760405163f36ba73760e01b815260040160405180910390fd5b610bb982826118a5565b5050565b6000610bc88361082a565b90506001600160a01b0381163314610c0b57604051632d938f5160e11b81526001600160a01b0382166004820152602481018490523360448201526064016101de565b6001600160a01b038416610c3257604051639577b8b360e01b815260040160405180910390fd5b836001600160a01b0316816001600160a01b031603610c64576040516344fed6b160e11b815260040160405180910390fd5b6000838152600560205260408120610c7c9086611908565b905080610cc7576040517fa7626b680000000000000000000000000000000000000000000000000000000081526001600160a01b0386166004820152602481018590526044016101de565b83826001600160a01b0316866001600160a01b03167f1b1b58aa2ec0cec2228b2d37124556d41f5a1f7b12f089171f896cc23667121586604051610d0b91906123a1565b60405180910390a460003385600186604051602001610d2d9493929190612cd2565b6040516020818303038152906040529050610d48868261191d565b505050505050565b610d58611850565b3415610d775760405163f36ba73760e01b815260040160405180910390fd5b8051825114610db2576040517f3bcc897900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8151600003610ded576040517f97da5f9500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8251811015610e3d57610e35838281518110610e0e57610e0e612c5e565b6020026020010151838381518110610e2857610e28612c5e565b60200260200101516118a5565b600101610df0565b505050565b6001600160a01b03811660009081526004602052604090206060906106fe906115a9565b610e6e611850565b610e7a84848484611948565b50505050565b610e88611850565b81518351141580610e9b57508051825114155b15610ed2576040517f2fa71dfe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8251600003610f0d576040517f80c9830500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8351811015610e7a57610f6f848281518110610f2e57610f2e612c5e565b6020026020010151848381518110610f4857610f48612c5e565b6020026020010151848481518110610f6257610f62612c5e565b6020026020010151611954565b600101610f10565b610f7f611850565b610e3d838383611954565b6000610f958461082a565b90506001600160a01b0381163314610fd857604051632d938f5160e11b81526001600160a01b0382166004820152602481018590523360448201526064016101de565b6001600160a01b038516610fff57604051639577b8b360e01b815260040160405180910390fd5b846001600160a01b0316816001600160a01b031603611031576040516344fed6b160e11b815260040160405180910390fd5b61103e85828686866119e4565b82156108f05760003385600085604051602001610d2d9493929190612cd2565b6060815167ffffffffffffffff81111561107a5761107a6123b4565b6040519080825280602002602001820160405280156110ad57816020015b60608152602001906001900390816110985790505b50905060005b8251811015611103576110de8382815181106110d1576110d1612c5e565b60200260200101516117a4565b8282815181106110f0576110f0612c5e565b60209081029190910101526001016110b3565b50919050565b611111611850565b6001600160a01b038116611151576040517f1ad8836c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61115a8161115d565b50565b6000546001600160a01b0382811691161461115a57600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b03831673ffffffffffffffffffffffffffffffffffffffff1990911617905550565b60008281526001602052604090206111f08282612d86565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b28260405161122191906123a1565b60405180910390a25050565b610bb982825b7f2145e1d6d074577dc71ef54c3807742b41b053a9352ae6b491331509acb9750f820161128c576040517f85c169bd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd0f59754f88971fe6bc5a6618cc9d5f1e859c58d16b22d1c7b2d3e2b246cd8aa82016112e5576040517f76755b3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f1fd9e056a24d14c4abc642fcc325992a946906d0dbc57dd70278aaf12842024d82016111d8576040517f4ef6d7fb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080806113767fcee78b4094da86011096000000000000000000000000000000000000000000006001600160e01b03198616611a9d565b90506000611383826117a4565b905080516014141580156113975750805115155b156113d057806040517f42bfe79f0000000000000000000000000000000000000000000000000000000081526004016101de91906123a1565b6113d981612e46565b60601c95600195509350505050565b60006001600160e01b031982167fa918fa6b0000000000000000000000000000000000000000000000000000000014806106fe57506106fe82611b0e565b6000806114396301ffc9a760e01b61133e565b5090506001600160a01b0381166114535750600092915050565b61075d8184611b5c565b606060016000848460405160200161147f929190918252602082015260400190565b60405160208183030381529060405280519060200120815260200190815260200160002080546114ae90612d0c565b80601f01602080910402602001604051908101604052809291908181526020018280546114da90612d0c565b80156115275780601f106114fc57610100808354040283529160200191611527565b820191906000526020600020905b81548152906001019060200180831161150a57829003601f168201915b5050505050905092915050565b6000818152600360205260409020546001600160a01b031661115a57604051635747cd1b60e11b8152600481018290526024016101de565b60006115778261082a565b6001600160a01b0316836001600160a01b0316148061075d5750600082815260056020526040902061075d9084611bfa565b6060600061075d83611c1c565b836001600160a01b0316856001600160a01b031603611601576040517f5d67d6c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061160c8461082a565b9050856001600160a01b0316816001600160a01b03161461165a57604051632d938f5160e11b81526001600160a01b03808316600483015260248201869052871660448201526064016101de565b6001600160a01b038516611681576040516324ecef4d60e01b815260040160405180910390fd5b61168d86868685611c77565b6116968461082a565b90506116a28685611c83565b6001600160a01b03861660009081526004602052604090206116c49085611cdb565b506001600160a01b03851660009081526004602052604090206116e79085611ce7565b5060008481526003602052604090819020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0388811691821790925591518692918916907fb333c813a7426a7a11e2b190cad52c44119421594b47f6f32ace6d8c7207b2bf9061175b90339089908990612e82565b60405180910390a46000338787878660405160200161177e959493929190612eb5565b60405160208183030381529060405290506117998782611cf3565b610b7f868583611d1e565b60008181526001602052604090208054606091906117c190612d0c565b80601f01602080910402602001604051908101604052809291908181526020018280546117ed90612d0c565b801561183a5780601f1061180f5761010080835404028352916020019161183a565b820191906000526020600020905b81548152906001019060200180831161181d57829003601f168201915b50505050509050919050565b60006106fe825490565b336118636000546001600160a01b031690565b6001600160a01b031614610a7e576040517fbf1169c50000000000000000000000000000000000000000000000000000000081523360048201526024016101de565b7f098a16c9e50e3e99b3e797305c146898d294e5aec55a47e213cb3611ccf17e7382016118fe576040517f3664800a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bb9828261122d565b600061075d836001600160a01b038416611e58565b610bb9827f8a1c15a8799f71b547e08e2bcb2e85257e81b0a07eee2ce6712549eef1f0097083611ea7565b610e7a84848484611ef4565b80600160008585604051602001611975929190918252602082015260400190565b60405160208183030381529060405280519060200120815260200190815260200160002090816119a59190612d86565b5081837fa6e4251f855f750545fe414f120db91c76b88def14d120969e5bb2d3f05debbb836040516119d791906123a1565b60405180910390a3505050565b60008381526005602052604081206119fc9087611f67565b905080611a47576040517f4aa31a8c0000000000000000000000000000000000000000000000000000000081526001600160a01b0387166004820152602481018590526044016101de565b83856001600160a01b0316876001600160a01b03167fc78cd419d6136f9f1c1c6aec1d3fae098cffaf8bc86314a8f2685e32fe574e3c8686604051611a8d929190612eef565b60405180910390a4505050505050565b604080517fffffffffffffffffffff00000000000000000000000000000000000000000000841660208201526000602a82018190526bffffffffffffffffffffffff198416602c83015291829101604051602081830303815290604052905080611b0690612f0a565b949350505050565b60006001600160e01b031982167f629aa6940000000000000000000000000000000000000000000000000000000014806106fe57506301ffc9a760e01b6001600160e01b03198316146106fe565b604080516001600160e01b03198316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166301ffc9a760e01b178152825160009392849283928392918391908a617530fa92503d91506000519050828015611be3575060208210155b8015611bef5750600081115b979650505050505050565b6001600160a01b0381166000908152600183016020526040812054151561075d565b60608160000180548060200260200160405190810160405280929190818152602001828054801561183a57602002820191906000526020600020905b815481526020019060010190808311611c585750505050509050919050565b610e7a84848484611f7c565b600081815260056020526040812090611c9b82611846565b90506000805b82811015610d4857611cb4846000612043565b9150611cd38287876000604051806020016040528060008152506119e4565b600101611ca1565b600061075d838361204f565b600061075d8383611e58565b610bb9827fb23eae7e6d1564b295b4c3e3be402d9a2f0776c57bdf365903496f6fa481ab0083611ea7565b611d2f83631aed5a8560e21b611b5c565b15611dc957604051631aed5a8560e21b81526001600160a01b03841690636bb56a1490611d82907f0b084a55ebf70fd3c06fd755269dac2212c4d3f0f4d09079780bfa50c1b2984d908590600401612f2e565b6000604051808303816000875af1158015611da1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e7a9190810190612f47565b81610e3d576001600160a01b0383163b15611e1b576040517f4349776d0000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024016101de565b6040517f031731370000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024016101de565b6000818152600183016020526040812054611e9f575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556106fe565b5060006106fe565b611ec16001600160a01b038416631aed5a8560e21b611b5c565b15610e3d57604051631aed5a8560e21b81526001600160a01b03841690636bb56a1490611d829085908590600401612f2e565b7f0000000000000000000000000000000000000000000000000000000000000000600254611f23906001612fcb565b1115611f5b576040517fe8ba229100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e7a84848484612142565b600061075d836001600160a01b03841661204f565b6001600160a01b038416611fb6576000611f9560025490565b60008181526007602090815260408083208790558683526008909152902055505b6001600160a01b03831661203e5760006001611fd160025490565b611fdb9190612fde565b6000848152600860205260409020549091508181101561201d576000828152600760209081526040808320548484528184208190558352600890915290208190555b50600090815260076020908152604080832083905584835260089091528120555b610e7a565b600061075d83836122ac565b60008181526001830160205260408120548015612138576000612073600183612fde565b855490915060009061208790600190612fde565b90508181146120ec5760008660000182815481106120a7576120a7612c5e565b90600052602060002001549050808760000184815481106120ca576120ca612c5e565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806120fd576120fd612ff1565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506106fe565b60009150506106fe565b6001600160a01b038416612169576040516324ecef4d60e01b815260040160405180910390fd5b6121766000858584611c77565b6000838152600360205260409020546001600160a01b0316156121c8576040517f34c7b511000000000000000000000000000000000000000000000000000000008152600481018490526024016101de565b6002600081546121d790613007565b909155506001600160a01b03841660009081526004602052604090206121fd9084611ce7565b50600083815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03881690811790915590518592907fb333c813a7426a7a11e2b190cad52c44119421594b47f6f32ace6d8c7207b2bf9061226c90339088908890612e82565b60405180910390a46000336000868685604051602001612290959493929190612eb5565b60405160208183030381529060405290506108f0858483611d1e565b60008260000182815481106122c3576122c3612c5e565b9060005260206000200154905092915050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60006020828403121561231757600080fd5b81356001600160e01b03198116811461075d57600080fd5b6000806040838503121561234257600080fd5b50508035926020909101359150565b60005b8381101561236c578181015183820152602001612354565b50506000910152565b6000815180845261238d816020860160208601612351565b601f01601f19169290920160200192915050565b60208152600061075d6020830184612375565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156123f3576123f36123b4565b604052919050565b600067ffffffffffffffff821115612415576124156123b4565b5060051b60200190565b600082601f83011261243057600080fd5b81356020612445612440836123fb565b6123ca565b82815260059290921b8401810191818101908684111561246457600080fd5b8286015b8481101561247f5780358352918301918301612468565b509695505050505050565b6000806040838503121561249d57600080fd5b823567ffffffffffffffff808211156124b557600080fd5b6124c18683870161241f565b935060208501359150808211156124d757600080fd5b506124e48582860161241f565b9150509250929050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561254357603f19888603018452612531858351612375565b94509285019290850190600101612515565b5092979650505050505050565b60006020828403121561256257600080fd5b5035919050565b80356001600160a01b038116811461258057600080fd5b919050565b6000806040838503121561259857600080fd5b6125a183612569565b946020939093013593505050565b6020808252825182820181905260009190848201906040850190845b818110156125f05783516001600160a01b0316835292840192918401916001016125cb565b50909695505050505050565b8035801515811461258057600080fd5b600067ffffffffffffffff821115612626576126266123b4565b50601f01601f191660200190565b600082601f83011261264557600080fd5b81356126536124408261260c565b81815284602083860101111561266857600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a0868803121561269d57600080fd5b6126a686612569565b94506126b460208701612569565b9350604086013592506126c9606087016125fc565b9150608086013567ffffffffffffffff8111156126e557600080fd5b6126f188828901612634565b9150509295509295909350565b6000806020838503121561271157600080fd5b823567ffffffffffffffff8082111561272957600080fd5b818501915085601f83011261273d57600080fd5b81358181111561274c57600080fd5b8660208260051b850101111561276157600080fd5b60209290920196919550909350505050565b60006020828403121561278557600080fd5b61075d82612569565b600082601f83011261279f57600080fd5b813560206127af612440836123fb565b82815260059290921b840181019181810190868411156127ce57600080fd5b8286015b8481101561247f576127e381612569565b83529183019183016127d2565b600082601f83011261280157600080fd5b81356020612811612440836123fb565b82815260059290921b8401810191818101908684111561283057600080fd5b8286015b8481101561247f57612845816125fc565b8352918301918301612834565b600082601f83011261286357600080fd5b81356020612873612440836123fb565b82815260059290921b8401810191818101908684111561289257600080fd5b8286015b8481101561247f57803567ffffffffffffffff8111156128b65760008081fd5b6128c48986838b0101612634565b845250918301918301612896565b600080600080600060a086880312156128ea57600080fd5b853567ffffffffffffffff8082111561290257600080fd5b61290e89838a0161278e565b9650602088013591508082111561292457600080fd5b61293089838a0161278e565b9550604088013591508082111561294657600080fd5b61295289838a0161241f565b9450606088013591508082111561296857600080fd5b61297489838a016127f0565b9350608088013591508082111561298a57600080fd5b506126f188828901612852565b600080604083850312156129aa57600080fd5b82359150602083013567ffffffffffffffff8111156129c857600080fd5b6124e485828601612634565b6000806000606084860312156129e957600080fd5b6129f284612569565b925060208401359150604084013567ffffffffffffffff811115612a1557600080fd5b612a2186828701612634565b9150509250925092565b60008060408385031215612a3e57600080fd5b823567ffffffffffffffff80821115612a5657600080fd5b612a628683870161241f565b93506020850135915080821115612a7857600080fd5b506124e485828601612852565b6020808252825182820181905260009190848201906040850190845b818110156125f057835183529284019291840191600101612aa1565b60008060008060808587031215612ad357600080fd5b612adc85612569565b935060208501359250612af1604086016125fc565b9150606085013567ffffffffffffffff811115612b0d57600080fd5b612b1987828801612634565b91505092959194509250565b600080600060608486031215612b3a57600080fd5b833567ffffffffffffffff80821115612b5257600080fd5b612b5e8783880161241f565b94506020860135915080821115612b7457600080fd5b612b808783880161241f565b93506040860135915080821115612b9657600080fd5b50612a2186828701612852565b600080600060608486031215612bb857600080fd5b8335925060208401359150604084013567ffffffffffffffff811115612a1557600080fd5b600060208284031215612bef57600080fd5b813567ffffffffffffffff811115612c0657600080fd5b611b068482850161241f565b8385823760609290921b6bffffffffffffffffffffffff1916919092019081526014810191909152603401919050565b60008251612c54818460208701612351565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b6000808335601e19843603018112612c8b57600080fd5b83018035915067ffffffffffffffff821115612ca657600080fd5b602001915036819003821315612cbb57600080fd5b9250929050565b8183823760009101908152919050565b6001600160a01b03851681528360208201528215156040820152608060608201526000612d026080830184612375565b9695505050505050565b600181811c90821680612d2057607f821691505b60208210810361110357634e487b7160e01b600052602260045260246000fd5b601f821115610e3d57600081815260208120601f850160051c81016020861015612d675750805b601f850160051c820191505b81811015610d4857828155600101612d73565b815167ffffffffffffffff811115612da057612da06123b4565b612db481612dae8454612d0c565b84612d40565b602080601f831160018114612de95760008415612dd15750858301515b600019600386901b1c1916600185901b178555610d48565b600085815260208120601f198616915b82811015612e1857888601518255948401946001909101908401612df9565b5085821015612e365787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805160208201516bffffffffffffffffffffffff198082169291906014831015612e7a5780818460140360031b1b83161693505b505050919050565b6001600160a01b03841681528215156020820152606060408201526000612eac6060830184612375565b95945050505050565b60006001600160a01b038088168352808716602084015280861660408401525083606083015260a06080830152611bef60a0830184612375565b8215158152604060208201526000611b066040830184612375565b805160208083015191908110156111035760001960209190910360031b1b16919050565b828152604060208201526000611b066040830184612375565b600060208284031215612f5957600080fd5b815167ffffffffffffffff811115612f7057600080fd5b8201601f81018413612f8157600080fd5b8051612f8f6124408261260c565b818152856020838501011115612fa457600080fd5b612eac826020830160208601612351565b634e487b7160e01b600052601160045260246000fd5b808201808211156106fe576106fe612fb5565b818103818111156106fe576106fe612fb5565b634e487b7160e01b600052603160045260246000fd5b60006001820161301957613019612fb5565b506001019056fea2646970667358221220240ff0458b3bcf96ed63ee96f3c5f447a0a831c843ee3f3122e97232689ee37464736f6c63430008110033 diff --git a/artifacts/bytecode/drops/LSP7DropsDigitalAsset.bin b/artifacts/bytecode/drops/LSP7DropsDigitalAsset.bin index aa46e19..9407842 100644 --- a/artifacts/bytecode/drops/LSP7DropsDigitalAsset.bin +++ b/artifacts/bytecode/drops/LSP7DropsDigitalAsset.bin @@ -1 +1 @@ -0x6101006040523480156200001257600080fd5b50604051620041b2380380620041b28339810160408190526200003591620004e8565b838382848a8a8a60018084848483816001600160a01b038116620000af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b620000c5816200033e60201b6200151d1760201c565b506200011c7feafec4d89fa9619884b60000a4d96624a38f7ac2d8d9a604ecf07c12c77e480c60001b604051806040016040528060048152602001632936598960e21b815250620003a560201b6200159a1760201c565b620001567fdeba1e292f8ba88238e10ab3c7f88bd4be4fac56cad5194b6ecceaf653468af160001b85620003a560201b6200159a1760201c565b620001907f2f0a68ab07768e01943a599e73362a0e17a63a72e94dd2e384d2c1d4db93275660001b84620003a560201b6200159a1760201c565b6040805160208101839052620001e3917fe0261fa95db2eb3b5439bd033cda66d56b96f92f243a8228fd87550ed7bdfdb39101604051602081830303815290604052620003a560201b6200159a1760201c565b50506002805460ff19169315159390931790925550505060008490039250620002229150505760405163acf1d8c560e01b815260040160405180910390fd5b6080526001600755604051633c7bdc1960e01b815263ffffffff82166004820152733582f474f6e9fb087651b135d6224500a89e6f4490633c7bdc1990602401602060405180830381865af415801562000280573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a69190620005b2565b620002cd576040516363a0a0e760e01b815263ffffffff82166004820152602401620000a6565b6001600160a01b0383161580620002eb57506001600160a01b038216155b156200030a5760405163d92e233d60e01b815260040160405180910390fd5b600d805460ff191690556001600160a01b0392831660c052911660e05263ffffffff1660a052506200076d95505050505050565b6000546001600160a01b03828116911614620003a257600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a3505b50565b6000828152600160205260409020620003bf82826200066c565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b282604051620003f2919062000738565b60405180910390a25050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200043157818101518382015260200162000417565b50506000910152565b600082601f8301126200044c57600080fd5b81516001600160401b0380821115620004695762000469620003fe565b604051601f8301601f19908116603f01168101908282118183101715620004945762000494620003fe565b81604052838152866020858801011115620004ae57600080fd5b620004c184602083016020890162000414565b9695505050505050565b80516001600160a01b0381168114620004e357600080fd5b919050565b600080600080600080600060e0888a0312156200050457600080fd5b87516001600160401b03808211156200051c57600080fd5b6200052a8b838c016200043a565b985060208a01519150808211156200054157600080fd5b50620005508a828b016200043a565b9650506200056160408901620004cb565b94506200057160608901620004cb565b93506200058160808901620004cb565b925060a0880151915060c088015163ffffffff81168114620005a257600080fd5b8091505092959891949750929550565b600060208284031215620005c557600080fd5b81518015158114620005d657600080fd5b9392505050565b600181811c90821680620005f257607f821691505b6020821081036200061357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200066757600081815260208120601f850160051c81016020861015620006425750805b601f850160051c820191505b8181101562000663578281556001016200064e565b5050505b505050565b81516001600160401b03811115620006885762000688620003fe565b620006a081620006998454620005dd565b8462000619565b602080601f831160018114620006d85760008415620006bf5750858301515b600019600386901b1c1916600185901b17855562000663565b600085815260208120601f198616915b828110156200070957888601518255948401946001909101908401620006e8565b5085821015620007285787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208152600082518060208401526200075981604085016020870162000414565b601f01601f19169190910160400192915050565b60805160a05160c05160e0516139ef620007c3600039600081816103b40152611e6f01526000818161070d01526120a30152600081816104670152611fbb0152600081816104e20152612a7301526139ef6000f3fe6080604052600436106102535760003560e01c8063715018a611610138578063aad3ec96116100b0578063dedff9c61161007f578063f2fde38b11610064578063f2fde38b1461078f578063f575191e146107af578063fc618071146107c5576102c7565b8063dedff9c61461075c578063edb8d1e21461077c576102c7565b8063aad3ec96146106bb578063b49506fd146106db578063d598d4c9146106fb578063d72fc29a1461072f576102c7565b80637f23690c116101075780638da5cb5b116100ec5780638da5cb5b14610654578063942cd44b1461067257806397902421146106a8576102c7565b80637f23690c146106215780638bbd437814610634576102c7565b8063715018a6146105b6578063760d9bba146105cb57806378e97925146105eb5780637b204c4e14610601576102c7565b80633c3e8ae3116101cb57806354f6127f1161019a5780636817c76c1161017f5780636817c76c146105535780636963d4381461056957806370a0823114610596576102c7565b806354f6127f1461050657806365aeaa9514610533576102c7565b80633c3e8ae3146104555780634521748e1461049e57806351b42b00146104be57806352058d8a146104d3576102c7565b80632b47da52116102225780632bc1da82116102075780632bc1da82146103ee5780632d7667c91461040e578063313ce5671461042e576102c7565b80632b47da521461038d5780632b7ac3f3146103a2576102c7565b806301ffc9a7146103085780630f15f4c01461033d57806318160ddd14610354578063186601ca14610373576102c7565b366102c757346000036102955760405163e5099ee360e01b815260040161028c9060208082526004908201526000604082015260600190565b60405180910390fd5b6040517f388f5adc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600036606060048210156102f257828260405163e5099ee360e01b815260040161028c929190612c22565b6102fc83836107d8565b80519350602001915050f35b34801561031457600080fd5b50610328610323366004612c51565b6108e7565b60405190151581526020015b60405180910390f35b34801561034957600080fd5b50610352610934565b005b34801561036057600080fd5b506003545b604051908152602001610334565b34801561037f57600080fd5b50600d546103289060ff1681565b34801561039957600080fd5b50610365610946565b3480156103ae57600080fd5b506103d67f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610334565b3480156103fa57600080fd5b50610352610409366004612d5c565b610956565b34801561041a57600080fd5b50610352610429366004612f91565b6109ff565b34801561043a57600080fd5b50610443610b07565b60405160ff9091168152602001610334565b34801561046157600080fd5b506104897f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff9091168152602001610334565b3480156104aa57600080fd5b506103526104b9366004613063565b610b20565b3480156104ca57600080fd5b50610352610b6e565b3480156104df57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610365565b34801561051257600080fd5b506105266105213660046130ab565b610bb6565b6040516103349190613114565b34801561053f57600080fd5b5061036561054e366004613127565b610bc1565b34801561055f57600080fd5b50610365600b5481565b34801561057557600080fd5b506105896105843660046131a6565b610c27565b60405161033491906131e8565b3480156105a257600080fd5b506103656105b136600461324a565b610d77565b3480156105c257600080fd5b50610352610d95565b3480156105d757600080fd5b506103526105e6366004613265565b610da7565b3480156105f757600080fd5b50610365600a5481565b34801561060d57600080fd5b5061035261061c366004612d5c565b610e21565b61035261062f3660046132d1565b610e7a565b34801561064057600080fd5b5061035261064f366004613318565b610eaf565b34801561066057600080fd5b506000546001600160a01b03166103d6565b34801561067e57600080fd5b5061036561068d36600461324a565b6001600160a01b03166000908152600e602052604090205490565b6103526106b636600461334a565b610f94565b3480156106c757600080fd5b506103526106d63660046133a4565b611081565b3480156106e757600080fd5b506103526106f6366004612d5c565b61125d565b34801561070757600080fd5b506103d67f000000000000000000000000000000000000000000000000000000000000000081565b34801561073b57600080fd5b5061074f61074a36600461324a565b611282565b60405161033491906133ce565b34801561076857600080fd5b5061058961077736600461341b565b6112a6565b61035261078a366004613461565b611351565b34801561079b57600080fd5b506103526107aa36600461324a565b611403565b3480156107bb57600080fd5b50610365600c5481565b6103526107d33660046134eb565b611493565b606060006107f16000356001600160e01b0319166115ef565b5090506001600160a01b038116610842576040517fbb370b2b0000000000000000000000000000000000000000000000000000000081526001600160e01b031960003516600482015260240161028c565b600080826001600160a01b031634878733346040516020016108679493929190613539565b60408051601f198184030181529082905261088191613569565b60006040518083038185875af1925050503d80600081146108be576040519150601f19603f3d011682016040523d82523d6000602084013e6108c3565b606091505b509150915081156108d85792506108e1915050565b80518060208301fd5b92915050565b60006001600160e01b031982167fb3c4928f000000000000000000000000000000000000000000000000000000001480610925575061092582611699565b806108e157506108e1826116d7565b61093c611715565b61094461177e565b565b600061095160085490565b905090565b60006109628433610bc1565b9050806000036109a9576040517fcba6e9770000000000000000000000000000000000000000000000000000000081526001600160a01b038516600482015260240161028c565b60006109b5848361359b565b90506109c53386836001876117c0565b60003382856040516020016109dc939291906135ae565b60405160208183030381529060405290506109f78682611965565b505050505050565b8451845181141580610a12575083518114155b80610a1e575082518114155b80610a2a575081518114155b15610a61576040517f263eee8d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610afe57610af6878281518110610a8157610a816135df565b6020026020010151878381518110610a9b57610a9b6135df565b6020026020010151878481518110610ab557610ab56135df565b6020026020010151878581518110610acf57610acf6135df565b6020026020010151878681518110610ae957610ae96135df565b6020026020010151610da7565b600101610a64565b50505050505050565b60025460009060ff16610b1a5750601290565b50600090565b610b2e3384600085856117c0565b8115610b6957600033600083604051602001610b4c939291906135f5565b6040516020818303038152906040529050610b678482611965565b505b505050565b610b76611715565b600d5460ff161561094457600d805460ff191690556040517f1142a68cc39970640eb3524e77b91f78be21abc64f20f5919387eb46699bb77290600090a1565b60606108e182611990565b6000826001600160a01b0316826001600160a01b031603610bfb57506001600160a01b0381166000908152600460205260409020546108e1565b506001600160a01b038082166000908152600660209081526040808320938616835292905220546108e1565b60608167ffffffffffffffff811115610c4257610c42612c97565b604051908082528060200260200182016040528015610c7557816020015b6060815260200190600190039081610c605790505b50905060005b82811015610d705760008030868685818110610c9957610c996135df565b9050602002810190610cab9190613620565b604051610cb9929190613667565b600060405180830381855af49150503d8060008114610cf4576040519150601f19603f3d011682016040523d82523d6000602084013e610cf9565b606091505b509150915081610d4857805115610d135780518082602001fd5b6040517fb774c2840000000000000000000000000000000000000000000000000000000081526004810184905260240161028c565b80848481518110610d5b57610d5b6135df565b60209081029190910101525050600101610c7b565b5092915050565b6001600160a01b0381166000908152600460205260408120546108e1565b610d9d611715565b610944600061151d565b836001600160a01b0316856001600160a01b031603610df2576040517fb9afb00000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b03861614610e0d57610e0d338685611a32565b610e1a8585858585611ad9565b5050505050565b6000610e2d8433610bc1565b905082811015610e69576040517f0ef76c3500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8281036109c53386836001876117c0565b610e82611715565b3415610ea15760405163f36ba73760e01b815260040160405180910390fd5b610eab8282611c8e565b5050565b610eb7611715565b42841015610ef4576040517f76429b570000000000000000000000000000000000000000000000000000000081526004810185905260240161028c565b81600003610f2e576040517f39af805800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a849055600b839055600c829055610f4681600855565b6040805185815260208101859052908101839052606081018290527f8aeedf0ed8cd3693ef01d328f512281c622ee40528326aa6fba505184ab13a439060800160405180910390a150505050565b610f9c611715565b3415610fbb5760405163f36ba73760e01b815260040160405180910390fd5b8051825114610ff6576040517f3bcc897900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8151600003611031576040517f97da5f9500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8251811015610b6957611079838281518110611052576110526135df565b602002602001015183838151811061106c5761106c6135df565b6020026020010151611c8e565b600101611034565b611089611c98565b6001600160a01b0382166110c9576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600003611103576040517f1f2a200500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600e602052604090205481811015611150576040517fffb97f810000000000000000000000000000000000000000000000000000000081526004810183905260240161028c565b336000908152600e60205260408120805484929061116f908490613677565b90915550506040516000906001600160a01b0385169084908381818185875af1925050503d80600081146111bf576040519150601f19603f3d011682016040523d82523d6000602084013e6111c4565b606091505b5050905080611211576040517fa00139f80000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024810184905260440161028c565b6040518381526001600160a01b0385169033907ff7a40077ff7a04c7e61f6f26fb13774259ddf1b6bce9ecf26a8276cdd39926839060200160405180910390a35050610eab6001600755565b61126b3384846001856117c0565b6000338383604051602001610b4c939291906135ae565b6001600160a01b03811660009081526005602052604090206060906108e190611cf1565b6060815167ffffffffffffffff8111156112c2576112c2612c97565b6040519080825280602002602001820160405280156112f557816020015b60608152602001906001900390816112e05790505b50905060005b825181101561134b57611326838281518110611319576113196135df565b6020026020010151611990565b828281518110611338576113386135df565b60209081029190910101526001016112fb565b50919050565b600d5460ff1615806113645750600a5442105b1561138257604051632e8acb0d60e01b815260040160405180910390fd5b61138a611c98565b6113e288888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080513360208201528b9350019050604051602081830303815290604052611cfe565b6113ef8585858585611e15565b6113f96001600755565b5050505050505050565b61140b611715565b6001600160a01b0381166114875760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161028c565b6114908161151d565b50565b600d5460ff1615806114a65750600a5442105b156114c457604051632e8acb0d60e01b815260040160405180910390fd5b6114cc611c98565b60085415611506576040517f1df4698600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6115138585858585611e15565b610e1a6001600755565b6000546001600160a01b0382811691161461149057600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008281526001602052604090206115b28282613704565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b2826040516115e39190613114565b60405180910390a25050565b600080806116277fcee78b4094da86011096000000000000000000000000000000000000000000006001600160e01b031986166120fd565b9050600061163482611990565b905080516014141580156116485750805115155b1561168157806040517f42bfe79f00000000000000000000000000000000000000000000000000000000815260040161028c9190613114565b61168a816137c4565b60601c95600195509350505050565b60006001600160e01b031982167fa918fa6b0000000000000000000000000000000000000000000000000000000014806108e157506108e18261216e565b6000806116ea6301ffc9a760e01b6115ef565b5090506001600160a01b0381166117045750600092915050565b61170e81846121bc565b9392505050565b336117286000546001600160a01b031690565b6001600160a01b0316146109445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161028c565b600d5460ff1661094457600d805460ff191660011790556040517fed1cd0670ee0c0017f550451a038818c696d0b6a9d6ce5b369e44275573cf9b090600090a1565b6001600160a01b038416611800576040517f6355e76600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b846001600160a01b0316846001600160a01b03160361184b576040517fdab7504700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03808616600090815260066020908152604080832093881683529290522083905582156118ed576001600160a01b038516600090815260056020526040902061189b908561225a565b5082856001600160a01b0316856001600160a01b03167ff772a43bfdf4729b196e3fb54a818b91a2ca6c49d10b2e16278752f9f515c25d846040516118e09190613114565b60405180910390a4610e1a565b6001600160a01b038516600090815260056020526040902061190f908561226f565b50811515856001600160a01b0316856001600160a01b03167f0ebf5762d8855cbe012d2ca42fb33a81175e17c8a8751f8859931ba453bd4167846040516119569190613114565b60405180910390a45050505050565b610eab827f386072cc5a58e61263b434c722725f21031cd06e7c552cfaa06db5de8a320dbc83612284565b60008181526001602052604090208054606091906119ad9061368a565b80601f01602080910402602001604051908101604052809291908181526020018280546119d99061368a565b8015611a265780601f106119fb57610100808354040283529160200191611a26565b820191906000526020600020905b815481529060010190602001808311611a0957829003601f168201915b50505050509050919050565b6001600160a01b0380831660009081526006602090815260408083209387168352929052205480821115611ab3576040517ff3a6b6910000000000000000000000000000000000000000000000000000000081526001600160a01b03808516600483015260248201839052851660448201526064810183905260840161028c565b610b678385611ac28585613677565b6000604051806020016040528060008152506117c0565b6001600160a01b0385161580611af657506001600160a01b038416155b15611b1457604051630d2d5ec360e41b815260040160405180910390fd5b6001600160a01b03851660009081526004602052604090205480841115611b80576040517f08d47949000000000000000000000000000000000000000000000000000000008152600481018290526001600160a01b03871660248201526044810185905260640161028c565b611b8c86868685610b67565b6001600160a01b03861660009081526004602052604081208054869290611bb4908490613677565b90915550506001600160a01b03851660009081526004602052604081208054869290611be190849061359b565b92505081905550846001600160a01b0316866001600160a01b0316336001600160a01b03167f3997e418d2cef0b3b0e907b1e39605c3f7d32dbd061e82ea5b4a770d46a160a6878787604051611c3993929190613800565b60405180910390a4611c4d86868685610b67565b60003387878786604051602001611c68959493929190613821565b6040516020818303038152906040529050611c838782612318565b610afe868583612343565b610eab8282612436565b600260075403611cea5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161028c565b6002600755565b6060600061170e83612541565b600854611d37576040517f5058901600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d408261259c565b15611d7b5781816040517f331e2c3f00000000000000000000000000000000000000000000000000000000815260040161028c92919061385b565b60008282604051602001611d9092919061385b565b60408051601f1981840301815282825280516020918201209083015201604051602081830303815290604052805190602001209050611dd284600854836125dd565b611e0c5782826040517f4a0e7b1300000000000000000000000000000000000000000000000000000000815260040161028c92919061385b565b610b67836125f3565b6040516bffffffffffffffffffffffff1930606090811b8216602084015246603484015287901b1660548201526068810185905234608882015260009060a8016040516020818303038152906040528051906020012090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611ea382868686612631565b6001600160a01b031614611ee3576040517f04f186ef00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600085611eef88610d77565b611ef9919061359b565b9050600c54811115611f3a576040517f941b43eb0000000000000000000000000000000000000000000000000000000081526004810182905260240161028c565b6000600b5487611f4a9190613874565b9050803414611f87576040517ffe2b819500000000000000000000000000000000000000000000000000000000815234600482015260240161028c565b6040517f1817cb8e0000000000000000000000000000000000000000000000000000000081526004810182905263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166024820152600090733582f474f6e9fb087651b135d6224500a89e6f4490631817cb8e90604401602060405180830381865af415801561201f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612043919061388b565b905061204f8183613677565b600e60006120656000546001600160a01b031690565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254612094919061359b565b90915550506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166000908152600e6020526040812080548392906120e190849061359b565b909155506120f29050898984612659565b505050505050505050565b604080517fffffffffffffffffffff00000000000000000000000000000000000000000000841660208201526000602a82018190526bffffffffffffffffffffffff198416602c83015291829101604051602081830303815290604052905080612166906138a4565b949350505050565b60006001600160e01b031982167f629aa6940000000000000000000000000000000000000000000000000000000014806108e157506301ffc9a760e01b6001600160e01b03198316146108e1565b604080516001600160e01b03198316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166301ffc9a760e01b178152825160009392849283928392918391908a617530fa92503d91506000519050828015612243575060208210155b801561224f5750600081115b979650505050505050565b600061170e836001600160a01b0384166126b9565b600061170e836001600160a01b038416612708565b61229e6001600160a01b038416631aed5a8560e21b6121bc565b15610b6957604051631aed5a8560e21b81526001600160a01b03841690636bb56a14906122d1908590859060040161385b565b6000604051808303816000875af11580156122f0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b6791908101906138c8565b610eab827f429ac7a06903dbc9c13dfcb3c9d11df8194581fa047c96d7a4171fc7402958ea83612284565b61235483631aed5a8560e21b6121bc565b156123a757604051631aed5a8560e21b81526001600160a01b03841690636bb56a14906122d1907f20804611b3e2ea21c480dc465142210acf4a2485947541770ec1fb87dee4a55c90859060040161385b565b81610b69576001600160a01b0383163b156123f9576040517fa608fbb60000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260240161028c565b6040517f26c247f40000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260240161028c565b7f2145e1d6d074577dc71ef54c3807742b41b053a9352ae6b491331509acb9750f820161248f576040517f85c169bd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd0f59754f88971fe6bc5a6618cc9d5f1e859c58d16b22d1c7b2d3e2b246cd8aa82016124e8576040517f76755b3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f1fd9e056a24d14c4abc642fcc325992a946906d0dbc57dd70278aaf12842024d820161159a576040517f4ef6d7fb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606081600001805480602002602001604051908101604052809291908181526020018280548015611a2657602002820191906000526020600020905b81548152602001906001019080831161257d5750505050509050919050565b6000806125ab6101008461394c565b905060006125bb61010085613960565b60009283526009602052604090922054600190921b9182169091149392505050565b6000826125ea85846127fb565b14949350505050565b60006126016101008361394c565b9050600061261161010084613960565b6000928352600960205260409092208054600190931b9092179091555050565b600080600061264287878787612848565b9150915061264f8161290c565b5095945050505050565b60408051838152602081018390526001600160a01b038516917f25b428dfde728ccfaddad7e29e4ac23c24ed7fd1a6e3e3f91894a9a073f5dfff910160405180910390a2610b698383600060405180602001604052806000815250612a71565b6000818152600183016020526040812054612700575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108e1565b5060006108e1565b600081815260018301602052604081205480156127f157600061272c600183613677565b855490915060009061274090600190613677565b90508181146127a5576000866000018281548110612760576127606135df565b9060005260206000200154905080876000018481548110612783576127836135df565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806127b6576127b6613974565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506108e1565b60009150506108e1565b600081815b84518110156128405761282c8286838151811061281f5761281f6135df565b6020026020010151612aea565b9150806128388161398a565b915050612800565b509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561287f5750600090506003612903565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156128d3573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166128fc57600060019250925050612903565b9150600090505b94509492505050565b6000816004811115612920576129206139a3565b036129285750565b600181600481111561293c5761293c6139a3565b036129895760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161028c565b600281600481111561299d5761299d6139a3565b036129ea5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161028c565b60038160048111156129fe576129fe6139a3565b036114905760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f7565000000000000000000000000000000000000000000000000000000000000606482015260840161028c565b7f000000000000000000000000000000000000000000000000000000000000000083612a9c60035490565b612aa6919061359b565b1115612ade576040517feacbf0d100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b6784848484612b19565b6000818310612b0657600082815260208490526040902061170e565b600083815260208390526040902061170e565b6001600160a01b038416612b4057604051630d2d5ec360e41b815260040160405180910390fd5b612b4d6000858584610b67565b8260036000828254612b5f919061359b565b90915550506001600160a01b03841660009081526004602052604081208054859290612b8c90849061359b565b90915550506040516001600160a01b0385169060009033907f3997e418d2cef0b3b0e907b1e39605c3f7d32dbd061e82ea5b4a770d46a160a690612bd590889088908890613800565b60405180910390a4612bea6000858584610b67565b6000336000868685604051602001612c06959493929190613821565b6040516020818303038152906040529050610e1a858483612343565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b600060208284031215612c6357600080fd5b81356001600160e01b03198116811461170e57600080fd5b80356001600160a01b0381168114612c9257600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612cd657612cd6612c97565b604052919050565b600067ffffffffffffffff821115612cf857612cf8612c97565b50601f01601f191660200190565b600082601f830112612d1757600080fd5b8135612d2a612d2582612cde565b612cad565b818152846020838601011115612d3f57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215612d7157600080fd5b612d7a84612c7b565b925060208401359150604084013567ffffffffffffffff811115612d9d57600080fd5b612da986828701612d06565b9150509250925092565b600067ffffffffffffffff821115612dcd57612dcd612c97565b5060051b60200190565b600082601f830112612de857600080fd5b81356020612df8612d2583612db3565b82815260059290921b84018101918181019086841115612e1757600080fd5b8286015b84811015612e3957612e2c81612c7b565b8352918301918301612e1b565b509695505050505050565b600082601f830112612e5557600080fd5b81356020612e65612d2583612db3565b82815260059290921b84018101918181019086841115612e8457600080fd5b8286015b84811015612e395780358352918301918301612e88565b80358015158114612c9257600080fd5b600082601f830112612ec057600080fd5b81356020612ed0612d2583612db3565b82815260059290921b84018101918181019086841115612eef57600080fd5b8286015b84811015612e3957612f0481612e9f565b8352918301918301612ef3565b600082601f830112612f2257600080fd5b81356020612f32612d2583612db3565b82815260059290921b84018101918181019086841115612f5157600080fd5b8286015b84811015612e3957803567ffffffffffffffff811115612f755760008081fd5b612f838986838b0101612d06565b845250918301918301612f55565b600080600080600060a08688031215612fa957600080fd5b853567ffffffffffffffff80821115612fc157600080fd5b612fcd89838a01612dd7565b96506020880135915080821115612fe357600080fd5b612fef89838a01612dd7565b9550604088013591508082111561300557600080fd5b61301189838a01612e44565b9450606088013591508082111561302757600080fd5b61303389838a01612eaf565b9350608088013591508082111561304957600080fd5b5061305688828901612f11565b9150509295509295909350565b60008060006060848603121561307857600080fd5b61308184612c7b565b925061308f60208501612e9f565b9150604084013567ffffffffffffffff811115612d9d57600080fd5b6000602082840312156130bd57600080fd5b5035919050565b60005b838110156130df5781810151838201526020016130c7565b50506000910152565b600081518084526131008160208601602086016130c4565b601f01601f19169290920160200192915050565b60208152600061170e60208301846130e8565b6000806040838503121561313a57600080fd5b61314383612c7b565b915061315160208401612c7b565b90509250929050565b60008083601f84011261316c57600080fd5b50813567ffffffffffffffff81111561318457600080fd5b6020830191508360208260051b850101111561319f57600080fd5b9250929050565b600080602083850312156131b957600080fd5b823567ffffffffffffffff8111156131d057600080fd5b6131dc8582860161315a565b90969095509350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561323d57603f1988860301845261322b8583516130e8565b9450928501929085019060010161320f565b5092979650505050505050565b60006020828403121561325c57600080fd5b61170e82612c7b565b600080600080600060a0868803121561327d57600080fd5b61328686612c7b565b945061329460208701612c7b565b9350604086013592506132a960608701612e9f565b9150608086013567ffffffffffffffff8111156132c557600080fd5b61305688828901612d06565b600080604083850312156132e457600080fd5b82359150602083013567ffffffffffffffff81111561330257600080fd5b61330e85828601612d06565b9150509250929050565b6000806000806080858703121561332e57600080fd5b5050823594602084013594506040840135936060013592509050565b6000806040838503121561335d57600080fd5b823567ffffffffffffffff8082111561337557600080fd5b61338186838701612e44565b9350602085013591508082111561339757600080fd5b5061330e85828601612f11565b600080604083850312156133b757600080fd5b6133c083612c7b565b946020939093013593505050565b6020808252825182820181905260009190848201906040850190845b8181101561340f5783516001600160a01b0316835292840192918401916001016133ea565b50909695505050505050565b60006020828403121561342d57600080fd5b813567ffffffffffffffff81111561344457600080fd5b61216684828501612e44565b803560ff81168114612c9257600080fd5b60008060008060008060008060e0898b03121561347d57600080fd5b883567ffffffffffffffff81111561349457600080fd5b6134a08b828c0161315a565b909950975050602089013595506134b960408a01612c7b565b9450606089013593506134ce60808a01613450565b925060a0890135915060c089013590509295985092959890939650565b600080600080600060a0868803121561350357600080fd5b61350c86612c7b565b94506020860135935061352160408701613450565b94979396509394606081013594506080013592915050565b8385823760609290921b6bffffffffffffffffffffffff1916919092019081526014810191909152603401919050565b6000825161357b8184602087016130c4565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b808201808211156108e1576108e1613585565b6001600160a01b03841681528260208201526060604082015260006135d660608301846130e8565b95945050505050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038416815260ff831660208201526060604082015260006135d660608301846130e8565b6000808335601e1984360301811261363757600080fd5b83018035915067ffffffffffffffff82111561365257600080fd5b60200191503681900382131561319f57600080fd5b8183823760009101908152919050565b818103818111156108e1576108e1613585565b600181811c9082168061369e57607f821691505b60208210810361134b57634e487b7160e01b600052602260045260246000fd5b601f821115610b6957600081815260208120601f850160051c810160208610156136e55750805b601f850160051c820191505b818110156109f7578281556001016136f1565b815167ffffffffffffffff81111561371e5761371e612c97565b6137328161372c845461368a565b846136be565b602080601f831160018114613767576000841561374f5750858301515b600019600386901b1c1916600185901b1785556109f7565b600085815260208120601f198616915b8281101561379657888601518255948401946001909101908401613777565b50858210156137b45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805160208201516bffffffffffffffffffffffff1980821692919060148310156137f85780818460140360031b1b83161693505b505050919050565b83815282151560208201526060604082015260006135d660608301846130e8565b60006001600160a01b038088168352808716602084015280861660408401525083606083015260a0608083015261224f60a08301846130e8565b82815260406020820152600061216660408301846130e8565b80820281158282048414176108e1576108e1613585565b60006020828403121561389d57600080fd5b5051919050565b8051602080830151919081101561134b5760001960209190910360031b1b16919050565b6000602082840312156138da57600080fd5b815167ffffffffffffffff8111156138f157600080fd5b8201601f8101841361390257600080fd5b8051613910612d2582612cde565b81815285602083850101111561392557600080fd5b6135d68260208301602086016130c4565b634e487b7160e01b600052601260045260246000fd5b60008261395b5761395b613936565b500490565b60008261396f5761396f613936565b500690565b634e487b7160e01b600052603160045260246000fd5b60006001820161399c5761399c613585565b5060010190565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220f4de278d5348a5b6295b174505e1301e6d26f30880a0d161fe8b0d207a43b15b64736f6c63430008110033 +0x6101006040523480156200001257600080fd5b5060405162004132380380620041328339810160408190526200003591620004af565b838382848a8a8a60018084848483816001600160a01b0381166200006c576040516306b620db60e21b815260040160405180910390fd5b6200008281620002fe60201b620014e11760201c565b50620000d97feafec4d89fa9619884b60000a4d96624a38f7ac2d8d9a604ecf07c12c77e480c60001b604051806040016040528060048152602001632936598960e21b8152506200036c60201b620015671760201c565b620001137fdeba1e292f8ba88238e10ab3c7f88bd4be4fac56cad5194b6ecceaf653468af160001b856200036c60201b620015671760201c565b6200014d7f2f0a68ab07768e01943a599e73362a0e17a63a72e94dd2e384d2c1d4db93275660001b846200036c60201b620015671760201c565b6040805160208101839052620001a0917fe0261fa95db2eb3b5439bd033cda66d56b96f92f243a8228fd87550ed7bdfdb391016040516020818303038152906040526200036c60201b620015671760201c565b50506002805460ff19169315159390931790925550505060008490039250620001df9150505760405163acf1d8c560e01b815260040160405180910390fd5b6080526001600755604051633c7bdc1960e01b815263ffffffff82166004820152733582f474f6e9fb087651b135d6224500a89e6f4490633c7bdc1990602401602060405180830381865af41580156200023d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000263919062000579565b6200028d576040516363a0a0e760e01b815263ffffffff8216600482015260240160405180910390fd5b6001600160a01b0383161580620002ab57506001600160a01b038216155b15620002ca5760405163d92e233d60e01b815260040160405180910390fd5b600d805460ff191690556001600160a01b0392831660c052911660e05263ffffffff1660a052506200073495505050505050565b6000546001600160a01b038281169116146200036957600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0383161790555b50565b600082815260016020526040902062000386828262000633565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b282604051620003b99190620006ff565b60405180910390a25050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003f8578181015183820152602001620003de565b50506000910152565b600082601f8301126200041357600080fd5b81516001600160401b0380821115620004305762000430620003c5565b604051601f8301601f19908116603f011681019082821181831017156200045b576200045b620003c5565b816040528381528660208588010111156200047557600080fd5b62000488846020830160208901620003db565b9695505050505050565b80516001600160a01b0381168114620004aa57600080fd5b919050565b600080600080600080600060e0888a031215620004cb57600080fd5b87516001600160401b0380821115620004e357600080fd5b620004f18b838c0162000401565b985060208a01519150808211156200050857600080fd5b50620005178a828b0162000401565b965050620005286040890162000492565b9450620005386060890162000492565b9350620005486080890162000492565b925060a0880151915060c088015163ffffffff811681146200056957600080fd5b8091505092959891949750929550565b6000602082840312156200058c57600080fd5b815180151581146200059d57600080fd5b9392505050565b600181811c90821680620005b957607f821691505b602082108103620005da57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200062e57600081815260208120601f850160051c81016020861015620006095750805b601f850160051c820191505b818110156200062a5782815560010162000615565b5050505b505050565b81516001600160401b038111156200064f576200064f620003c5565b6200066781620006608454620005a4565b84620005e0565b602080601f8311600181146200069f5760008415620006865750858301515b600019600386901b1c1916600185901b1785556200062a565b600085815260208120601f198616915b82811015620006d057888601518255948401946001909101908401620006af565b5085821015620006ef5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526000825180602084015262000720816040850160208701620003db565b601f01601f19169190910160400192915050565b60805160a05160c05160e0516139a86200078a600039600081816103b40152611e2801526000818161070d015261205c0152600081816104670152611f740152600081816104e20152612a2c01526139a86000f3fe6080604052600436106102535760003560e01c8063715018a611610138578063aad3ec96116100b0578063dedff9c61161007f578063f2fde38b11610064578063f2fde38b1461078f578063f575191e146107af578063fc618071146107c5576102c7565b8063dedff9c61461075c578063edb8d1e21461077c576102c7565b8063aad3ec96146106bb578063b49506fd146106db578063d598d4c9146106fb578063d72fc29a1461072f576102c7565b80637f23690c116101075780638da5cb5b116100ec5780638da5cb5b14610654578063942cd44b1461067257806397902421146106a8576102c7565b80637f23690c146106215780638bbd437814610634576102c7565b8063715018a6146105b6578063760d9bba146105cb57806378e97925146105eb5780637b204c4e14610601576102c7565b80633c3e8ae3116101cb57806354f6127f1161019a5780636817c76c1161017f5780636817c76c146105535780636963d4381461056957806370a0823114610596576102c7565b806354f6127f1461050657806365aeaa9514610533576102c7565b80633c3e8ae3146104555780634521748e1461049e57806351b42b00146104be57806352058d8a146104d3576102c7565b80632b47da52116102225780632bc1da82116102075780632bc1da82146103ee5780632d7667c91461040e578063313ce5671461042e576102c7565b80632b47da521461038d5780632b7ac3f3146103a2576102c7565b806301ffc9a7146103085780630f15f4c01461033d57806318160ddd14610354578063186601ca14610373576102c7565b366102c757346000036102955760405163e5099ee360e01b815260040161028c9060208082526004908201526000604082015260600190565b60405180910390fd5b6040517f388f5adc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600036606060048210156102f257828260405163e5099ee360e01b815260040161028c929190612bdb565b6102fc83836107d8565b80519350602001915050f35b34801561031457600080fd5b50610328610323366004612c0a565b6108e7565b60405190151581526020015b60405180910390f35b34801561034957600080fd5b50610352610934565b005b34801561036057600080fd5b506003545b604051908152602001610334565b34801561037f57600080fd5b50600d546103289060ff1681565b34801561039957600080fd5b50610365610946565b3480156103ae57600080fd5b506103d67f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610334565b3480156103fa57600080fd5b50610352610409366004612d15565b610956565b34801561041a57600080fd5b50610352610429366004612f4a565b6109ff565b34801561043a57600080fd5b50610443610b07565b60405160ff9091168152602001610334565b34801561046157600080fd5b506104897f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff9091168152602001610334565b3480156104aa57600080fd5b506103526104b936600461301c565b610b20565b3480156104ca57600080fd5b50610352610b6e565b3480156104df57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610365565b34801561051257600080fd5b50610526610521366004613064565b610bb6565b60405161033491906130cd565b34801561053f57600080fd5b5061036561054e3660046130e0565b610bc1565b34801561055f57600080fd5b50610365600b5481565b34801561057557600080fd5b5061058961058436600461315f565b610c27565b60405161033491906131a1565b3480156105a257600080fd5b506103656105b1366004613203565b610d77565b3480156105c257600080fd5b50610352610d95565b3480156105d757600080fd5b506103526105e636600461321e565b610da7565b3480156105f757600080fd5b50610365600a5481565b34801561060d57600080fd5b5061035261061c366004612d15565b610e21565b61035261062f36600461328a565b610e7a565b34801561064057600080fd5b5061035261064f3660046132d1565b610eaf565b34801561066057600080fd5b506000546001600160a01b03166103d6565b34801561067e57600080fd5b5061036561068d366004613203565b6001600160a01b03166000908152600e602052604090205490565b6103526106b6366004613303565b610f94565b3480156106c757600080fd5b506103526106d636600461335d565b611081565b3480156106e757600080fd5b506103526106f6366004612d15565b61125d565b34801561070757600080fd5b506103d67f000000000000000000000000000000000000000000000000000000000000000081565b34801561073b57600080fd5b5061074f61074a366004613203565b611282565b6040516103349190613387565b34801561076857600080fd5b506105896107773660046133d4565b6112a6565b61035261078a36600461341a565b611351565b34801561079b57600080fd5b506103526107aa366004613203565b611403565b3480156107bb57600080fd5b50610365600c5481565b6103526107d33660046134a4565b611457565b606060006107f16000356001600160e01b0319166115bc565b5090506001600160a01b038116610842576040517fbb370b2b0000000000000000000000000000000000000000000000000000000081526001600160e01b031960003516600482015260240161028c565b600080826001600160a01b0316348787333460405160200161086794939291906134f2565b60408051601f198184030181529082905261088191613522565b60006040518083038185875af1925050503d80600081146108be576040519150601f19603f3d011682016040523d82523d6000602084013e6108c3565b606091505b509150915081156108d85792506108e1915050565b80518060208301fd5b92915050565b60006001600160e01b031982167fb3c4928f000000000000000000000000000000000000000000000000000000001480610925575061092582611666565b806108e157506108e1826116a4565b61093c6116e2565b610944611737565b565b600061095160085490565b905090565b60006109628433610bc1565b9050806000036109a9576040517fcba6e9770000000000000000000000000000000000000000000000000000000081526001600160a01b038516600482015260240161028c565b60006109b58483613554565b90506109c5338683600187611779565b60003382856040516020016109dc93929190613567565b60405160208183030381529060405290506109f7868261191e565b505050505050565b8451845181141580610a12575083518114155b80610a1e575082518114155b80610a2a575081518114155b15610a61576040517f263eee8d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610afe57610af6878281518110610a8157610a81613598565b6020026020010151878381518110610a9b57610a9b613598565b6020026020010151878481518110610ab557610ab5613598565b6020026020010151878581518110610acf57610acf613598565b6020026020010151878681518110610ae957610ae9613598565b6020026020010151610da7565b600101610a64565b50505050505050565b60025460009060ff16610b1a5750601290565b50600090565b610b2e338460008585611779565b8115610b6957600033600083604051602001610b4c939291906135ae565b6040516020818303038152906040529050610b67848261191e565b505b505050565b610b766116e2565b600d5460ff161561094457600d805460ff191690556040517f1142a68cc39970640eb3524e77b91f78be21abc64f20f5919387eb46699bb77290600090a1565b60606108e182611949565b6000826001600160a01b0316826001600160a01b031603610bfb57506001600160a01b0381166000908152600460205260409020546108e1565b506001600160a01b038082166000908152600660209081526040808320938616835292905220546108e1565b60608167ffffffffffffffff811115610c4257610c42612c50565b604051908082528060200260200182016040528015610c7557816020015b6060815260200190600190039081610c605790505b50905060005b82811015610d705760008030868685818110610c9957610c99613598565b9050602002810190610cab91906135d9565b604051610cb9929190613620565b600060405180830381855af49150503d8060008114610cf4576040519150601f19603f3d011682016040523d82523d6000602084013e610cf9565b606091505b509150915081610d4857805115610d135780518082602001fd5b6040517fb774c2840000000000000000000000000000000000000000000000000000000081526004810184905260240161028c565b80848481518110610d5b57610d5b613598565b60209081029190910101525050600101610c7b565b5092915050565b6001600160a01b0381166000908152600460205260408120546108e1565b610d9d6116e2565b61094460006114e1565b836001600160a01b0316856001600160a01b031603610df2576040517fb9afb00000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b03861614610e0d57610e0d3386856119eb565b610e1a8585858585611a92565b5050505050565b6000610e2d8433610bc1565b905082811015610e69576040517f0ef76c3500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8281036109c5338683600187611779565b610e826116e2565b3415610ea15760405163f36ba73760e01b815260040160405180910390fd5b610eab8282611c47565b5050565b610eb76116e2565b42841015610ef4576040517f76429b570000000000000000000000000000000000000000000000000000000081526004810185905260240161028c565b81600003610f2e576040517f39af805800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a849055600b839055600c829055610f4681600855565b6040805185815260208101859052908101839052606081018290527f8aeedf0ed8cd3693ef01d328f512281c622ee40528326aa6fba505184ab13a439060800160405180910390a150505050565b610f9c6116e2565b3415610fbb5760405163f36ba73760e01b815260040160405180910390fd5b8051825114610ff6576040517f3bcc897900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8151600003611031576040517f97da5f9500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8251811015610b695761107983828151811061105257611052613598565b602002602001015183838151811061106c5761106c613598565b6020026020010151611c47565b600101611034565b611089611c51565b6001600160a01b0382166110c9576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600003611103576040517f1f2a200500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600e602052604090205481811015611150576040517fffb97f810000000000000000000000000000000000000000000000000000000081526004810183905260240161028c565b336000908152600e60205260408120805484929061116f908490613630565b90915550506040516000906001600160a01b0385169084908381818185875af1925050503d80600081146111bf576040519150601f19603f3d011682016040523d82523d6000602084013e6111c4565b606091505b5050905080611211576040517fa00139f80000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024810184905260440161028c565b6040518381526001600160a01b0385169033907ff7a40077ff7a04c7e61f6f26fb13774259ddf1b6bce9ecf26a8276cdd39926839060200160405180910390a35050610eab6001600755565b61126b338484600185611779565b6000338383604051602001610b4c93929190613567565b6001600160a01b03811660009081526005602052604090206060906108e190611caa565b6060815167ffffffffffffffff8111156112c2576112c2612c50565b6040519080825280602002602001820160405280156112f557816020015b60608152602001906001900390816112e05790505b50905060005b825181101561134b5761132683828151811061131957611319613598565b6020026020010151611949565b82828151811061133857611338613598565b60209081029190910101526001016112fb565b50919050565b600d5460ff1615806113645750600a5442105b1561138257604051632e8acb0d60e01b815260040160405180910390fd5b61138a611c51565b6113e288888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080513360208201528b9350019050604051602081830303815290604052611cb7565b6113ef8585858585611dce565b6113f96001600755565b5050505050505050565b61140b6116e2565b6001600160a01b03811661144b576040517f1ad8836c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611454816114e1565b50565b600d5460ff16158061146a5750600a5442105b1561148857604051632e8acb0d60e01b815260040160405180910390fd5b611490611c51565b600854156114ca576040517f1df4698600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114d78585858585611dce565b610e1a6001600755565b6000546001600160a01b0382811691161461145457600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0383167fffffffffffffffffffffffff000000000000000000000000000000000000000090911617905550565b600082815260016020526040902061157f82826136bd565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b2826040516115b091906130cd565b60405180910390a25050565b600080806115f47fcee78b4094da86011096000000000000000000000000000000000000000000006001600160e01b031986166120b6565b9050600061160182611949565b905080516014141580156116155750805115155b1561164e57806040517f42bfe79f00000000000000000000000000000000000000000000000000000000815260040161028c91906130cd565b6116578161377d565b60601c95600195509350505050565b60006001600160e01b031982167fa918fa6b0000000000000000000000000000000000000000000000000000000014806108e157506108e182612127565b6000806116b76301ffc9a760e01b6115bc565b5090506001600160a01b0381166116d15750600092915050565b6116db8184612175565b9392505050565b336116f56000546001600160a01b031690565b6001600160a01b031614610944576040517fbf1169c500000000000000000000000000000000000000000000000000000000815233600482015260240161028c565b600d5460ff1661094457600d805460ff191660011790556040517fed1cd0670ee0c0017f550451a038818c696d0b6a9d6ce5b369e44275573cf9b090600090a1565b6001600160a01b0384166117b9576040517f6355e76600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b846001600160a01b0316846001600160a01b031603611804576040517fdab7504700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03808616600090815260066020908152604080832093881683529290522083905582156118a6576001600160a01b03851660009081526005602052604090206118549085612213565b5082856001600160a01b0316856001600160a01b03167ff772a43bfdf4729b196e3fb54a818b91a2ca6c49d10b2e16278752f9f515c25d8460405161189991906130cd565b60405180910390a4610e1a565b6001600160a01b03851660009081526005602052604090206118c89085612228565b50811515856001600160a01b0316856001600160a01b03167f0ebf5762d8855cbe012d2ca42fb33a81175e17c8a8751f8859931ba453bd41678460405161190f91906130cd565b60405180910390a45050505050565b610eab827f386072cc5a58e61263b434c722725f21031cd06e7c552cfaa06db5de8a320dbc8361223d565b600081815260016020526040902080546060919061196690613643565b80601f016020809104026020016040519081016040528092919081815260200182805461199290613643565b80156119df5780601f106119b4576101008083540402835291602001916119df565b820191906000526020600020905b8154815290600101906020018083116119c257829003601f168201915b50505050509050919050565b6001600160a01b0380831660009081526006602090815260408083209387168352929052205480821115611a6c576040517ff3a6b6910000000000000000000000000000000000000000000000000000000081526001600160a01b03808516600483015260248201839052851660448201526064810183905260840161028c565b610b678385611a7b8585613630565b600060405180602001604052806000815250611779565b6001600160a01b0385161580611aaf57506001600160a01b038416155b15611acd57604051630d2d5ec360e41b815260040160405180910390fd5b6001600160a01b03851660009081526004602052604090205480841115611b39576040517f08d47949000000000000000000000000000000000000000000000000000000008152600481018290526001600160a01b03871660248201526044810185905260640161028c565b611b4586868685610b67565b6001600160a01b03861660009081526004602052604081208054869290611b6d908490613630565b90915550506001600160a01b03851660009081526004602052604081208054869290611b9a908490613554565b92505081905550846001600160a01b0316866001600160a01b0316336001600160a01b03167f3997e418d2cef0b3b0e907b1e39605c3f7d32dbd061e82ea5b4a770d46a160a6878787604051611bf2939291906137b9565b60405180910390a4611c0686868685610b67565b60003387878786604051602001611c219594939291906137da565b6040516020818303038152906040529050611c3c87826122d1565b610afe8685836122fc565b610eab82826123ef565b600260075403611ca35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161028c565b6002600755565b606060006116db836124fa565b600854611cf0576040517f5058901600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cf982612555565b15611d345781816040517f331e2c3f00000000000000000000000000000000000000000000000000000000815260040161028c929190613814565b60008282604051602001611d49929190613814565b60408051601f1981840301815282825280516020918201209083015201604051602081830303815290604052805190602001209050611d8b8460085483612596565b611dc55782826040517f4a0e7b1300000000000000000000000000000000000000000000000000000000815260040161028c929190613814565b610b67836125ac565b6040516bffffffffffffffffffffffff1930606090811b8216602084015246603484015287901b1660548201526068810185905234608882015260009060a8016040516020818303038152906040528051906020012090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611e5c828686866125ea565b6001600160a01b031614611e9c576040517f04f186ef00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600085611ea888610d77565b611eb29190613554565b9050600c54811115611ef3576040517f941b43eb0000000000000000000000000000000000000000000000000000000081526004810182905260240161028c565b6000600b5487611f03919061382d565b9050803414611f40576040517ffe2b819500000000000000000000000000000000000000000000000000000000815234600482015260240161028c565b6040517f1817cb8e0000000000000000000000000000000000000000000000000000000081526004810182905263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166024820152600090733582f474f6e9fb087651b135d6224500a89e6f4490631817cb8e90604401602060405180830381865af4158015611fd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffc9190613844565b90506120088183613630565b600e600061201e6000546001600160a01b031690565b6001600160a01b03166001600160a01b03168152602001908152602001600020600082825461204d9190613554565b90915550506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166000908152600e60205260408120805483929061209a908490613554565b909155506120ab9050898984612612565b505050505050505050565b604080517fffffffffffffffffffff00000000000000000000000000000000000000000000841660208201526000602a82018190526bffffffffffffffffffffffff198416602c8301529182910160405160208183030381529060405290508061211f9061385d565b949350505050565b60006001600160e01b031982167f629aa6940000000000000000000000000000000000000000000000000000000014806108e157506301ffc9a760e01b6001600160e01b03198316146108e1565b604080516001600160e01b03198316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166301ffc9a760e01b178152825160009392849283928392918391908a617530fa92503d915060005190508280156121fc575060208210155b80156122085750600081115b979650505050505050565b60006116db836001600160a01b038416612672565b60006116db836001600160a01b0384166126c1565b6122576001600160a01b038416631aed5a8560e21b612175565b15610b6957604051631aed5a8560e21b81526001600160a01b03841690636bb56a149061228a9085908590600401613814565b6000604051808303816000875af11580156122a9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b679190810190613881565b610eab827f429ac7a06903dbc9c13dfcb3c9d11df8194581fa047c96d7a4171fc7402958ea8361223d565b61230d83631aed5a8560e21b612175565b1561236057604051631aed5a8560e21b81526001600160a01b03841690636bb56a149061228a907f20804611b3e2ea21c480dc465142210acf4a2485947541770ec1fb87dee4a55c908590600401613814565b81610b69576001600160a01b0383163b156123b2576040517fa608fbb60000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260240161028c565b6040517f26c247f40000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260240161028c565b7f2145e1d6d074577dc71ef54c3807742b41b053a9352ae6b491331509acb9750f8201612448576040517f85c169bd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd0f59754f88971fe6bc5a6618cc9d5f1e859c58d16b22d1c7b2d3e2b246cd8aa82016124a1576040517f76755b3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f1fd9e056a24d14c4abc642fcc325992a946906d0dbc57dd70278aaf12842024d8201611567576040517f4ef6d7fb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6060816000018054806020026020016040519081016040528092919081815260200182805480156119df57602002820191906000526020600020905b8154815260200190600101908083116125365750505050509050919050565b60008061256461010084613905565b9050600061257461010085613919565b60009283526009602052604090922054600190921b9182169091149392505050565b6000826125a385846127b4565b14949350505050565b60006125ba61010083613905565b905060006125ca61010084613919565b6000928352600960205260409092208054600190931b9092179091555050565b60008060006125fb87878787612801565b91509150612608816128c5565b5095945050505050565b60408051838152602081018390526001600160a01b038516917f25b428dfde728ccfaddad7e29e4ac23c24ed7fd1a6e3e3f91894a9a073f5dfff910160405180910390a2610b698383600060405180602001604052806000815250612a2a565b60008181526001830160205260408120546126b9575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108e1565b5060006108e1565b600081815260018301602052604081205480156127aa5760006126e5600183613630565b85549091506000906126f990600190613630565b905081811461275e57600086600001828154811061271957612719613598565b906000526020600020015490508087600001848154811061273c5761273c613598565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061276f5761276f61392d565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506108e1565b60009150506108e1565b600081815b84518110156127f9576127e5828683815181106127d8576127d8613598565b6020026020010151612aa3565b9150806127f181613943565b9150506127b9565b509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561283857506000905060036128bc565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561288c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166128b5576000600192509250506128bc565b9150600090505b94509492505050565b60008160048111156128d9576128d961395c565b036128e15750565b60018160048111156128f5576128f561395c565b036129425760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161028c565b60028160048111156129565761295661395c565b036129a35760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161028c565b60038160048111156129b7576129b761395c565b036114545760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f7565000000000000000000000000000000000000000000000000000000000000606482015260840161028c565b7f000000000000000000000000000000000000000000000000000000000000000083612a5560035490565b612a5f9190613554565b1115612a97576040517feacbf0d100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b6784848484612ad2565b6000818310612abf5760008281526020849052604090206116db565b60008381526020839052604090206116db565b6001600160a01b038416612af957604051630d2d5ec360e41b815260040160405180910390fd5b612b066000858584610b67565b8260036000828254612b189190613554565b90915550506001600160a01b03841660009081526004602052604081208054859290612b45908490613554565b90915550506040516001600160a01b0385169060009033907f3997e418d2cef0b3b0e907b1e39605c3f7d32dbd061e82ea5b4a770d46a160a690612b8e908890889088906137b9565b60405180910390a4612ba36000858584610b67565b6000336000868685604051602001612bbf9594939291906137da565b6040516020818303038152906040529050610e1a8584836122fc565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b600060208284031215612c1c57600080fd5b81356001600160e01b0319811681146116db57600080fd5b80356001600160a01b0381168114612c4b57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612c8f57612c8f612c50565b604052919050565b600067ffffffffffffffff821115612cb157612cb1612c50565b50601f01601f191660200190565b600082601f830112612cd057600080fd5b8135612ce3612cde82612c97565b612c66565b818152846020838601011115612cf857600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215612d2a57600080fd5b612d3384612c34565b925060208401359150604084013567ffffffffffffffff811115612d5657600080fd5b612d6286828701612cbf565b9150509250925092565b600067ffffffffffffffff821115612d8657612d86612c50565b5060051b60200190565b600082601f830112612da157600080fd5b81356020612db1612cde83612d6c565b82815260059290921b84018101918181019086841115612dd057600080fd5b8286015b84811015612df257612de581612c34565b8352918301918301612dd4565b509695505050505050565b600082601f830112612e0e57600080fd5b81356020612e1e612cde83612d6c565b82815260059290921b84018101918181019086841115612e3d57600080fd5b8286015b84811015612df25780358352918301918301612e41565b80358015158114612c4b57600080fd5b600082601f830112612e7957600080fd5b81356020612e89612cde83612d6c565b82815260059290921b84018101918181019086841115612ea857600080fd5b8286015b84811015612df257612ebd81612e58565b8352918301918301612eac565b600082601f830112612edb57600080fd5b81356020612eeb612cde83612d6c565b82815260059290921b84018101918181019086841115612f0a57600080fd5b8286015b84811015612df257803567ffffffffffffffff811115612f2e5760008081fd5b612f3c8986838b0101612cbf565b845250918301918301612f0e565b600080600080600060a08688031215612f6257600080fd5b853567ffffffffffffffff80821115612f7a57600080fd5b612f8689838a01612d90565b96506020880135915080821115612f9c57600080fd5b612fa889838a01612d90565b95506040880135915080821115612fbe57600080fd5b612fca89838a01612dfd565b94506060880135915080821115612fe057600080fd5b612fec89838a01612e68565b9350608088013591508082111561300257600080fd5b5061300f88828901612eca565b9150509295509295909350565b60008060006060848603121561303157600080fd5b61303a84612c34565b925061304860208501612e58565b9150604084013567ffffffffffffffff811115612d5657600080fd5b60006020828403121561307657600080fd5b5035919050565b60005b83811015613098578181015183820152602001613080565b50506000910152565b600081518084526130b981602086016020860161307d565b601f01601f19169290920160200192915050565b6020815260006116db60208301846130a1565b600080604083850312156130f357600080fd5b6130fc83612c34565b915061310a60208401612c34565b90509250929050565b60008083601f84011261312557600080fd5b50813567ffffffffffffffff81111561313d57600080fd5b6020830191508360208260051b850101111561315857600080fd5b9250929050565b6000806020838503121561317257600080fd5b823567ffffffffffffffff81111561318957600080fd5b61319585828601613113565b90969095509350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156131f657603f198886030184526131e48583516130a1565b945092850192908501906001016131c8565b5092979650505050505050565b60006020828403121561321557600080fd5b6116db82612c34565b600080600080600060a0868803121561323657600080fd5b61323f86612c34565b945061324d60208701612c34565b93506040860135925061326260608701612e58565b9150608086013567ffffffffffffffff81111561327e57600080fd5b61300f88828901612cbf565b6000806040838503121561329d57600080fd5b82359150602083013567ffffffffffffffff8111156132bb57600080fd5b6132c785828601612cbf565b9150509250929050565b600080600080608085870312156132e757600080fd5b5050823594602084013594506040840135936060013592509050565b6000806040838503121561331657600080fd5b823567ffffffffffffffff8082111561332e57600080fd5b61333a86838701612dfd565b9350602085013591508082111561335057600080fd5b506132c785828601612eca565b6000806040838503121561337057600080fd5b61337983612c34565b946020939093013593505050565b6020808252825182820181905260009190848201906040850190845b818110156133c85783516001600160a01b0316835292840192918401916001016133a3565b50909695505050505050565b6000602082840312156133e657600080fd5b813567ffffffffffffffff8111156133fd57600080fd5b61211f84828501612dfd565b803560ff81168114612c4b57600080fd5b60008060008060008060008060e0898b03121561343657600080fd5b883567ffffffffffffffff81111561344d57600080fd5b6134598b828c01613113565b9099509750506020890135955061347260408a01612c34565b94506060890135935061348760808a01613409565b925060a0890135915060c089013590509295985092959890939650565b600080600080600060a086880312156134bc57600080fd5b6134c586612c34565b9450602086013593506134da60408701613409565b94979396509394606081013594506080013592915050565b8385823760609290921b6bffffffffffffffffffffffff1916919092019081526014810191909152603401919050565b6000825161353481846020870161307d565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b808201808211156108e1576108e161353e565b6001600160a01b038416815282602082015260606040820152600061358f60608301846130a1565b95945050505050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038416815260ff8316602082015260606040820152600061358f60608301846130a1565b6000808335601e198436030181126135f057600080fd5b83018035915067ffffffffffffffff82111561360b57600080fd5b60200191503681900382131561315857600080fd5b8183823760009101908152919050565b818103818111156108e1576108e161353e565b600181811c9082168061365757607f821691505b60208210810361134b57634e487b7160e01b600052602260045260246000fd5b601f821115610b6957600081815260208120601f850160051c8101602086101561369e5750805b601f850160051c820191505b818110156109f7578281556001016136aa565b815167ffffffffffffffff8111156136d7576136d7612c50565b6136eb816136e58454613643565b84613677565b602080601f83116001811461372057600084156137085750858301515b600019600386901b1c1916600185901b1785556109f7565b600085815260208120601f198616915b8281101561374f57888601518255948401946001909101908401613730565b508582101561376d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805160208201516bffffffffffffffffffffffff1980821692919060148310156137b15780818460140360031b1b83161693505b505050919050565b838152821515602082015260606040820152600061358f60608301846130a1565b60006001600160a01b038088168352808716602084015280861660408401525083606083015260a0608083015261220860a08301846130a1565b82815260406020820152600061211f60408301846130a1565b80820281158282048414176108e1576108e161353e565b60006020828403121561385657600080fd5b5051919050565b8051602080830151919081101561134b5760001960209190910360031b1b16919050565b60006020828403121561389357600080fd5b815167ffffffffffffffff8111156138aa57600080fd5b8201601f810184136138bb57600080fd5b80516138c9612cde82612c97565b8181528560208385010111156138de57600080fd5b61358f82602083016020860161307d565b634e487b7160e01b600052601260045260246000fd5b600082613914576139146138ef565b500490565b600082613928576139286138ef565b500690565b634e487b7160e01b600052603160045260246000fd5b6000600182016139555761395561353e565b5060010190565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220f04d7265adc135359f6d998570200d5bb9033369863679958f878e7a37ddc67e64736f6c63430008110033 diff --git a/artifacts/bytecode/drops/LSP8DropsDigitalAsset.bin b/artifacts/bytecode/drops/LSP8DropsDigitalAsset.bin index 712fea2..516cc50 100644 --- a/artifacts/bytecode/drops/LSP8DropsDigitalAsset.bin +++ b/artifacts/bytecode/drops/LSP8DropsDigitalAsset.bin @@ -1 +1 @@ -0x6101006040523480156200001257600080fd5b5060405162004f4538038062004f45833981016040819052620000359162000606565b838382848a8a8a6001600084848484816001600160a01b038116620000b05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b620000c6816200037e60201b620019e21760201c565b506200011d7feafec4d89fa9619884b60000a4d96624a38f7ac2d8d9a604ecf07c12c77e480c60001b604051806040016040528060048152602001632936598960e21b815250620003e560201b62001a541760201c565b620001577fdeba1e292f8ba88238e10ab3c7f88bd4be4fac56cad5194b6ecceaf653468af160001b85620003e560201b62001a541760201c565b620001917f2f0a68ab07768e01943a599e73362a0e17a63a72e94dd2e384d2c1d4db93275660001b84620003e560201b62001a541760201c565b6040805160208101839052620001e4917fe0261fa95db2eb3b5439bd033cda66d56b96f92f243a8228fd87550ed7bdfdb39101604051602081830303815290604052620003e560201b62001a541760201c565b505060408051602081018590526200023b93507f341bc44e55234544c70af9d37b2cb8cc7ba74685b58526221de2cc977f4699249250016040516020818303038152906040526200043e60201b62001aa91760201c565b505050505080600003620002625760405163038d9fc360e41b815260040160405180910390fd5b6080526001600955604051633c7bdc1960e01b815263ffffffff82166004820152733582f474f6e9fb087651b135d6224500a89e6f4490633c7bdc1990602401602060405180830381865af4158015620002c0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002e69190620006d0565b6200030d576040516363a0a0e760e01b815263ffffffff82166004820152602401620000a7565b6001600160a01b03831615806200032b57506001600160a01b038216155b156200034a5760405163d92e233d60e01b815260040160405180910390fd5b600f805460ff191690556001600160a01b0392831660c052911660e05263ffffffff1660a052506200088b95505050505050565b6000546001600160a01b03828116911614620003e257600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a3505b50565b6000828152600160205260409020620003ff82826200078a565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b28260405162000432919062000856565b60405180910390a25050565b6200045582826200045960201b62001aaf1760201c565b5050565b7f2145e1d6d074577dc71ef54c3807742b41b053a9352ae6b491331509acb9750f82016200049a576040516385c169bd60e01b815260040160405180910390fd5b7fd0f59754f88971fe6bc5a6618cc9d5f1e859c58d16b22d1c7b2d3e2b246cd8aa8201620004db57604051630eceab6760e31b815260040160405180910390fd5b7f1fd9e056a24d14c4abc642fcc325992a946906d0dbc57dd70278aaf12842024d8201620003e557604051634ef6d7fb60e01b815260040160405180910390fd5b634e487b7160e01b600052604160045260246000fd5b60005b838110156200054f57818101518382015260200162000535565b50506000910152565b600082601f8301126200056a57600080fd5b81516001600160401b03808211156200058757620005876200051c565b604051601f8301601f19908116603f01168101908282118183101715620005b257620005b26200051c565b81604052838152866020858801011115620005cc57600080fd5b620005df84602083016020890162000532565b9695505050505050565b80516001600160a01b03811681146200060157600080fd5b919050565b600080600080600080600060e0888a0312156200062257600080fd5b87516001600160401b03808211156200063a57600080fd5b620006488b838c0162000558565b985060208a01519150808211156200065f57600080fd5b506200066e8a828b0162000558565b9650506200067f60408901620005e9565b94506200068f60608901620005e9565b93506200069f60808901620005e9565b925060a0880151915060c088015163ffffffff81168114620006c057600080fd5b8091505092959891949750929550565b600060208284031215620006e357600080fd5b81518015158114620006f457600080fd5b9392505050565b600181811c908216806200071057607f821691505b6020821081036200073157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200078557600081815260208120601f850160051c81016020861015620007605750805b601f850160051c820191505b8181101562000781578281556001016200076c565b5050505b505050565b81516001600160401b03811115620007a657620007a66200051c565b620007be81620007b78454620006fb565b8462000737565b602080601f831160018114620007f65760008415620007dd5750858301515b600019600386901b1c1916600185901b17855562000781565b600085815260208120601f198616915b82811015620008275788860151825594840194600190910190840162000806565b5085821015620008465787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208152600082518060208401526200087781604085016020870162000532565b601f01601f19169190910160400192915050565b60805160a05160c05160e051614664620008e16000396000818161048e01526125b201526000818161082f01526127e601526000818161050201526126fe0152600081816105aa01526133f301526146646000f3fe6080604052600436106102d55760003560e01c80637e87632c11610179578063ae0646d7116100d6578063dedff9c61161008a578063f2fde38b11610064578063f2fde38b146108d9578063f575191e146108f9578063fc6180711461090f57610349565b8063dedff9c614610886578063e7bb5942146108a6578063edb8d1e2146108c657610349565b8063d598d4c9116100bb578063d598d4c91461081d578063db8c966314610851578063dd5ffa1e1461087157610349565b8063ae0646d7146107dd578063c797c777146107fd57610349565b806392a91a3a1161012d5780639790242111610112578063979024211461077d578063a3b261f214610790578063aad3ec96146107bd57610349565b806392a91a3a1461071a578063942cd44b1461074757610349565b806386a10ddd1161015e57806386a10ddd146106bc5780638bbd4378146106dc5780638da5cb5b146106fc57610349565b80637e87632c146106895780637f23690c146106a957610349565b80633c3e8ae31161023257806354f6127f116101e657806370a08231116101c057806370a082311461063e578063715018a61461065e57806378e979251461067357610349565b806354f6127f146105ce5780636817c76c146105fb5780636963d4381461061157610349565b8063511b695211610217578063511b69521461056657806351b42b001461058657806352058d8a1461059b57610349565b80633c3e8ae3146104f057806349a6078d1461053957610349565b80632a3654a4116102895780632b7ac3f31161026e5780632b7ac3f31461047c57806337e3f8dc146104b05780633b38c1d7146104d057610349565b80632a3654a4146104475780632b47da521461046757610349565b806318160ddd116102ba57806318160ddd146103d6578063186601ca146103f5578063217b22701461040f57610349565b806301ffc9a71461038a5780630f15f4c0146103bf57610349565b3661034957346000036103175760405163e5099ee360e01b815260040161030e9060208082526004908201526000604082015260600190565b60405180910390fd5b6040517f61f4944200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000366060600482101561037457828260405163e5099ee360e01b815260040161030e9291906135c9565b61037e8383610922565b80519350602001915050f35b34801561039657600080fd5b506103aa6103a53660046135f8565b610a31565b60405190151581526020015b60405180910390f35b3480156103cb57600080fd5b506103d4610a7e565b005b3480156103e257600080fd5b506002545b6040519081526020016103b6565b34801561040157600080fd5b50600f546103aa9060ff1681565b34801561041b57600080fd5b5061042f61042a366004613622565b610a90565b6040516001600160a01b0390911681526020016103b6565b34801561045357600080fd5b506103aa610462366004613657565b610ac9565b34801561047357600080fd5b506103e7610ae5565b34801561048857600080fd5b5061042f7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104bc57600080fd5b506103d46104cb366004613681565b610af5565b3480156104dc57600080fd5b506103d46104eb3660046137b8565b610b48565b3480156104fc57600080fd5b506105247f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff90911681526020016103b6565b34801561054557600080fd5b50610559610554366004613622565b610b60565b6040516103b69190613808565b34801561057257600080fd5b506103d4610581366004613865565b610b82565b34801561059257600080fd5b506103d4610bdf565b3480156105a757600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103e7565b3480156105da57600080fd5b506105ee6105e9366004613622565b610c27565b6040516103b6919061392e565b34801561060757600080fd5b506103e7600d5481565b34801561061d57600080fd5b5061063161062c36600461398d565b610c32565b6040516103b691906139cf565b34801561064a57600080fd5b506103e7610659366004613a31565b610d82565b34801561066a57600080fd5b506103d4610d8d565b34801561067f57600080fd5b506103e7600c5481565b34801561069557600080fd5b506103d46106a4366004613c1a565b610d9f565b6103d46106b7366004613cdf565b610ea7565b3480156106c857600080fd5b506103d46106d7366004613d26565b610edc565b3480156106e857600080fd5b506103d46106f7366004613d67565b61106f565b34801561070857600080fd5b506000546001600160a01b031661042f565b34801561072657600080fd5b506103e7610735366004613622565b60009081526007602052604090205490565b34801561075357600080fd5b506103e7610762366004613a31565b6001600160a01b031660009081526010602052604090205490565b6103d461078b366004613d99565b611154565b34801561079c57600080fd5b506107b06107ab366004613a31565b611241565b6040516103b69190613e2e565b3480156107c957600080fd5b506103d46107d8366004613657565b611265565b3480156107e957600080fd5b506103d46107f8366004613e41565b611441565b34801561080957600080fd5b50610631610818366004613ebf565b61153e565b34801561082957600080fd5b5061042f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561085d57600080fd5b506103d461086c366004613f19565b6115fd565b34801561087d57600080fd5b506105ee6116d1565b34801561089257600080fd5b506106316108a1366004613f81565b61175f565b3480156108b257600080fd5b506105ee6108c1366004613fb6565b61180a565b6103d46108d4366004613fe9565b611816565b3480156108e557600080fd5b506103d46108f4366004613a31565b6118c8565b34801561090557600080fd5b506103e7600e5481565b6103d461091d366004614073565b611958565b6060600061093b6000356001600160e01b031916611bba565b5090506001600160a01b03811661098c576040517fbb370b2b0000000000000000000000000000000000000000000000000000000081526001600160e01b031960003516600482015260240161030e565b600080826001600160a01b031634878733346040516020016109b194939291906140c1565b60408051601f19818403018152908290526109cb916140f1565b60006040518083038185875af1925050503d8060008114610a08576040519150601f19603f3d011682016040523d82523d6000602084013e610a0d565b606091505b50915091508115610a22579250610a2b915050565b80518060208301fd5b92915050565b60006001600160e01b031982167fecad9f75000000000000000000000000000000000000000000000000000000001480610a6f5750610a6f82611c64565b80610a2b5750610a2b82611ca2565b610a86611cd9565b610a8e611d42565b565b6000818152600360205260408120546001600160a01b031680610a2b57604051635747cd1b60e11b81526004810184905260240161030e565b6000610ad482611d84565b610ade8383611dbc565b9392505050565b6000610af0600a5490565b905090565b610afd611cd9565b6011610b0a828483614187565b507ff85f74f3190acca77203c20a6d4934fd0908afeec893df8bc8c9ca6edfbf9be88282604051610b3c9291906135c9565b60405180910390a15050565b610b50611cd9565b610b5b838383611df9565b505050565b6060610b6b82611d84565b6000828152600560205260409020610a2b90611e89565b610b8c3384611dbc565b610bcb576040517f1294d2a90000000000000000000000000000000000000000000000000000000081526004810184905233602482015260440161030e565b610bd88585858585611e96565b5050505050565b610be7611cd9565b600f5460ff1615610a8e57600f805460ff191690556040517f1142a68cc39970640eb3524e77b91f78be21abc64f20f5919387eb46699bb77290600090a1565b6060610a2b82612084565b60608167ffffffffffffffff811115610c4d57610c4d6136f3565b604051908082528060200260200182016040528015610c8057816020015b6060815260200190600190039081610c6b5790505b50905060005b82811015610d7b5760008030868685818110610ca457610ca4614247565b9050602002810190610cb6919061425d565b604051610cc49291906142a4565b600060405180830381855af49150503d8060008114610cff576040519150601f19603f3d011682016040523d82523d6000602084013e610d04565b606091505b509150915081610d5357805115610d1e5780518082602001fd5b6040517f234eb8190000000000000000000000000000000000000000000000000000000081526004810184905260240161030e565b80848481518110610d6657610d66614247565b60209081029190910101525050600101610c86565b5092915050565b6000610a2b82612194565b610d95611cd9565b610a8e60006119e2565b8451845181141580610db2575083518114155b80610dbe575082518114155b80610dca575081518114155b15610e01576040517f93a8311900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610e9e57610e96878281518110610e2157610e21614247565b6020026020010151878381518110610e3b57610e3b614247565b6020026020010151878481518110610e5557610e55614247565b6020026020010151878581518110610e6f57610e6f614247565b6020026020010151878681518110610e8957610e89614247565b6020026020010151610b82565b600101610e04565b50505050505050565b610eaf611cd9565b3415610ece5760405163f36ba73760e01b815260040160405180910390fd5b610ed882826121b5565b5050565b6000610ee783610a90565b90506001600160a01b0381163314610f2a57604051632d938f5160e11b81526001600160a01b03821660048201526024810184905233604482015260640161030e565b6001600160a01b038416610f5157604051639577b8b360e01b815260040160405180910390fd5b836001600160a01b0316816001600160a01b031603610f83576040516344fed6b160e11b815260040160405180910390fd5b6000838152600560205260408120610f9b9086612218565b905080610fe6576040517fa7626b680000000000000000000000000000000000000000000000000000000081526001600160a01b03861660048201526024810185905260440161030e565b83826001600160a01b0316866001600160a01b03167f1b1b58aa2ec0cec2228b2d37124556d41f5a1f7b12f089171f896cc2366712158660405161102a919061392e565b60405180910390a46000338560018660405160200161104c94939291906142b4565b6040516020818303038152906040529050611067868261222d565b505050505050565b611077611cd9565b428410156110b4576040517f76429b570000000000000000000000000000000000000000000000000000000081526004810185905260240161030e565b816000036110ee576040517f39af805800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c849055600d839055600e82905561110681600a55565b6040805185815260208101859052908101839052606081018290527f8aeedf0ed8cd3693ef01d328f512281c622ee40528326aa6fba505184ab13a439060800160405180910390a150505050565b61115c611cd9565b341561117b5760405163f36ba73760e01b815260040160405180910390fd5b80518251146111b6576040517f3bcc897900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81516000036111f1576040517f97da5f9500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8251811015610b5b5761123983828151811061121257611212614247565b602002602001015183838151811061122c5761122c614247565b60200260200101516121b5565b6001016111f4565b6001600160a01b0381166000908152600460205260409020606090610a2b90611e89565b61126d612258565b6001600160a01b0382166112ad576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000036112e7576040517f1f2a200500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360009081526010602052604090205481811015611334576040517fffb97f810000000000000000000000000000000000000000000000000000000081526004810183905260240161030e565b3360009081526010602052604081208054849290611353908490614304565b90915550506040516000906001600160a01b0385169084908381818185875af1925050503d80600081146113a3576040519150601f19603f3d011682016040523d82523d6000602084013e6113a8565b606091505b50509050806113f5576040517fa00139f80000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024810184905260440161030e565b6040518381526001600160a01b0385169033907ff7a40077ff7a04c7e61f6f26fb13774259ddf1b6bce9ecf26a8276cdd39926839060200160405180910390a35050610ed86001600955565b611449611cd9565b8151835114158061145c57508051825114155b15611493576040517f2fa71dfe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82516000036114ce576040517f80c9830500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8351811015611538576115308482815181106114ef576114ef614247565b602002602001015184838151811061150957611509614247565b602002602001015184848151811061152357611523614247565b6020026020010151611df9565b6001016114d1565b50505050565b6060825167ffffffffffffffff81111561155a5761155a6136f3565b60405190808252806020026020018201604052801561158d57816020015b60608152602001906001900390816115785790505b50905060005b8351811015610d7b576115d88482815181106115b1576115b1614247565b60200260200101518483815181106115cb576115cb614247565b60200260200101516122b1565b8282815181106115ea576115ea614247565b6020908102919091010152600101611593565b600061160884610a90565b90506001600160a01b038116331461164b57604051632d938f5160e11b81526001600160a01b03821660048201526024810185905233604482015260640161030e565b6001600160a01b03851661167257604051639577b8b360e01b815260040160405180910390fd5b846001600160a01b0316816001600160a01b0316036116a4576040516344fed6b160e11b815260040160405180910390fd5b6116b18582868686612388565b8215610bd8576000338560008560405160200161104c94939291906142b4565b601180546116de9061410d565b80601f016020809104026020016040519081016040528092919081815260200182805461170a9061410d565b80156117575780601f1061172c57610100808354040283529160200191611757565b820191906000526020600020905b81548152906001019060200180831161173a57829003601f168201915b505050505081565b6060815167ffffffffffffffff81111561177b5761177b6136f3565b6040519080825280602002602001820160405280156117ae57816020015b60608152602001906001900390816117995790505b50905060005b8251811015611804576117df8382815181106117d2576117d2614247565b6020026020010151612084565b8282815181106117f1576117f1614247565b60209081029190910101526001016117b4565b50919050565b6060610ade83836122b1565b600f5460ff1615806118295750600c5442105b1561184757604051632e8acb0d60e01b815260040160405180910390fd5b61184f612258565b6118a788888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080513360208201528b9350019050604051602081830303815290604052612441565b6118b48585858585612558565b6118be6001600955565b5050505050505050565b6118d0611cd9565b6001600160a01b03811661194c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161030e565b611955816119e2565b50565b600f5460ff16158061196b5750600c5442105b1561198957604051632e8acb0d60e01b815260040160405180910390fd5b611991612258565b600a54156119cb576040517f1df4698600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119d88585858585612558565b610bd86001600955565b6000546001600160a01b0382811691161461195557600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000828152600160205260409020611a6c8282614317565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b282604051611a9d919061392e565b60405180910390a25050565b610ed882825b7f2145e1d6d074577dc71ef54c3807742b41b053a9352ae6b491331509acb9750f8201611b08576040517f85c169bd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd0f59754f88971fe6bc5a6618cc9d5f1e859c58d16b22d1c7b2d3e2b246cd8aa8201611b61576040517f76755b3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f1fd9e056a24d14c4abc642fcc325992a946906d0dbc57dd70278aaf12842024d8201611a54576040517f4ef6d7fb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008080611bf27fcee78b4094da86011096000000000000000000000000000000000000000000006001600160e01b03198616612840565b90506000611bff826128b1565b90508051601414158015611c135750805115155b15611c4c57806040517f42bfe79f00000000000000000000000000000000000000000000000000000000815260040161030e919061392e565b611c55816143d7565b60601c95600195509350505050565b60006001600160e01b031982167fa918fa6b000000000000000000000000000000000000000000000000000000001480610a2b5750610a2b82612953565b600080611cb56301ffc9a760e01b611bba565b5090506001600160a01b038116611ccf5750600092915050565b610ade81846129a1565b33611cec6000546001600160a01b031690565b6001600160a01b031614610a8e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161030e565b600f5460ff16610a8e57600f805460ff191660011790556040517fed1cd0670ee0c0017f550451a038818c696d0b6a9d6ce5b369e44275573cf9b090600090a1565b6000818152600360205260409020546001600160a01b031661195557604051635747cd1b60e11b81526004810182905260240161030e565b6000611dc782610a90565b6001600160a01b0316836001600160a01b03161480610ade57506000828152600560205260409020610ade9084612a3f565b80600160008585604051602001611e1a929190918252602082015260400190565b6040516020818303038152906040528051906020012081526020019081526020016000209081611e4a9190614317565b5081837fa6e4251f855f750545fe414f120db91c76b88def14d120969e5bb2d3f05debbb83604051611e7c919061392e565b60405180910390a3505050565b60606000610ade83612a61565b836001600160a01b0316856001600160a01b031603611ee1576040517f5d67d6c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611eec84610a90565b9050856001600160a01b0316816001600160a01b031614611f3a57604051632d938f5160e11b81526001600160a01b038083166004830152602482018690528716604482015260640161030e565b6001600160a01b038516611f61576040516324ecef4d60e01b815260040160405180910390fd5b611f6d86868685612abc565b611f7684610a90565b9050611f828685612ac8565b6001600160a01b0386166000908152600460205260409020611fa49085612b20565b506001600160a01b0385166000908152600460205260409020611fc79085612b2c565b5060008481526003602052604090819020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0388811691821790925591518692918916907fb333c813a7426a7a11e2b190cad52c44119421594b47f6f32ace6d8c7207b2bf9061203b90339089908990614413565b60405180910390a46000338787878660405160200161205e959493929190614446565b60405160208183030381529060405290506120798782612b38565b610e9e868583612b63565b60606000612091836128b1565b9050805160001480156120c557507f1339e76a390b7b9ec90100000000000000000000000000000000000000000000838116145b15610a2b5760006120f57f1a7628600c3bac7101f53697f48df381ddc36b9015e7d7c9c5633d1252aa28436128b1565b90508051600003610d7b576011805461210d9061410d565b80601f01602080910402602001604051908101604052809291908181526020018280546121399061410d565b80156121865780601f1061215b57610100808354040283529160200191612186565b820191906000526020600020905b81548152906001019060200180831161216957829003601f168201915b505050505092505050919050565b6001600160a01b0381166000908152600460205260408120610a2b90612c9d565b7fcbe43bb1aadcbabb38f5062c84d347338458b97a4a7ad9dde21d336880b966dc820161220e576040517fce0c755200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ed88282611aa9565b6000610ade836001600160a01b038416612ca7565b610ed8827f8a1c15a8799f71b547e08e2bcb2e85257e81b0a07eee2ce6712549eef1f0097083612cf6565b6002600954036122aa5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161030e565b6002600955565b60606001600084846040516020016122d3929190918252602082015260400190565b60405160208183030381529060405280519060200120815260200190815260200160002080546123029061410d565b80601f016020809104026020016040519081016040528092919081815260200182805461232e9061410d565b801561237b5780601f106123505761010080835404028352916020019161237b565b820191906000526020600020905b81548152906001019060200180831161235e57829003601f168201915b5050505050905092915050565b60008381526005602052604081206123a09087612d43565b9050806123eb576040517f4aa31a8c0000000000000000000000000000000000000000000000000000000081526001600160a01b03871660048201526024810185905260440161030e565b83856001600160a01b0316876001600160a01b03167fc78cd419d6136f9f1c1c6aec1d3fae098cffaf8bc86314a8f2685e32fe574e3c8686604051612431929190614480565b60405180910390a4505050505050565b600a5461247a576040517f5058901600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61248382612d58565b156124be5781816040517f331e2c3f00000000000000000000000000000000000000000000000000000000815260040161030e92919061449b565b600082826040516020016124d392919061449b565b60408051601f198184030181528282528051602091820120908301520160405160208183030381529060405280519060200120905061251584600a5483612d99565b61254f5782826040517f4a0e7b1300000000000000000000000000000000000000000000000000000000815260040161030e92919061449b565b61153883612daf565b6040516bffffffffffffffffffffffff1930606090811b8216602084015246603484015287901b1660548201526068810185905234608882015260009060a8016040516020818303038152906040528051906020012090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166125e682868686612ded565b6001600160a01b031614612626576040517f04f186ef00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008561263288610d82565b61263c91906144b4565b9050600e5481111561267d576040517f941b43eb0000000000000000000000000000000000000000000000000000000081526004810182905260240161030e565b6000600d548761268d91906144c7565b90508034146126ca576040517ffe2b819500000000000000000000000000000000000000000000000000000000815234600482015260240161030e565b6040517f1817cb8e0000000000000000000000000000000000000000000000000000000081526004810182905263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166024820152600090733582f474f6e9fb087651b135d6224500a89e6f4490631817cb8e90604401602060405180830381865af4158015612762573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061278691906144de565b90506127928183614304565b601060006127a86000546001600160a01b031690565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546127d791906144b4565b90915550506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016600090815260106020526040812080548392906128249084906144b4565b909155506128359050898984612e15565b505050505050505050565b604080517fffffffffffffffffffff00000000000000000000000000000000000000000000841660208201526000602a82018190526bffffffffffffffffffffffff198416602c830152918291016040516020818303038152906040529050806128a9906144f7565b949350505050565b60008181526001602052604090208054606091906128ce9061410d565b80601f01602080910402602001604051908101604052809291908181526020018280546128fa9061410d565b80156129475780601f1061291c57610100808354040283529160200191612947565b820191906000526020600020905b81548152906001019060200180831161292a57829003601f168201915b50505050509050919050565b60006001600160e01b031982167f629aa694000000000000000000000000000000000000000000000000000000001480610a2b57506301ffc9a760e01b6001600160e01b0319831614610a2b565b604080516001600160e01b03198316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166301ffc9a760e01b178152825160009392849283928392918391908a617530fa92503d91506000519050828015612a28575060208210155b8015612a345750600081115b979650505050505050565b6001600160a01b03811660009081526001830160205260408120541515610ade565b60608160000180548060200260200160405190810160405280929190818152602001828054801561294757602002820191906000526020600020905b815481526020019060010190808311612a9d5750505050509050919050565b61153884848484612f50565b600081815260056020526040812090612ae082612c9d565b90506000805b8281101561106757612af9846000613017565b9150612b18828787600060405180602001604052806000815250612388565b600101612ae6565b6000610ade8383613023565b6000610ade8383612ca7565b610ed8827fb23eae7e6d1564b295b4c3e3be402d9a2f0776c57bdf365903496f6fa481ab0083612cf6565b612b7483631aed5a8560e21b6129a1565b15612c0e57604051631aed5a8560e21b81526001600160a01b03841690636bb56a1490612bc7907f0b084a55ebf70fd3c06fd755269dac2212c4d3f0f4d09079780bfa50c1b2984d90859060040161449b565b6000604051808303816000875af1158015612be6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611538919081019061451b565b81610b5b576001600160a01b0383163b15612c60576040517f4349776d0000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260240161030e565b6040517f031731370000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260240161030e565b6000610a2b825490565b6000818152600183016020526040812054612cee57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a2b565b506000610a2b565b612d106001600160a01b038416631aed5a8560e21b6129a1565b15610b5b57604051631aed5a8560e21b81526001600160a01b03841690636bb56a1490612bc7908590859060040161449b565b6000610ade836001600160a01b038416613023565b600080612d676101008461459f565b90506000612d77610100856145b3565b6000928352600b602052604090922054600190921b9182169091149392505050565b600082612da68584613116565b14949350505050565b6000612dbd6101008361459f565b90506000612dcd610100846145b3565b6000928352600b60205260409092208054600190931b9092179091555050565b6000806000612dfe87878787613163565b91509150612e0b81613227565b5095945050505050565b60008267ffffffffffffffff811115612e3057612e306136f3565b604051908082528060200260200182016040528015612e59578160200160208202803683370190505b50905060006012546001612e6d91906144b4565b90508360126000828254612e8191906144b4565b90915550600090505b84811015612ec457612e9c81836144b4565b60001b838281518110612eb157612eb1614247565b6020908102919091010152600101612e8a565b50846001600160a01b03167f3c48674dd1f5f1f6cbbeaa3b830f54a7b75f5c1598e1ea94b968ea1424f7bff38385604051612f009291906145c7565b60405180910390a260005b8481101561106757612f4886848381518110612f2957612f29614247565b602002602001015160006040518060200160405280600081525061338c565b600101612f0b565b6001600160a01b038416612f8a576000612f6960025490565b60008181526007602090815260408083208790558683526008909152902055505b6001600160a01b0383166130125760006001612fa560025490565b612faf9190614304565b60008481526008602052604090205490915081811015612ff1576000828152600760209081526040808320548484528184208190558352600890915290208190555b50600090815260076020908152604080832083905584835260089091528120555b611538565b6000610ade8383613398565b6000818152600183016020526040812054801561310c576000613047600183614304565b855490915060009061305b90600190614304565b90508181146130c057600086600001828154811061307b5761307b614247565b906000526020600020015490508087600001848154811061309e5761309e614247565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806130d1576130d16145e9565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610a2b565b6000915050610a2b565b600081815b845181101561315b576131478286838151811061313a5761313a614247565b60200260200101516133c2565b915080613153816145ff565b91505061311b565b509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561319a575060009050600361321e565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156131ee573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166132175760006001925092505061321e565b9150600090505b94509492505050565b600081600481111561323b5761323b614618565b036132435750565b600181600481111561325757613257614618565b036132a45760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161030e565b60028160048111156132b8576132b8614618565b036133055760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161030e565b600381600481111561331957613319614618565b036119555760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f7565000000000000000000000000000000000000000000000000000000000000606482015260840161030e565b611538848484846133f1565b60008260000182815481106133af576133af614247565b9060005260206000200154905092915050565b60008183106133de576000828152602084905260409020610ade565b6000838152602083905260409020610ade565b7f00000000000000000000000000000000000000000000000000000000000000006002546134209060016144b4565b1115613458576040517fe8ba229100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611538848484846001600160a01b038416613486576040516324ecef4d60e01b815260040160405180910390fd5b6134936000858584612abc565b6000838152600360205260409020546001600160a01b0316156134e5576040517f34c7b5110000000000000000000000000000000000000000000000000000000081526004810184905260240161030e565b6002600081546134f4906145ff565b909155506001600160a01b038416600090815260046020526040902061351a9084612b2c565b50600083815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03881690811790915590518592907fb333c813a7426a7a11e2b190cad52c44119421594b47f6f32ace6d8c7207b2bf9061358990339088908890614413565b60405180910390a460003360008686856040516020016135ad959493929190614446565b6040516020818303038152906040529050610bd8858483612b63565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60006020828403121561360a57600080fd5b81356001600160e01b031981168114610ade57600080fd5b60006020828403121561363457600080fd5b5035919050565b80356001600160a01b038116811461365257600080fd5b919050565b6000806040838503121561366a57600080fd5b6136738361363b565b946020939093013593505050565b6000806020838503121561369457600080fd5b823567ffffffffffffffff808211156136ac57600080fd5b818501915085601f8301126136c057600080fd5b8135818111156136cf57600080fd5b8660208285010111156136e157600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613732576137326136f3565b604052919050565b600067ffffffffffffffff821115613754576137546136f3565b50601f01601f191660200190565b600082601f83011261377357600080fd5b81356137866137818261373a565b613709565b81815284602083860101111561379b57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156137cd57600080fd5b8335925060208401359150604084013567ffffffffffffffff8111156137f257600080fd5b6137fe86828701613762565b9150509250925092565b6020808252825182820181905260009190848201906040850190845b818110156138495783516001600160a01b031683529284019291840191600101613824565b50909695505050505050565b8035801515811461365257600080fd5b600080600080600060a0868803121561387d57600080fd5b6138868661363b565b94506138946020870161363b565b9350604086013592506138a960608701613855565b9150608086013567ffffffffffffffff8111156138c557600080fd5b6138d188828901613762565b9150509295509295909350565b60005b838110156138f95781810151838201526020016138e1565b50506000910152565b6000815180845261391a8160208601602086016138de565b601f01601f19169290920160200192915050565b602081526000610ade6020830184613902565b60008083601f84011261395357600080fd5b50813567ffffffffffffffff81111561396b57600080fd5b6020830191508360208260051b850101111561398657600080fd5b9250929050565b600080602083850312156139a057600080fd5b823567ffffffffffffffff8111156139b757600080fd5b6139c385828601613941565b90969095509350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015613a2457603f19888603018452613a12858351613902565b945092850192908501906001016139f6565b5092979650505050505050565b600060208284031215613a4357600080fd5b610ade8261363b565b600067ffffffffffffffff821115613a6657613a666136f3565b5060051b60200190565b600082601f830112613a8157600080fd5b81356020613a9161378183613a4c565b82815260059290921b84018101918181019086841115613ab057600080fd5b8286015b84811015613ad257613ac58161363b565b8352918301918301613ab4565b509695505050505050565b600082601f830112613aee57600080fd5b81356020613afe61378183613a4c565b82815260059290921b84018101918181019086841115613b1d57600080fd5b8286015b84811015613ad25780358352918301918301613b21565b600082601f830112613b4957600080fd5b81356020613b5961378183613a4c565b82815260059290921b84018101918181019086841115613b7857600080fd5b8286015b84811015613ad257613b8d81613855565b8352918301918301613b7c565b600082601f830112613bab57600080fd5b81356020613bbb61378183613a4c565b82815260059290921b84018101918181019086841115613bda57600080fd5b8286015b84811015613ad257803567ffffffffffffffff811115613bfe5760008081fd5b613c0c8986838b0101613762565b845250918301918301613bde565b600080600080600060a08688031215613c3257600080fd5b853567ffffffffffffffff80821115613c4a57600080fd5b613c5689838a01613a70565b96506020880135915080821115613c6c57600080fd5b613c7889838a01613a70565b95506040880135915080821115613c8e57600080fd5b613c9a89838a01613add565b94506060880135915080821115613cb057600080fd5b613cbc89838a01613b38565b93506080880135915080821115613cd257600080fd5b506138d188828901613b9a565b60008060408385031215613cf257600080fd5b82359150602083013567ffffffffffffffff811115613d1057600080fd5b613d1c85828601613762565b9150509250929050565b600080600060608486031215613d3b57600080fd5b613d448461363b565b925060208401359150604084013567ffffffffffffffff8111156137f257600080fd5b60008060008060808587031215613d7d57600080fd5b5050823594602084013594506040840135936060013592509050565b60008060408385031215613dac57600080fd5b823567ffffffffffffffff80821115613dc457600080fd5b613dd086838701613add565b93506020850135915080821115613de657600080fd5b50613d1c85828601613b9a565b600081518084526020808501945080840160005b83811015613e2357815187529582019590820190600101613e07565b509495945050505050565b602081526000610ade6020830184613df3565b600080600060608486031215613e5657600080fd5b833567ffffffffffffffff80821115613e6e57600080fd5b613e7a87838801613add565b94506020860135915080821115613e9057600080fd5b613e9c87838801613add565b93506040860135915080821115613eb257600080fd5b506137fe86828701613b9a565b60008060408385031215613ed257600080fd5b823567ffffffffffffffff80821115613eea57600080fd5b613ef686838701613add565b93506020850135915080821115613f0c57600080fd5b50613d1c85828601613add565b60008060008060808587031215613f2f57600080fd5b613f388561363b565b935060208501359250613f4d60408601613855565b9150606085013567ffffffffffffffff811115613f6957600080fd5b613f7587828801613762565b91505092959194509250565b600060208284031215613f9357600080fd5b813567ffffffffffffffff811115613faa57600080fd5b6128a984828501613add565b60008060408385031215613fc957600080fd5b50508035926020909101359150565b803560ff8116811461365257600080fd5b60008060008060008060008060e0898b03121561400557600080fd5b883567ffffffffffffffff81111561401c57600080fd5b6140288b828c01613941565b9099509750506020890135955061404160408a0161363b565b94506060890135935061405660808a01613fd8565b925060a0890135915060c089013590509295985092959890939650565b600080600080600060a0868803121561408b57600080fd5b6140948661363b565b9450602086013593506140a960408701613fd8565b94979396509394606081013594506080013592915050565b8385823760609290921b6bffffffffffffffffffffffff1916919092019081526014810191909152603401919050565b600082516141038184602087016138de565b9190910192915050565b600181811c9082168061412157607f821691505b60208210810361180457634e487b7160e01b600052602260045260246000fd5b601f821115610b5b57600081815260208120601f850160051c810160208610156141685750805b601f850160051c820191505b8181101561106757828155600101614174565b67ffffffffffffffff83111561419f5761419f6136f3565b6141b3836141ad835461410d565b83614141565b6000601f8411600181146141e757600085156141cf5750838201355b600019600387901b1c1916600186901b178355610bd8565b600083815260209020601f19861690835b8281101561421857868501358255602094850194600190920191016141f8565b50868210156142355760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052603260045260246000fd5b6000808335601e1984360301811261427457600080fd5b83018035915067ffffffffffffffff82111561428f57600080fd5b60200191503681900382131561398657600080fd5b8183823760009101908152919050565b6001600160a01b038516815283602082015282151560408201526080606082015260006142e46080830184613902565b9695505050505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610a2b57610a2b6142ee565b815167ffffffffffffffff811115614331576143316136f3565b6143458161433f845461410d565b84614141565b602080601f83116001811461437a57600084156143625750858301515b600019600386901b1c1916600185901b178555611067565b600085815260208120601f198616915b828110156143a95788860151825594840194600190910190840161438a565b50858210156143c75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805160208201516bffffffffffffffffffffffff19808216929190601483101561440b5780818460140360031b1b83161693505b505050919050565b6001600160a01b0384168152821515602082015260606040820152600061443d6060830184613902565b95945050505050565b60006001600160a01b038088168352808716602084015280861660408401525083606083015260a06080830152612a3460a0830184613902565b82151581526040602082015260006128a96040830184613902565b8281526040602082015260006128a96040830184613902565b80820180821115610a2b57610a2b6142ee565b8082028115828204841417610a2b57610a2b6142ee565b6000602082840312156144f057600080fd5b5051919050565b805160208083015191908110156118045760001960209190910360031b1b16919050565b60006020828403121561452d57600080fd5b815167ffffffffffffffff81111561454457600080fd5b8201601f8101841361455557600080fd5b80516145636137818261373a565b81815285602083850101111561457857600080fd5b61443d8260208301602086016138de565b634e487b7160e01b600052601260045260246000fd5b6000826145ae576145ae614589565b500490565b6000826145c2576145c2614589565b500690565b6040815260006145da6040830185613df3565b90508260208301529392505050565b634e487b7160e01b600052603160045260246000fd5b600060018201614611576146116142ee565b5060010190565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220037a3ceb6827fbb50d2170026008760edfcc888cdbb4a4dfdeeb216f092e048b64736f6c63430008110033 +0x6101006040523480156200001257600080fd5b5060405162004ec538038062004ec58339810160408190526200003591620005cd565b838382848a8a8a6001600084848484816001600160a01b0381166200006d576040516306b620db60e21b815260040160405180910390fd5b62000083816200033e60201b620019a61760201c565b50620000da7feafec4d89fa9619884b60000a4d96624a38f7ac2d8d9a604ecf07c12c77e480c60001b604051806040016040528060048152602001632936598960e21b815250620003ac60201b62001a211760201c565b620001147fdeba1e292f8ba88238e10ab3c7f88bd4be4fac56cad5194b6ecceaf653468af160001b85620003ac60201b62001a211760201c565b6200014e7f2f0a68ab07768e01943a599e73362a0e17a63a72e94dd2e384d2c1d4db93275660001b84620003ac60201b62001a211760201c565b6040805160208101839052620001a1917fe0261fa95db2eb3b5439bd033cda66d56b96f92f243a8228fd87550ed7bdfdb39101604051602081830303815290604052620003ac60201b62001a211760201c565b50506040805160208101859052620001f893507ff675e9361af1c1664c1868cfa3eb97672d6b1a513aa5b81dec34c9ee330e818d9250016040516020818303038152906040526200040560201b62001a761760201c565b5050505050806000036200021f5760405163038d9fc360e41b815260040160405180910390fd5b6080526001600955604051633c7bdc1960e01b815263ffffffff82166004820152733582f474f6e9fb087651b135d6224500a89e6f4490633c7bdc1990602401602060405180830381865af41580156200027d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a3919062000697565b620002cd576040516363a0a0e760e01b815263ffffffff8216600482015260240160405180910390fd5b6001600160a01b0383161580620002eb57506001600160a01b038216155b156200030a5760405163d92e233d60e01b815260040160405180910390fd5b600f805460ff191690556001600160a01b0392831660c052911660e05263ffffffff1660a052506200085295505050505050565b6000546001600160a01b03828116911614620003a957600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0383161790555b50565b6000828152600160205260409020620003c6828262000751565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b282604051620003f991906200081d565b60405180910390a25050565b6200041c82826200042060201b62001a7c1760201c565b5050565b7f2145e1d6d074577dc71ef54c3807742b41b053a9352ae6b491331509acb9750f820162000461576040516385c169bd60e01b815260040160405180910390fd5b7fd0f59754f88971fe6bc5a6618cc9d5f1e859c58d16b22d1c7b2d3e2b246cd8aa8201620004a257604051630eceab6760e31b815260040160405180910390fd5b7f1fd9e056a24d14c4abc642fcc325992a946906d0dbc57dd70278aaf12842024d8201620003ac57604051634ef6d7fb60e01b815260040160405180910390fd5b634e487b7160e01b600052604160045260246000fd5b60005b8381101562000516578181015183820152602001620004fc565b50506000910152565b600082601f8301126200053157600080fd5b81516001600160401b03808211156200054e576200054e620004e3565b604051601f8301601f19908116603f01168101908282118183101715620005795762000579620004e3565b816040528381528660208588010111156200059357600080fd5b620005a6846020830160208901620004f9565b9695505050505050565b80516001600160a01b0381168114620005c857600080fd5b919050565b600080600080600080600060e0888a031215620005e957600080fd5b87516001600160401b03808211156200060157600080fd5b6200060f8b838c016200051f565b985060208a01519150808211156200062657600080fd5b50620006358a828b016200051f565b9650506200064660408901620005b0565b94506200065660608901620005b0565b93506200066660808901620005b0565b925060a0880151915060c088015163ffffffff811681146200068757600080fd5b8091505092959891949750929550565b600060208284031215620006aa57600080fd5b81518015158114620006bb57600080fd5b9392505050565b600181811c90821680620006d757607f821691505b602082108103620006f857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200074c57600081815260208120601f850160051c81016020861015620007275750805b601f850160051c820191505b81811015620007485782815560010162000733565b5050505b505050565b81516001600160401b038111156200076d576200076d620004e3565b62000785816200077e8454620006c2565b84620006fe565b602080601f831160018114620007bd5760008415620007a45750858301515b600019600386901b1c1916600185901b17855562000748565b600085815260208120601f198616915b82811015620007ee57888601518255948401946001909101908401620007cd565b50858210156200080d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208152600082518060208401526200083e816040850160208701620004f9565b601f01601f19169190910160400192915050565b60805160a05160c05160e05161461d620008a8600039600081816104e8015261256b01526000818161082f015261279f01526000818161053c01526126b70152600081816105e401526133ac015261461d6000f3fe6080604052600436106102d55760003560e01c806378e9792511610179578063aad3ec96116100d6578063dd5ffa1e1161008a578063f2fde38b11610064578063f2fde38b146108d9578063f575191e146108f9578063fc6180711461090f57610349565b8063dd5ffa1e14610891578063dedff9c6146108a6578063edb8d1e2146108c657610349565b8063d598d4c9116100bb578063d598d4c91461081d578063d6c1407c14610851578063db8c96631461087157610349565b8063aad3ec96146107dd578063be9f0e6f146107fd57610349565b80638da5cb5b1161012d578063942cd44b11610112578063942cd44b14610767578063979024211461079d578063a3b261f2146107b057610349565b80638da5cb5b1461071c57806392a91a3a1461073a57610349565b80637f23690c1161015e5780637f23690c146106c957806386a10ddd146106dc5780638bbd4378146106fc57610349565b806378e97925146106935780637e87632c146106a957610349565b806337e3f8dc1161023257806352058d8a116101e65780636963d438116101c05780636963d4381461063e57806370a082311461065e578063715018a61461067e57610349565b806352058d8a146105d557806354f6127f146106085780636817c76c1461062857610349565b806349a6078d1161021757806349a6078d14610573578063511b6952146105a057806351b42b00146105c057610349565b806337e3f8dc1461050a5780633c3e8ae31461052a57610349565b80631d26fce6116102895780632a3654a41161026e5780632a3654a4146104a15780632b47da52146104c15780632b7ac3f3146104d657610349565b80631d26fce61461043c578063217b22701461046957610349565b806316e023b3116102ba57806316e023b3146103d657806318160ddd14610403578063186601ca1461042257610349565b806301ffc9a71461038a5780630f15f4c0146103bf57610349565b3661034957346000036103175760405163e5099ee360e01b815260040161030e9060208082526004908201526000604082015260600190565b60405180910390fd5b6040517f61f4944200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000366060600482101561037457828260405163e5099ee360e01b815260040161030e929190613582565b61037e8383610922565b80519350602001915050f35b34801561039657600080fd5b506103aa6103a53660046135b1565b610a31565b60405190151581526020015b60405180910390f35b3480156103cb57600080fd5b506103d4610a7e565b005b3480156103e257600080fd5b506103f66103f13660046135db565b610a90565b6040516103b6919061364d565b34801561040f57600080fd5b506002545b6040519081526020016103b6565b34801561042e57600080fd5b50600f546103aa9060ff1681565b34801561044857600080fd5b5061045c610457366004613736565b610aa3565b6040516103b6919061379a565b34801561047557600080fd5b506104896104843660046137fc565b610b69565b6040516001600160a01b0390911681526020016103b6565b3480156104ad57600080fd5b506103aa6104bc366004613831565b610ba2565b3480156104cd57600080fd5b50610414610bb7565b3480156104e257600080fd5b506104897f000000000000000000000000000000000000000000000000000000000000000081565b34801561051657600080fd5b506103d461052536600461385b565b610bc7565b34801561053657600080fd5b5061055e7f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff90911681526020016103b6565b34801561057f57600080fd5b5061059361058e3660046137fc565b610c1a565b6040516103b691906138cd565b3480156105ac57600080fd5b506103d46105bb3660046139a3565b610c3c565b3480156105cc57600080fd5b506103d4610c99565b3480156105e157600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610414565b34801561061457600080fd5b506103f66106233660046137fc565b610ce1565b34801561063457600080fd5b50610414600d5481565b34801561064a57600080fd5b5061045c610659366004613a68565b610cec565b34801561066a57600080fd5b50610414610679366004613aaa565b610e35565b34801561068a57600080fd5b506103d4610e40565b34801561069f57600080fd5b50610414600c5481565b3480156106b557600080fd5b506103d46106c4366004613c09565b610e52565b6103d46106d7366004613cce565b610f5a565b3480156106e857600080fd5b506103d46106f7366004613d0b565b610f8f565b34801561070857600080fd5b506103d4610717366004613d62565b611122565b34801561072857600080fd5b506000546001600160a01b0316610489565b34801561074657600080fd5b506104146107553660046137fc565b60009081526007602052604090205490565b34801561077357600080fd5b50610414610782366004613aaa565b6001600160a01b031660009081526010602052604090205490565b6103d46107ab366004613d94565b611207565b3480156107bc57600080fd5b506107d06107cb366004613aaa565b6112f9565b6040516103b69190613e29565b3480156107e957600080fd5b506103d46107f8366004613831565b61131d565b34801561080957600080fd5b506103d4610818366004613e3c565b6114f9565b34801561082957600080fd5b506104897f000000000000000000000000000000000000000000000000000000000000000081565b34801561085d57600080fd5b506103d461086c366004613eba565b6115f6565b34801561087d57600080fd5b506103d461088c366004613ef4565b611609565b34801561089d57600080fd5b506103f66116dd565b3480156108b257600080fd5b5061045c6108c1366004613f5c565b61176b565b6103d46108d4366004613fa2565b611816565b3480156108e557600080fd5b506103d46108f4366004613aaa565b6118c8565b34801561090557600080fd5b50610414600e5481565b6103d461091d36600461402c565b61191c565b6060600061093b6000356001600160e01b031916611b87565b5090506001600160a01b03811661098c576040517fbb370b2b0000000000000000000000000000000000000000000000000000000081526001600160e01b031960003516600482015260240161030e565b600080826001600160a01b031634878733346040516020016109b1949392919061407a565b60408051601f19818403018152908290526109cb916140aa565b60006040518083038185875af1925050503d8060008114610a08576040519150601f19603f3d011682016040523d82523d6000602084013e610a0d565b606091505b50915091508115610a22579250610a2b915050565b80518060208301fd5b92915050565b60006001600160e01b031982167f3a271706000000000000000000000000000000000000000000000000000000001480610a6f5750610a6f82611c31565b80610a2b5750610a2b82611c6f565b610a86611ca6565b610a8e611cfb565b565b6060610a9c8383611d3d565b9392505050565b6060825167ffffffffffffffff811115610abf57610abf613660565b604051908082528060200260200182016040528015610af257816020015b6060815260200190600190039081610add5790505b50905060005b8351811015610b6257610b3d848281518110610b1657610b166140c6565b6020026020010151848381518110610b3057610b306140c6565b6020026020010151611d3d565b828281518110610b4f57610b4f6140c6565b6020908102919091010152600101610af8565b5092915050565b6000818152600360205260408120546001600160a01b031680610a2b57604051635747cd1b60e11b81526004810184905260240161030e565b6000610bad82611e14565b610a9c8383611e4c565b6000610bc2600a5490565b905090565b610bcf611ca6565b6011610bdc828483614156565b507ff85f74f3190acca77203c20a6d4934fd0908afeec893df8bc8c9ca6edfbf9be88282604051610c0e929190613582565b60405180910390a15050565b6060610c2582611e14565b6000828152600560205260409020610a2b90611e89565b610c463384611e4c565b610c85576040517f1294d2a90000000000000000000000000000000000000000000000000000000081526004810184905233602482015260440161030e565b610c928585858585611e96565b5050505050565b610ca1611ca6565b600f5460ff1615610a8e57600f805460ff191690556040517f1142a68cc39970640eb3524e77b91f78be21abc64f20f5919387eb46699bb77290600090a1565b6060610a2b82612084565b60608167ffffffffffffffff811115610d0757610d07613660565b604051908082528060200260200182016040528015610d3a57816020015b6060815260200190600190039081610d255790505b50905060005b82811015610b625760008030868685818110610d5e57610d5e6140c6565b9050602002810190610d709190614216565b604051610d7e92919061425d565b600060405180830381855af49150503d8060008114610db9576040519150601f19603f3d011682016040523d82523d6000602084013e610dbe565b606091505b509150915081610e0d57805115610dd85780518082602001fd5b6040517f234eb8190000000000000000000000000000000000000000000000000000000081526004810184905260240161030e565b80848481518110610e2057610e206140c6565b60209081029190910101525050600101610d40565b6000610a2b82612194565b610e48611ca6565b610a8e60006119a6565b8451845181141580610e65575083518114155b80610e71575082518114155b80610e7d575081518114155b15610eb4576040517f93a8311900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610f5157610f49878281518110610ed457610ed46140c6565b6020026020010151878381518110610eee57610eee6140c6565b6020026020010151878481518110610f0857610f086140c6565b6020026020010151878581518110610f2257610f226140c6565b6020026020010151878681518110610f3c57610f3c6140c6565b6020026020010151610c3c565b600101610eb7565b50505050505050565b610f62611ca6565b3415610f815760405163f36ba73760e01b815260040160405180910390fd5b610f8b82826121b5565b5050565b6000610f9a83610b69565b90506001600160a01b0381163314610fdd57604051632d938f5160e11b81526001600160a01b03821660048201526024810184905233604482015260640161030e565b6001600160a01b03841661100457604051639577b8b360e01b815260040160405180910390fd5b836001600160a01b0316816001600160a01b031603611036576040516344fed6b160e11b815260040160405180910390fd5b600083815260056020526040812061104e9086612218565b905080611099576040517fa7626b680000000000000000000000000000000000000000000000000000000081526001600160a01b03861660048201526024810185905260440161030e565b83826001600160a01b0316866001600160a01b03167f1b1b58aa2ec0cec2228b2d37124556d41f5a1f7b12f089171f896cc236671215866040516110dd919061364d565b60405180910390a4600033856001866040516020016110ff949392919061426d565b604051602081830303815290604052905061111a868261222d565b505050505050565b61112a611ca6565b42841015611167576040517f76429b570000000000000000000000000000000000000000000000000000000081526004810185905260240161030e565b816000036111a1576040517f39af805800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c849055600d839055600e8290556111b981600a55565b6040805185815260208101859052908101839052606081018290527f8aeedf0ed8cd3693ef01d328f512281c622ee40528326aa6fba505184ab13a439060800160405180910390a150505050565b61120f611ca6565b341561122e5760405163f36ba73760e01b815260040160405180910390fd5b8051825114611269576040517f3bcc897900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81516000036112a4576040517f97da5f9500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b82518110156112f4576112ec8382815181106112c5576112c56140c6565b60200260200101518383815181106112df576112df6140c6565b60200260200101516121b5565b6001016112a7565b505050565b6001600160a01b0381166000908152600460205260409020606090610a2b90611e89565b611325612258565b6001600160a01b038216611365576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060000361139f576040517f1f2a200500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33600090815260106020526040902054818110156113ec576040517fffb97f810000000000000000000000000000000000000000000000000000000081526004810183905260240161030e565b336000908152601060205260408120805484929061140b9084906142bd565b90915550506040516000906001600160a01b0385169084908381818185875af1925050503d806000811461145b576040519150601f19603f3d011682016040523d82523d6000602084013e611460565b606091505b50509050806114ad576040517fa00139f80000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024810184905260440161030e565b6040518381526001600160a01b0385169033907ff7a40077ff7a04c7e61f6f26fb13774259ddf1b6bce9ecf26a8276cdd39926839060200160405180910390a35050610f8b6001600955565b611501611ca6565b8151835114158061151457508051825114155b1561154b576040517f2fa71dfe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8251600003611586576040517f80c9830500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b83518110156115f0576115e88482815181106115a7576115a76140c6565b60200260200101518483815181106115c1576115c16140c6565b60200260200101518484815181106115db576115db6140c6565b60200260200101516122b1565b600101611589565b50505050565b6115fe611ca6565b6112f48383836122b1565b600061161484610b69565b90506001600160a01b038116331461165757604051632d938f5160e11b81526001600160a01b03821660048201526024810185905233604482015260640161030e565b6001600160a01b03851661167e57604051639577b8b360e01b815260040160405180910390fd5b846001600160a01b0316816001600160a01b0316036116b0576040516344fed6b160e11b815260040160405180910390fd5b6116bd8582868686612341565b8215610c9257600033856000856040516020016110ff949392919061426d565b601180546116ea906140dc565b80601f0160208091040260200160405190810160405280929190818152602001828054611716906140dc565b80156117635780601f1061173857610100808354040283529160200191611763565b820191906000526020600020905b81548152906001019060200180831161174657829003601f168201915b505050505081565b6060815167ffffffffffffffff81111561178757611787613660565b6040519080825280602002602001820160405280156117ba57816020015b60608152602001906001900390816117a55790505b50905060005b8251811015611810576117eb8382815181106117de576117de6140c6565b6020026020010151612084565b8282815181106117fd576117fd6140c6565b60209081029190910101526001016117c0565b50919050565b600f5460ff1615806118295750600c5442105b1561184757604051632e8acb0d60e01b815260040160405180910390fd5b61184f612258565b6118a788888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080513360208201528b93500190506040516020818303038152906040526123fa565b6118b48585858585612511565b6118be6001600955565b5050505050505050565b6118d0611ca6565b6001600160a01b038116611910576040517f1ad8836c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611919816119a6565b50565b600f5460ff16158061192f5750600c5442105b1561194d57604051632e8acb0d60e01b815260040160405180910390fd5b611955612258565b600a541561198f576040517f1df4698600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61199c8585858585612511565b610c926001600955565b6000546001600160a01b0382811691161461191957600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b03831673ffffffffffffffffffffffffffffffffffffffff1990911617905550565b6000828152600160205260409020611a3982826142d0565b50817fece574603820d07bc9b91f2a932baadf4628aabcb8afba49776529c14a6104b282604051611a6a919061364d565b60405180910390a25050565b610f8b82825b7f2145e1d6d074577dc71ef54c3807742b41b053a9352ae6b491331509acb9750f8201611ad5576040517f85c169bd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd0f59754f88971fe6bc5a6618cc9d5f1e859c58d16b22d1c7b2d3e2b246cd8aa8201611b2e576040517f76755b3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f1fd9e056a24d14c4abc642fcc325992a946906d0dbc57dd70278aaf12842024d8201611a21576040517f4ef6d7fb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008080611bbf7fcee78b4094da86011096000000000000000000000000000000000000000000006001600160e01b031986166127f9565b90506000611bcc8261286a565b90508051601414158015611be05750805115155b15611c1957806040517f42bfe79f00000000000000000000000000000000000000000000000000000000815260040161030e919061364d565b611c2281614390565b60601c95600195509350505050565b60006001600160e01b031982167fa918fa6b000000000000000000000000000000000000000000000000000000001480610a2b5750610a2b8261290c565b600080611c826301ffc9a760e01b611b87565b5090506001600160a01b038116611c9c5750600092915050565b610a9c818461295a565b33611cb96000546001600160a01b031690565b6001600160a01b031614610a8e576040517fbf1169c500000000000000000000000000000000000000000000000000000000815233600482015260240161030e565b600f5460ff16610a8e57600f805460ff191660011790556040517fed1cd0670ee0c0017f550451a038818c696d0b6a9d6ce5b369e44275573cf9b090600090a1565b6060600160008484604051602001611d5f929190918252602082015260400190565b6040516020818303038152906040528051906020012081526020019081526020016000208054611d8e906140dc565b80601f0160208091040260200160405190810160405280929190818152602001828054611dba906140dc565b8015611e075780601f10611ddc57610100808354040283529160200191611e07565b820191906000526020600020905b815481529060010190602001808311611dea57829003601f168201915b5050505050905092915050565b6000818152600360205260409020546001600160a01b031661191957604051635747cd1b60e11b81526004810182905260240161030e565b6000611e5782610b69565b6001600160a01b0316836001600160a01b03161480610a9c57506000828152600560205260409020610a9c90846129f8565b60606000610a9c83612a1a565b836001600160a01b0316856001600160a01b031603611ee1576040517f5d67d6c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611eec84610b69565b9050856001600160a01b0316816001600160a01b031614611f3a57604051632d938f5160e11b81526001600160a01b038083166004830152602482018690528716604482015260640161030e565b6001600160a01b038516611f61576040516324ecef4d60e01b815260040160405180910390fd5b611f6d86868685612a75565b611f7684610b69565b9050611f828685612a81565b6001600160a01b0386166000908152600460205260409020611fa49085612ad9565b506001600160a01b0385166000908152600460205260409020611fc79085612ae5565b5060008481526003602052604090819020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0388811691821790925591518692918916907fb333c813a7426a7a11e2b190cad52c44119421594b47f6f32ace6d8c7207b2bf9061203b903390899089906143cc565b60405180910390a46000338787878660405160200161205e9594939291906143ff565b60405160208183030381529060405290506120798782612af1565b610f51868583612b1c565b606060006120918361286a565b9050805160001480156120c557507f1339e76a390b7b9ec90100000000000000000000000000000000000000000000838116145b15610a2b5760006120f57f1a7628600c3bac7101f53697f48df381ddc36b9015e7d7c9c5633d1252aa284361286a565b90508051600003610b62576011805461210d906140dc565b80601f0160208091040260200160405190810160405280929190818152602001828054612139906140dc565b80156121865780601f1061215b57610100808354040283529160200191612186565b820191906000526020600020905b81548152906001019060200180831161216957829003601f168201915b505050505092505050919050565b6001600160a01b0381166000908152600460205260408120610a2b90612c56565b7f098a16c9e50e3e99b3e797305c146898d294e5aec55a47e213cb3611ccf17e73820161220e576040517f3664800a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f8b8282611a76565b6000610a9c836001600160a01b038416612c60565b610f8b827f8a1c15a8799f71b547e08e2bcb2e85257e81b0a07eee2ce6712549eef1f0097083612caf565b6002600954036122aa5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161030e565b6002600955565b806001600085856040516020016122d2929190918252602082015260400190565b604051602081830303815290604052805190602001208152602001908152602001600020908161230291906142d0565b5081837fa6e4251f855f750545fe414f120db91c76b88def14d120969e5bb2d3f05debbb83604051612334919061364d565b60405180910390a3505050565b60008381526005602052604081206123599087612cfc565b9050806123a4576040517f4aa31a8c0000000000000000000000000000000000000000000000000000000081526001600160a01b03871660048201526024810185905260440161030e565b83856001600160a01b0316876001600160a01b03167fc78cd419d6136f9f1c1c6aec1d3fae098cffaf8bc86314a8f2685e32fe574e3c86866040516123ea929190614439565b60405180910390a4505050505050565b600a54612433576040517f5058901600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61243c82612d11565b156124775781816040517f331e2c3f00000000000000000000000000000000000000000000000000000000815260040161030e929190614454565b6000828260405160200161248c929190614454565b60408051601f19818403018152828252805160209182012090830152016040516020818303038152906040528051906020012090506124ce84600a5483612d52565b6125085782826040517f4a0e7b1300000000000000000000000000000000000000000000000000000000815260040161030e929190614454565b6115f083612d68565b6040516bffffffffffffffffffffffff1930606090811b8216602084015246603484015287901b1660548201526068810185905234608882015260009060a8016040516020818303038152906040528051906020012090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661259f82868686612da6565b6001600160a01b0316146125df576040517f04f186ef00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000856125eb88610e35565b6125f5919061446d565b9050600e54811115612636576040517f941b43eb0000000000000000000000000000000000000000000000000000000081526004810182905260240161030e565b6000600d54876126469190614480565b9050803414612683576040517ffe2b819500000000000000000000000000000000000000000000000000000000815234600482015260240161030e565b6040517f1817cb8e0000000000000000000000000000000000000000000000000000000081526004810182905263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166024820152600090733582f474f6e9fb087651b135d6224500a89e6f4490631817cb8e90604401602060405180830381865af415801561271b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061273f9190614497565b905061274b81836142bd565b601060006127616000546001600160a01b031690565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254612790919061446d565b90915550506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016600090815260106020526040812080548392906127dd90849061446d565b909155506127ee9050898984612dce565b505050505050505050565b604080517fffffffffffffffffffff00000000000000000000000000000000000000000000841660208201526000602a82018190526bffffffffffffffffffffffff198416602c83015291829101604051602081830303815290604052905080612862906144b0565b949350505050565b6000818152600160205260409020805460609190612887906140dc565b80601f01602080910402602001604051908101604052809291908181526020018280546128b3906140dc565b80156129005780601f106128d557610100808354040283529160200191612900565b820191906000526020600020905b8154815290600101906020018083116128e357829003601f168201915b50505050509050919050565b60006001600160e01b031982167f629aa694000000000000000000000000000000000000000000000000000000001480610a2b57506301ffc9a760e01b6001600160e01b0319831614610a2b565b604080516001600160e01b03198316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166301ffc9a760e01b178152825160009392849283928392918391908a617530fa92503d915060005190508280156129e1575060208210155b80156129ed5750600081115b979650505050505050565b6001600160a01b03811660009081526001830160205260408120541515610a9c565b60608160000180548060200260200160405190810160405280929190818152602001828054801561290057602002820191906000526020600020905b815481526020019060010190808311612a565750505050509050919050565b6115f084848484612f09565b600081815260056020526040812090612a9982612c56565b90506000805b8281101561111a57612ab2846000612fd0565b9150612ad1828787600060405180602001604052806000815250612341565b600101612a9f565b6000610a9c8383612fdc565b6000610a9c8383612c60565b610f8b827fb23eae7e6d1564b295b4c3e3be402d9a2f0776c57bdf365903496f6fa481ab0083612caf565b612b2d83631aed5a8560e21b61295a565b15612bc757604051631aed5a8560e21b81526001600160a01b03841690636bb56a1490612b80907f0b084a55ebf70fd3c06fd755269dac2212c4d3f0f4d09079780bfa50c1b2984d908590600401614454565b6000604051808303816000875af1158015612b9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115f091908101906144d4565b816112f4576001600160a01b0383163b15612c19576040517f4349776d0000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260240161030e565b6040517f031731370000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260240161030e565b6000610a2b825490565b6000818152600183016020526040812054612ca757508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a2b565b506000610a2b565b612cc96001600160a01b038416631aed5a8560e21b61295a565b156112f457604051631aed5a8560e21b81526001600160a01b03841690636bb56a1490612b809085908590600401614454565b6000610a9c836001600160a01b038416612fdc565b600080612d2061010084614558565b90506000612d306101008561456c565b6000928352600b602052604090922054600190921b9182169091149392505050565b600082612d5f85846130cf565b14949350505050565b6000612d7661010083614558565b90506000612d866101008461456c565b6000928352600b60205260409092208054600190931b9092179091555050565b6000806000612db78787878761311c565b91509150612dc4816131e0565b5095945050505050565b60008267ffffffffffffffff811115612de957612de9613660565b604051908082528060200260200182016040528015612e12578160200160208202803683370190505b50905060006012546001612e26919061446d565b90508360126000828254612e3a919061446d565b90915550600090505b84811015612e7d57612e55818361446d565b60001b838281518110612e6a57612e6a6140c6565b6020908102919091010152600101612e43565b50846001600160a01b03167f3c48674dd1f5f1f6cbbeaa3b830f54a7b75f5c1598e1ea94b968ea1424f7bff38385604051612eb9929190614580565b60405180910390a260005b8481101561111a57612f0186848381518110612ee257612ee26140c6565b6020026020010151600060405180602001604052806000815250613345565b600101612ec4565b6001600160a01b038416612f43576000612f2260025490565b60008181526007602090815260408083208790558683526008909152902055505b6001600160a01b038316612fcb5760006001612f5e60025490565b612f6891906142bd565b60008481526008602052604090205490915081811015612faa576000828152600760209081526040808320548484528184208190558352600890915290208190555b50600090815260076020908152604080832083905584835260089091528120555b6115f0565b6000610a9c8383613351565b600081815260018301602052604081205480156130c55760006130006001836142bd565b8554909150600090613014906001906142bd565b9050818114613079576000866000018281548110613034576130346140c6565b9060005260206000200154905080876000018481548110613057576130576140c6565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061308a5761308a6145a2565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610a2b565b6000915050610a2b565b600081815b845181101561311457613100828683815181106130f3576130f36140c6565b602002602001015161337b565b91508061310c816145b8565b9150506130d4565b509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561315357506000905060036131d7565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156131a7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166131d0576000600192509250506131d7565b9150600090505b94509492505050565b60008160048111156131f4576131f46145d1565b036131fc5750565b6001816004811115613210576132106145d1565b0361325d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161030e565b6002816004811115613271576132716145d1565b036132be5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161030e565b60038160048111156132d2576132d26145d1565b036119195760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f7565000000000000000000000000000000000000000000000000000000000000606482015260840161030e565b6115f0848484846133aa565b6000826000018281548110613368576133686140c6565b9060005260206000200154905092915050565b6000818310613397576000828152602084905260409020610a9c565b6000838152602083905260409020610a9c565b7f00000000000000000000000000000000000000000000000000000000000000006002546133d990600161446d565b1115613411576040517fe8ba229100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6115f0848484846001600160a01b03841661343f576040516324ecef4d60e01b815260040160405180910390fd5b61344c6000858584612a75565b6000838152600360205260409020546001600160a01b03161561349e576040517f34c7b5110000000000000000000000000000000000000000000000000000000081526004810184905260240161030e565b6002600081546134ad906145b8565b909155506001600160a01b03841660009081526004602052604090206134d39084612ae5565b50600083815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03881690811790915590518592907fb333c813a7426a7a11e2b190cad52c44119421594b47f6f32ace6d8c7207b2bf90613542903390889088906143cc565b60405180910390a460003360008686856040516020016135669594939291906143ff565b6040516020818303038152906040529050610c92858483612b1c565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6000602082840312156135c357600080fd5b81356001600160e01b031981168114610a9c57600080fd5b600080604083850312156135ee57600080fd5b50508035926020909101359150565b60005b83811015613618578181015183820152602001613600565b50506000910152565b600081518084526136398160208601602086016135fd565b601f01601f19169290920160200192915050565b602081526000610a9c6020830184613621565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561369f5761369f613660565b604052919050565b600067ffffffffffffffff8211156136c1576136c1613660565b5060051b60200190565b600082601f8301126136dc57600080fd5b813560206136f16136ec836136a7565b613676565b82815260059290921b8401810191818101908684111561371057600080fd5b8286015b8481101561372b5780358352918301918301613714565b509695505050505050565b6000806040838503121561374957600080fd5b823567ffffffffffffffff8082111561376157600080fd5b61376d868387016136cb565b9350602085013591508082111561378357600080fd5b50613790858286016136cb565b9150509250929050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156137ef57603f198886030184526137dd858351613621565b945092850192908501906001016137c1565b5092979650505050505050565b60006020828403121561380e57600080fd5b5035919050565b80356001600160a01b038116811461382c57600080fd5b919050565b6000806040838503121561384457600080fd5b61384d83613815565b946020939093013593505050565b6000806020838503121561386e57600080fd5b823567ffffffffffffffff8082111561388657600080fd5b818501915085601f83011261389a57600080fd5b8135818111156138a957600080fd5b8660208285010111156138bb57600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b8181101561390e5783516001600160a01b0316835292840192918401916001016138e9565b50909695505050505050565b8035801515811461382c57600080fd5b600067ffffffffffffffff82111561394457613944613660565b50601f01601f191660200190565b600082601f83011261396357600080fd5b81356139716136ec8261392a565b81815284602083860101111561398657600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156139bb57600080fd5b6139c486613815565b94506139d260208701613815565b9350604086013592506139e76060870161391a565b9150608086013567ffffffffffffffff811115613a0357600080fd5b613a0f88828901613952565b9150509295509295909350565b60008083601f840112613a2e57600080fd5b50813567ffffffffffffffff811115613a4657600080fd5b6020830191508360208260051b8501011115613a6157600080fd5b9250929050565b60008060208385031215613a7b57600080fd5b823567ffffffffffffffff811115613a9257600080fd5b613a9e85828601613a1c565b90969095509350505050565b600060208284031215613abc57600080fd5b610a9c82613815565b600082601f830112613ad657600080fd5b81356020613ae66136ec836136a7565b82815260059290921b84018101918181019086841115613b0557600080fd5b8286015b8481101561372b57613b1a81613815565b8352918301918301613b09565b600082601f830112613b3857600080fd5b81356020613b486136ec836136a7565b82815260059290921b84018101918181019086841115613b6757600080fd5b8286015b8481101561372b57613b7c8161391a565b8352918301918301613b6b565b600082601f830112613b9a57600080fd5b81356020613baa6136ec836136a7565b82815260059290921b84018101918181019086841115613bc957600080fd5b8286015b8481101561372b57803567ffffffffffffffff811115613bed5760008081fd5b613bfb8986838b0101613952565b845250918301918301613bcd565b600080600080600060a08688031215613c2157600080fd5b853567ffffffffffffffff80821115613c3957600080fd5b613c4589838a01613ac5565b96506020880135915080821115613c5b57600080fd5b613c6789838a01613ac5565b95506040880135915080821115613c7d57600080fd5b613c8989838a016136cb565b94506060880135915080821115613c9f57600080fd5b613cab89838a01613b27565b93506080880135915080821115613cc157600080fd5b50613a0f88828901613b89565b60008060408385031215613ce157600080fd5b82359150602083013567ffffffffffffffff811115613cff57600080fd5b61379085828601613952565b600080600060608486031215613d2057600080fd5b613d2984613815565b925060208401359150604084013567ffffffffffffffff811115613d4c57600080fd5b613d5886828701613952565b9150509250925092565b60008060008060808587031215613d7857600080fd5b5050823594602084013594506040840135936060013592509050565b60008060408385031215613da757600080fd5b823567ffffffffffffffff80821115613dbf57600080fd5b613dcb868387016136cb565b93506020850135915080821115613de157600080fd5b5061379085828601613b89565b600081518084526020808501945080840160005b83811015613e1e57815187529582019590820190600101613e02565b509495945050505050565b602081526000610a9c6020830184613dee565b600080600060608486031215613e5157600080fd5b833567ffffffffffffffff80821115613e6957600080fd5b613e75878388016136cb565b94506020860135915080821115613e8b57600080fd5b613e97878388016136cb565b93506040860135915080821115613ead57600080fd5b50613d5886828701613b89565b600080600060608486031215613ecf57600080fd5b8335925060208401359150604084013567ffffffffffffffff811115613d4c57600080fd5b60008060008060808587031215613f0a57600080fd5b613f1385613815565b935060208501359250613f286040860161391a565b9150606085013567ffffffffffffffff811115613f4457600080fd5b613f5087828801613952565b91505092959194509250565b600060208284031215613f6e57600080fd5b813567ffffffffffffffff811115613f8557600080fd5b612862848285016136cb565b803560ff8116811461382c57600080fd5b60008060008060008060008060e0898b031215613fbe57600080fd5b883567ffffffffffffffff811115613fd557600080fd5b613fe18b828c01613a1c565b90995097505060208901359550613ffa60408a01613815565b94506060890135935061400f60808a01613f91565b925060a0890135915060c089013590509295985092959890939650565b600080600080600060a0868803121561404457600080fd5b61404d86613815565b94506020860135935061406260408701613f91565b94979396509394606081013594506080013592915050565b8385823760609290921b6bffffffffffffffffffffffff1916919092019081526014810191909152603401919050565b600082516140bc8184602087016135fd565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b600181811c908216806140f057607f821691505b60208210810361181057634e487b7160e01b600052602260045260246000fd5b601f8211156112f457600081815260208120601f850160051c810160208610156141375750805b601f850160051c820191505b8181101561111a57828155600101614143565b67ffffffffffffffff83111561416e5761416e613660565b6141828361417c83546140dc565b83614110565b6000601f8411600181146141b6576000851561419e5750838201355b600019600387901b1c1916600186901b178355610c92565b600083815260209020601f19861690835b828110156141e757868501358255602094850194600190920191016141c7565b50868210156142045760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000808335601e1984360301811261422d57600080fd5b83018035915067ffffffffffffffff82111561424857600080fd5b602001915036819003821315613a6157600080fd5b8183823760009101908152919050565b6001600160a01b0385168152836020820152821515604082015260806060820152600061429d6080830184613621565b9695505050505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610a2b57610a2b6142a7565b815167ffffffffffffffff8111156142ea576142ea613660565b6142fe816142f884546140dc565b84614110565b602080601f831160018114614333576000841561431b5750858301515b600019600386901b1c1916600185901b17855561111a565b600085815260208120601f198616915b8281101561436257888601518255948401946001909101908401614343565b50858210156143805787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805160208201516bffffffffffffffffffffffff1980821692919060148310156143c45780818460140360031b1b83161693505b505050919050565b6001600160a01b038416815282151560208201526060604082015260006143f66060830184613621565b95945050505050565b60006001600160a01b038088168352808716602084015280861660408401525083606083015260a060808301526129ed60a0830184613621565b82151581526040602082015260006128626040830184613621565b8281526040602082015260006128626040830184613621565b80820180821115610a2b57610a2b6142a7565b8082028115828204841417610a2b57610a2b6142a7565b6000602082840312156144a957600080fd5b5051919050565b805160208083015191908110156118105760001960209190910360031b1b16919050565b6000602082840312156144e657600080fd5b815167ffffffffffffffff8111156144fd57600080fd5b8201601f8101841361450e57600080fd5b805161451c6136ec8261392a565b81815285602083850101111561453157600080fd5b6143f68260208301602086016135fd565b634e487b7160e01b600052601260045260246000fd5b60008261456757614567614542565b500490565b60008261457b5761457b614542565b500690565b6040815260006145936040830185613dee565b90508260208301529392505050565b634e487b7160e01b600052603160045260246000fd5b6000600182016145ca576145ca6142a7565b5060010190565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220671e0c3923528ae4157548e745c73021b831f6dfe513e39de5c90462fd3beec064736f6c63430008110033 diff --git a/lib/erc725 b/lib/erc725 index 7358a08..aef27d2 160000 --- a/lib/erc725 +++ b/lib/erc725 @@ -1 +1 @@ -Subproject commit 7358a08c898e189ea85b21a69481e628be944f8f +Subproject commit aef27d2fda1c3f3dc7009a45e8cf35a5914e82c3 diff --git a/lib/lsp-smart-contracts b/lib/lsp-smart-contracts index 5c559e6..acf5ea9 160000 --- a/lib/lsp-smart-contracts +++ b/lib/lsp-smart-contracts @@ -1 +1 @@ -Subproject commit 5c559e657686f3c19a4fa323044955ef92fe9d48 +Subproject commit acf5ea902e5b964b4e7dba08331d09b998b84052 diff --git a/src/assets/lsp8/CollectorIdentifiableDigitalAsset.sol b/src/assets/lsp8/CollectorIdentifiableDigitalAsset.sol index ff7f678..b437463 100644 --- a/src/assets/lsp8/CollectorIdentifiableDigitalAsset.sol +++ b/src/assets/lsp8/CollectorIdentifiableDigitalAsset.sol @@ -12,7 +12,7 @@ import {LSP8Enumerable} from "@lukso/lsp-smart-contracts/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol"; import {LSP8IdentifiableDigitalAssetCore} from "@lukso/lsp-smart-contracts/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol"; -import {_LSP8_TOKENID_SCHEMA_UNIQUE_ID} from +import {_LSP8_TOKENID_FORMAT_UNIQUE_ID} from "@lukso/lsp-smart-contracts/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol"; import {_LSP4_TOKEN_TYPE_NFT} from "@lukso/lsp-smart-contracts/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol"; import {Withdrawable} from "../../common/Withdrawable.sol"; @@ -53,7 +53,7 @@ contract CollectorIdentifiableDigitalAsset is address controller_, uint256 tokenSupplyCap_ ) - LSP8IdentifiableDigitalAsset(name_, symbol_, newOwner_, _LSP4_TOKEN_TYPE_NFT, _LSP8_TOKENID_SCHEMA_UNIQUE_ID) + LSP8IdentifiableDigitalAsset(name_, symbol_, newOwner_, _LSP4_TOKEN_TYPE_NFT, _LSP8_TOKENID_FORMAT_UNIQUE_ID) LSP8CappedSupply(tokenSupplyCap_) { _setController(controller_); diff --git a/src/page/PageName.sol b/src/page/PageName.sol index 93ccbcd..4ad4118 100644 --- a/src/page/PageName.sol +++ b/src/page/PageName.sol @@ -5,7 +5,7 @@ import {ReentrancyGuardUpgradeable} from "@openzeppelin/contracts-upgradeable/se import {ECDSA} from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import {PausableUpgradeable} from "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol"; import {_LSP4_TOKEN_TYPE_NFT} from "@lukso/lsp-smart-contracts/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol"; -import {_LSP8_TOKENID_SCHEMA_STRING} from +import {_LSP8_TOKENID_FORMAT_STRING} from "@lukso/lsp-smart-contracts/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol"; import {LSP8EnumerableInitAbstract} from "@lukso/lsp-smart-contracts/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol"; @@ -53,7 +53,7 @@ contract PageName is LSP8EnumerableInitAbstract, ReentrancyGuardUpgradeable, Pau uint16 profileLimit_, IPageNameMarketplace marketplace_ ) external initializer { - super._initialize(name_, symbol_, newOwner_, _LSP4_TOKEN_TYPE_NFT, _LSP8_TOKENID_SCHEMA_STRING); + super._initialize(name_, symbol_, newOwner_, _LSP4_TOKEN_TYPE_NFT, _LSP8_TOKENID_FORMAT_STRING); __ReentrancyGuard_init(); __Pausable_init(); _setBeneficiary(beneficiary_); diff --git a/test/assets/lsp7/DigitalAssetDrop.t.sol b/test/assets/lsp7/DigitalAssetDrop.t.sol index 758fe9d..38c1a91 100644 --- a/test/assets/lsp7/DigitalAssetDrop.t.sol +++ b/test/assets/lsp7/DigitalAssetDrop.t.sol @@ -5,6 +5,7 @@ import {Test} from "forge-std/Test.sol"; import {Merkle} from "murky/Merkle.sol"; import {UniversalProfile} from "@lukso/lsp-smart-contracts/contracts/UniversalProfile.sol"; import {_LSP4_TOKEN_TYPE_NFT} from "@lukso/lsp-smart-contracts/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol"; +import {OwnableCallerNotTheOwner} from "@erc725/smart-contracts/contracts/errors.sol"; import {DigitalAssetDrop} from "../../../src/assets/lsp7/DigitalAssetDrop.sol"; import {deployProfile} from "../../utils/profile.sol"; import {DigitalAssetMock} from "./DigitalAssetMock.sol"; @@ -115,7 +116,8 @@ contract DigitalAssetDropTest is Test { DigitalAssetDrop drop = new DigitalAssetDrop(asset, merkle.getRoot(data), dropOwner); - vm.expectRevert("Ownable: caller is not the owner"); + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); drop.dispose(address(1)); } } diff --git a/test/assets/lsp8/CollectorIdentifiableDigitalAsset.t.sol b/test/assets/lsp8/CollectorIdentifiableDigitalAsset.t.sol index f2b6a16..7cc4a9e 100644 --- a/test/assets/lsp8/CollectorIdentifiableDigitalAsset.t.sol +++ b/test/assets/lsp8/CollectorIdentifiableDigitalAsset.t.sol @@ -10,9 +10,10 @@ import { _LSP4_TOKEN_TYPE_NFT } from "@lukso/lsp-smart-contracts/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol"; import { - _LSP8_TOKENID_SCHEMA_KEY, - _LSP8_TOKENID_SCHEMA_UNIQUE_ID + _LSP8_TOKENID_FORMAT_KEY, + _LSP8_TOKENID_FORMAT_UNIQUE_ID } from "@lukso/lsp-smart-contracts/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol"; +import {OwnableCallerNotTheOwner} from "@erc725/smart-contracts/contracts/errors.sol"; import {CollectorIdentifiableDigitalAsset} from "../../../src/assets/lsp8/CollectorIdentifiableDigitalAsset.sol"; import {deployProfile} from "../../utils/profile.sol"; @@ -40,7 +41,7 @@ contract CollectorIdentifiableDigitalAssetTest is Test { assertEq("Universal Page Collector", asset.getData(_LSP4_TOKEN_NAME_KEY)); assertEq("UPC", asset.getData(_LSP4_TOKEN_SYMBOL_KEY)); assertEq(_LSP4_TOKEN_TYPE_NFT, uint256(bytes32(asset.getData(_LSP4_TOKEN_TYPE_KEY)))); - assertEq(_LSP8_TOKENID_SCHEMA_UNIQUE_ID, uint256(bytes32(asset.getData(_LSP8_TOKENID_SCHEMA_KEY)))); + assertEq(_LSP8_TOKENID_FORMAT_UNIQUE_ID, uint256(bytes32(asset.getData(_LSP8_TOKENID_FORMAT_KEY)))); assertEq(0, asset.totalSupply()); assertEq(100, asset.tokenSupplyCap()); assertEq(0, asset.tokenSupplyLimit()); @@ -60,17 +61,28 @@ contract CollectorIdentifiableDigitalAssetTest is Test { } function test_Revert_IfNotOwner() public { - vm.expectRevert("Ownable: caller is not the owner"); + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); asset.setPrice(0 ether); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); asset.setController(address(100)); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); asset.pause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); asset.unpause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); asset.withdraw(0 ether); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); bytes32[] memory tokenIds = new bytes32[](1); tokenIds[0] = bytes32(uint256(1)); asset.reserve(address(100), tokenIds); diff --git a/test/drops/LSP7DropsDigitalAsset.t.sol b/test/drops/LSP7DropsDigitalAsset.t.sol index eb1f971..b9dff70 100644 --- a/test/drops/LSP7DropsDigitalAsset.t.sol +++ b/test/drops/LSP7DropsDigitalAsset.t.sol @@ -8,6 +8,7 @@ import { _LSP4_TOKEN_SYMBOL_KEY } from "@lukso/lsp-smart-contracts/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol"; import {UniversalProfile} from "@lukso/lsp-smart-contracts/contracts/UniversalProfile.sol"; +import {OwnableCallerNotTheOwner} from "@erc725/smart-contracts/contracts/errors.sol"; import {IndexedDrop} from "../../src/common/IndexedDrop.sol"; import {LSP7DropsDigitalAsset, DropsDigitalAsset} from "../../src/drops/LSP7DropsDigitalAsset.sol"; import {deployProfile} from "../utils/profile.sol"; @@ -60,7 +61,8 @@ contract LSP7DropsDigitalAssetTest is Test { } function test_Revert_IfConfigureNotOwner() public { - vm.expectRevert("Ownable: caller is not the owner"); + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); drop.configure(block.timestamp + 1 days, 1 ether, 3, 0); } diff --git a/test/drops/LSP8DropsDigitalAsset.t.sol b/test/drops/LSP8DropsDigitalAsset.t.sol index 5b8dcd5..3f96a2b 100644 --- a/test/drops/LSP8DropsDigitalAsset.t.sol +++ b/test/drops/LSP8DropsDigitalAsset.t.sol @@ -8,6 +8,7 @@ import { _LSP4_TOKEN_SYMBOL_KEY } from "@lukso/lsp-smart-contracts/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol"; import {UniversalProfile} from "@lukso/lsp-smart-contracts/contracts/UniversalProfile.sol"; +import {OwnableCallerNotTheOwner} from "@erc725/smart-contracts/contracts/errors.sol"; import {IndexedDrop} from "../../src/common/IndexedDrop.sol"; import {LSP8DropsDigitalAsset, DropsDigitalAsset} from "../../src/drops/LSP8DropsDigitalAsset.sol"; import {deployProfile} from "../utils/profile.sol"; @@ -66,9 +67,11 @@ contract LSP8DropsDigitalAssetTest is Test { } function test_Revert_IfConfigureNotOwner() public { - vm.expectRevert("Ownable: caller is not the owner"); + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); drop.configure(block.timestamp, 1 ether, 3, 0); - vm.expectRevert("Ownable: caller is not the owner"); + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); drop.setDefaultTokenUri(new bytes(0)); } diff --git a/test/marketplace/Participant.t.sol b/test/marketplace/Participant.t.sol index fe925aa..6cad0bd 100644 --- a/test/marketplace/Participant.t.sol +++ b/test/marketplace/Participant.t.sol @@ -5,6 +5,7 @@ import {Test} from "forge-std/Test.sol"; import {TransparentUpgradeableProxy} from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; import {UniversalProfile} from "@lukso/lsp-smart-contracts/contracts/UniversalProfile.sol"; import {ILSP7DigitalAsset} from "@lukso/lsp-smart-contracts/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol"; +import {OwnableCallerNotTheOwner} from "@erc725/smart-contracts/contracts/errors.sol"; import { Participant, GENESIS_DISCOUNT, @@ -44,10 +45,11 @@ contract ParticipantTest is Test { participant = Participant( payable( address( - new TransparentUpgradeableProxy(address(new Participant()), admin, abi.encodeWithSelector( - Participant.initialize.selector, - owner - )) + new TransparentUpgradeableProxy( + address(new Participant()), + admin, + abi.encodeWithSelector(Participant.initialize.selector, owner) + ) ) ) ); @@ -68,13 +70,20 @@ contract ParticipantTest is Test { } function test_Revert_IfConfigureNotOwner() public { - vm.expectRevert("Ownable: caller is not the owner"); + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); participant.setCollectorAsset(ICollectorIdentifiableDigitalAsset(vm.addr(1))); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); participant.setGenesisAsset(ILSP7DigitalAsset(vm.addr(1))); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); participant.pause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); participant.unpause(); } diff --git a/test/marketplace/lsp7/LSP7Listings.t.sol b/test/marketplace/lsp7/LSP7Listings.t.sol index 3e75830..a9ce9d7 100644 --- a/test/marketplace/lsp7/LSP7Listings.t.sol +++ b/test/marketplace/lsp7/LSP7Listings.t.sol @@ -7,6 +7,7 @@ import { TransparentUpgradeableProxy } from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; import {UniversalProfile} from "@lukso/lsp-smart-contracts/contracts/UniversalProfile.sol"; +import {OwnableCallerNotTheOwner} from "@erc725/smart-contracts/contracts/errors.sol"; import {Module, MARKETPLACE_ROLE} from "../../../src/marketplace/common/Module.sol"; import {LSP7Listings, LSP7Listing} from "../../../src/marketplace/lsp7/LSP7Listings.sol"; import {deployProfile} from "../../utils/profile.sol"; @@ -48,7 +49,9 @@ contract LSP7ListingsTest is Test { listings = LSP7Listings( address( - new TransparentUpgradeableProxy(address(new LSP7Listings()), admin, abi.encodeWithSelector(LSP7Listings.initialize.selector, owner)) + new TransparentUpgradeableProxy( + address(new LSP7Listings()), admin, abi.encodeWithSelector(LSP7Listings.initialize.selector, owner) + ) ) ); } @@ -66,13 +69,20 @@ contract LSP7ListingsTest is Test { } function test_Revert_IfConfigureNotOwner() public { - vm.expectRevert("Ownable: caller is not the owner"); + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); listings.grantRole(address(100), MARKETPLACE_ROLE); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); listings.revokeRole(address(100), MARKETPLACE_ROLE); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); listings.pause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); listings.unpause(); } diff --git a/test/marketplace/lsp7/LSP7Marketplace.t.sol b/test/marketplace/lsp7/LSP7Marketplace.t.sol index 6d9922c..3a811a7 100644 --- a/test/marketplace/lsp7/LSP7Marketplace.t.sol +++ b/test/marketplace/lsp7/LSP7Marketplace.t.sol @@ -8,6 +8,7 @@ import { } from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; import {_INTERFACEID_LSP0} from "@lukso/lsp-smart-contracts/contracts/LSP0ERC725Account/LSP0Constants.sol"; import {UniversalProfile} from "@lukso/lsp-smart-contracts/contracts/UniversalProfile.sol"; +import {OwnableCallerNotTheOwner} from "@erc725/smart-contracts/contracts/errors.sol"; import {Module, MARKETPLACE_ROLE} from "../../../src/marketplace/common/Module.sol"; import {Points} from "../../../src/common/Points.sol"; import {Royalties, RoyaltiesInfo} from "../../../src/common/Royalties.sol"; @@ -55,27 +56,40 @@ contract LSP7MarketplaceTest is Test { participant = Participant( payable( address( - new TransparentUpgradeableProxy(address(new Participant()), admin, abi.encodeWithSelector( - Participant.initialize.selector, - owner - )) + new TransparentUpgradeableProxy( + address(new Participant()), + admin, + abi.encodeWithSelector(Participant.initialize.selector, owner) + ) ) ) ); listings = LSP7Listings( address( - new TransparentUpgradeableProxy(address(new LSP7Listings()), admin, abi.encodeWithSelector(LSP7Listings.initialize.selector, owner)) + new TransparentUpgradeableProxy( + address(new LSP7Listings()), admin, abi.encodeWithSelector(LSP7Listings.initialize.selector, owner) + ) ) ); offers = LSP7Offers( address( - new TransparentUpgradeableProxy(address(new LSP7Offers()), admin, abi.encodeWithSelector(LSP7Offers.initialize.selector, owner, listings)) + new TransparentUpgradeableProxy( + address(new LSP7Offers()), + admin, + abi.encodeWithSelector(LSP7Offers.initialize.selector, owner, listings) + ) ) ); marketplace = LSP7Marketplace( payable( address( - new TransparentUpgradeableProxy(address(new LSP7Marketplace()), admin, abi.encodeWithSelector(LSP7Marketplace.initialize.selector, owner, beneficiary, listings, offers, participant)) + new TransparentUpgradeableProxy( + address(new LSP7Marketplace()), + admin, + abi.encodeWithSelector( + LSP7Marketplace.initialize.selector, owner, beneficiary, listings, offers, participant + ) + ) ) ) ); @@ -108,13 +122,20 @@ contract LSP7MarketplaceTest is Test { } function test_Revert_IfConfigureNotOwner() public { - vm.expectRevert("Ownable: caller is not the owner"); + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); marketplace.pause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); marketplace.unpause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); marketplace.setFeePoints(0); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); marketplace.setRoyaltiesThresholdPoints(0); } diff --git a/test/marketplace/lsp7/LSP7Offers.t.sol b/test/marketplace/lsp7/LSP7Offers.t.sol index 3b515fe..cc65b25 100644 --- a/test/marketplace/lsp7/LSP7Offers.t.sol +++ b/test/marketplace/lsp7/LSP7Offers.t.sol @@ -7,6 +7,7 @@ import { TransparentUpgradeableProxy } from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; import {UniversalProfile} from "@lukso/lsp-smart-contracts/contracts/UniversalProfile.sol"; +import {OwnableCallerNotTheOwner} from "@erc725/smart-contracts/contracts/errors.sol"; import {Module, MARKETPLACE_ROLE} from "../../../src/marketplace/common/Module.sol"; import {LSP7Listings, LSP7Listing} from "../../../src/marketplace/lsp7/LSP7Listings.sol"; import {LSP7Offers, LSP7Offer} from "../../../src/marketplace/lsp7/LSP7Offers.sol"; @@ -34,12 +35,18 @@ contract LSP7OffersTest is Test { listings = LSP7Listings( address( - new TransparentUpgradeableProxy(address(new LSP7Listings()), admin, abi.encodeWithSelector(LSP7Listings.initialize.selector, owner)) + new TransparentUpgradeableProxy( + address(new LSP7Listings()), admin, abi.encodeWithSelector(LSP7Listings.initialize.selector, owner) + ) ) ); offers = LSP7Offers( address( - new TransparentUpgradeableProxy(address(new LSP7Offers()), admin, abi.encodeWithSelector(LSP7Offers.initialize.selector, owner, listings)) + new TransparentUpgradeableProxy( + address(new LSP7Offers()), + admin, + abi.encodeWithSelector(LSP7Offers.initialize.selector, owner, listings) + ) ) ); } @@ -57,13 +64,20 @@ contract LSP7OffersTest is Test { } function test_Revert_IfConfigureNotOwner() public { - vm.expectRevert("Ownable: caller is not the owner"); + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); offers.grantRole(address(100), MARKETPLACE_ROLE); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); offers.revokeRole(address(100), MARKETPLACE_ROLE); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); offers.pause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); offers.unpause(); } diff --git a/test/marketplace/lsp8/LSP8Auctions.t.sol b/test/marketplace/lsp8/LSP8Auctions.t.sol index 719a93f..1a63465 100644 --- a/test/marketplace/lsp8/LSP8Auctions.t.sol +++ b/test/marketplace/lsp8/LSP8Auctions.t.sol @@ -7,6 +7,7 @@ import { TransparentUpgradeableProxy } from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; import {UniversalProfile} from "@lukso/lsp-smart-contracts/contracts/UniversalProfile.sol"; +import {OwnableCallerNotTheOwner} from "@erc725/smart-contracts/contracts/errors.sol"; import {Module, MARKETPLACE_ROLE} from "../../../src/marketplace/common/Module.sol"; import {LSP8Listings, LSP8Listing} from "../../../src/marketplace/lsp8/LSP8Listings.sol"; import {LSP8Auctions, LSP8Auction, LSP8Bid} from "../../../src/marketplace/lsp8/LSP8Auctions.sol"; @@ -63,12 +64,18 @@ contract LSP8AuctionsTest is Test { listings = LSP8Listings( address( - new TransparentUpgradeableProxy(address(new LSP8Listings()), admin, abi.encodeWithSelector(LSP8Listings.initialize.selector, owner)) + new TransparentUpgradeableProxy( + address(new LSP8Listings()), admin, abi.encodeWithSelector(LSP8Listings.initialize.selector, owner) + ) ) ); auctions = LSP8Auctions( address( - new TransparentUpgradeableProxy(address(new LSP8Auctions()), admin, abi.encodeWithSelector(LSP8Auctions.initialize.selector, owner, listings)) + new TransparentUpgradeableProxy( + address(new LSP8Auctions()), + admin, + abi.encodeWithSelector(LSP8Auctions.initialize.selector, owner, listings) + ) ) ); @@ -94,17 +101,28 @@ contract LSP8AuctionsTest is Test { } function test_Revert_IfConfigureNotOwner() public { - vm.expectRevert("Ownable: caller is not the owner"); + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); auctions.grantRole(address(100), MARKETPLACE_ROLE); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); auctions.revokeRole(address(100), MARKETPLACE_ROLE); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); auctions.pause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); auctions.unpause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); auctions.setMinBidDetlaPoints(5_000); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); auctions.setBidTimeExtension(5 minutes); } diff --git a/test/marketplace/lsp8/LSP8Listings.t.sol b/test/marketplace/lsp8/LSP8Listings.t.sol index 529f376..498b913 100644 --- a/test/marketplace/lsp8/LSP8Listings.t.sol +++ b/test/marketplace/lsp8/LSP8Listings.t.sol @@ -7,6 +7,7 @@ import { TransparentUpgradeableProxy } from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; import {UniversalProfile} from "@lukso/lsp-smart-contracts/contracts/UniversalProfile.sol"; +import {OwnableCallerNotTheOwner} from "@erc725/smart-contracts/contracts/errors.sol"; import {Module, MARKETPLACE_ROLE} from "../../../src/marketplace/common/Module.sol"; import {LSP8Listings, LSP8Listing} from "../../../src/marketplace/lsp8/LSP8Listings.sol"; import {deployProfile} from "../../utils/profile.sol"; @@ -40,7 +41,9 @@ contract LSP8ListingsTest is Test { listings = LSP8Listings( address( - new TransparentUpgradeableProxy(address(new LSP8Listings()), admin, abi.encodeWithSelector(LSP8Listings.initialize.selector, owner)) + new TransparentUpgradeableProxy( + address(new LSP8Listings()), admin, abi.encodeWithSelector(LSP8Listings.initialize.selector, owner) + ) ) ); } @@ -58,13 +61,20 @@ contract LSP8ListingsTest is Test { } function test_Revert_IfConfigureNotOwner() public { - vm.expectRevert("Ownable: caller is not the owner"); + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); listings.grantRole(address(100), MARKETPLACE_ROLE); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); listings.revokeRole(address(100), MARKETPLACE_ROLE); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); listings.pause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); listings.unpause(); } diff --git a/test/marketplace/lsp8/LSP8Marketplace.t.sol b/test/marketplace/lsp8/LSP8Marketplace.t.sol index 88b9cf4..7ef9308 100644 --- a/test/marketplace/lsp8/LSP8Marketplace.t.sol +++ b/test/marketplace/lsp8/LSP8Marketplace.t.sol @@ -8,6 +8,7 @@ import { } from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; import {_INTERFACEID_LSP0} from "@lukso/lsp-smart-contracts/contracts/LSP0ERC725Account/LSP0Constants.sol"; import {UniversalProfile} from "@lukso/lsp-smart-contracts/contracts/UniversalProfile.sol"; +import {OwnableCallerNotTheOwner} from "@erc725/smart-contracts/contracts/errors.sol"; import {Module, MARKETPLACE_ROLE} from "../../../src/marketplace/common/Module.sol"; import {Points} from "../../../src/common/Points.sol"; import {Royalties, RoyaltiesInfo} from "../../../src/common/Royalties.sol"; @@ -58,32 +59,55 @@ contract LSP8MarketplaceTest is Test { participant = Participant( payable( address( - new TransparentUpgradeableProxy(address(new Participant()), admin, abi.encodeWithSelector( - Participant.initialize.selector, - owner - )) + new TransparentUpgradeableProxy( + address(new Participant()), + admin, + abi.encodeWithSelector(Participant.initialize.selector, owner) + ) ) ) ); listings = LSP8Listings( address( - new TransparentUpgradeableProxy(address(new LSP8Listings()), admin, abi.encodeWithSelector(LSP8Listings.initialize.selector, owner)) + new TransparentUpgradeableProxy( + address(new LSP8Listings()), admin, abi.encodeWithSelector(LSP8Listings.initialize.selector, owner) + ) ) ); offers = LSP8Offers( address( - new TransparentUpgradeableProxy(address(new LSP8Offers()), admin, abi.encodeWithSelector(LSP8Offers.initialize.selector, owner, listings)) + new TransparentUpgradeableProxy( + address(new LSP8Offers()), + admin, + abi.encodeWithSelector(LSP8Offers.initialize.selector, owner, listings) + ) ) ); auctions = LSP8Auctions( address( - new TransparentUpgradeableProxy(address(new LSP8Auctions()), admin, abi.encodeWithSelector(LSP8Auctions.initialize.selector, owner, listings)) + new TransparentUpgradeableProxy( + address(new LSP8Auctions()), + admin, + abi.encodeWithSelector(LSP8Auctions.initialize.selector, owner, listings) + ) ) ); marketplace = LSP8Marketplace( payable( address( - new TransparentUpgradeableProxy(address(new LSP8Marketplace()), admin, abi.encodeWithSelector(LSP8Marketplace.initialize.selector, owner, beneficiary, listings, offers,auctions, participant)) + new TransparentUpgradeableProxy( + address(new LSP8Marketplace()), + admin, + abi.encodeWithSelector( + LSP8Marketplace.initialize.selector, + owner, + beneficiary, + listings, + offers, + auctions, + participant + ) + ) ) ) ); @@ -121,13 +145,20 @@ contract LSP8MarketplaceTest is Test { } function test_Revert_IfConfigureNotOwner() public { - vm.expectRevert("Ownable: caller is not the owner"); + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); marketplace.pause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); marketplace.unpause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); marketplace.setFeePoints(0); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); marketplace.setRoyaltiesThresholdPoints(0); } diff --git a/test/marketplace/lsp8/LSP8Offers.t.sol b/test/marketplace/lsp8/LSP8Offers.t.sol index 164beee..bc9d9af 100644 --- a/test/marketplace/lsp8/LSP8Offers.t.sol +++ b/test/marketplace/lsp8/LSP8Offers.t.sol @@ -7,6 +7,7 @@ import { TransparentUpgradeableProxy } from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; import {UniversalProfile} from "@lukso/lsp-smart-contracts/contracts/UniversalProfile.sol"; +import {OwnableCallerNotTheOwner} from "@erc725/smart-contracts/contracts/errors.sol"; import {Module, MARKETPLACE_ROLE} from "../../../src/marketplace/common/Module.sol"; import {LSP8Listings, LSP8Listing} from "../../../src/marketplace/lsp8/LSP8Listings.sol"; import {LSP8Offers, LSP8Offer} from "../../../src/marketplace/lsp8/LSP8Offers.sol"; @@ -34,12 +35,18 @@ contract LSP8OffersTest is Test { listings = LSP8Listings( address( - new TransparentUpgradeableProxy(address(new LSP8Listings()), admin, abi.encodeWithSelector(LSP8Listings.initialize.selector, owner)) + new TransparentUpgradeableProxy( + address(new LSP8Listings()), admin, abi.encodeWithSelector(LSP8Listings.initialize.selector, owner) + ) ) ); offers = LSP8Offers( address( - new TransparentUpgradeableProxy(address(new LSP8Offers()), admin, abi.encodeWithSelector(LSP8Offers.initialize.selector, owner, listings)) + new TransparentUpgradeableProxy( + address(new LSP8Offers()), + admin, + abi.encodeWithSelector(LSP8Offers.initialize.selector, owner, listings) + ) ) ); } @@ -57,13 +64,20 @@ contract LSP8OffersTest is Test { } function test_Revert_IfConfigureNotOwner() public { - vm.expectRevert("Ownable: caller is not the owner"); + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); offers.grantRole(address(100), MARKETPLACE_ROLE); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); offers.revokeRole(address(100), MARKETPLACE_ROLE); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); offers.pause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); offers.unpause(); } diff --git a/test/page/PageName.t.sol b/test/page/PageName.t.sol index 60ad57e..234bb11 100644 --- a/test/page/PageName.t.sol +++ b/test/page/PageName.t.sol @@ -10,10 +10,11 @@ import { _LSP4_TOKEN_TYPE_NFT } from "@lukso/lsp-smart-contracts/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol"; import { - _LSP8_TOKENID_SCHEMA_KEY, - _LSP8_TOKENID_SCHEMA_STRING + _LSP8_TOKENID_FORMAT_KEY, + _LSP8_TOKENID_FORMAT_STRING } from "@lukso/lsp-smart-contracts/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol"; import {UniversalProfile} from "@lukso/lsp-smart-contracts/contracts/UniversalProfile.sol"; +import {OwnableCallerNotTheOwner} from "@erc725/smart-contracts/contracts/errors.sol"; import {IPageNameMarketplace, PendingSale} from "../../src/page/IPageNameMarketplace.sol"; import {PageName} from "../../src/page/PageName.sol"; import {deployProfile} from "../utils/profile.sol"; @@ -46,18 +47,22 @@ contract PageNameTest is Test { name = PageName( payable( address( - new TransparentUpgradeableProxy(address(new PageName()), admin, abi.encodeWithSelector( - PageName.initialize.selector, - "Universal Page Name", - "UPN", - owner, - beneficiary, - controller, - 1 ether, - 3, - 2, - marketplace - )) + new TransparentUpgradeableProxy( + address(new PageName()), + admin, + abi.encodeWithSelector( + PageName.initialize.selector, + "Universal Page Name", + "UPN", + owner, + beneficiary, + controller, + 1 ether, + 3, + 2, + marketplace + ) + ) ) ) ); @@ -68,7 +73,7 @@ contract PageNameTest is Test { assertEq("Universal Page Name", name.getData(_LSP4_TOKEN_NAME_KEY)); assertEq("UPN", name.getData(_LSP4_TOKEN_SYMBOL_KEY)); assertEq(_LSP4_TOKEN_TYPE_NFT, uint256(bytes32(name.getData(_LSP4_TOKEN_TYPE_KEY)))); - assertEq(_LSP8_TOKENID_SCHEMA_STRING, uint256(bytes32(name.getData(_LSP8_TOKENID_SCHEMA_KEY)))); + assertEq(_LSP8_TOKENID_FORMAT_STRING, uint256(bytes32(name.getData(_LSP8_TOKENID_FORMAT_KEY)))); assertEq(owner, name.owner()); assertEq(beneficiary, name.beneficiary()); assertEq(controller, name.controller()); @@ -90,19 +95,32 @@ contract PageNameTest is Test { } function test_Revert_IfConfigureNotOwner() public { - vm.expectRevert("Ownable: caller is not the owner"); + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); name.setProfileLimit(10); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); name.setMinimumLength(4); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); name.setPrice(0 ether); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); name.setController(address(100)); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); name.pause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); name.unpause(); - vm.expectRevert("Ownable: caller is not the owner"); + + vm.prank(address(1)); + vm.expectRevert(abi.encodeWithSelector(OwnableCallerNotTheOwner.selector, address(1))); name.withdraw(0 ether); }