@startbahn/startrail
Version:
Startrail smart contracts
2,472 lines (2,471 loc) • 52.8 kB
JSON
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "approved",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "ApprovalForAll",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "name",
"type": "string"
},
{
"indexed": false,
"internalType": "uint256",
"name": "customHistoryTypeId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "metadataCID",
"type": "string"
}
],
"name": "CreateCustomHistory",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "name",
"type": "string"
},
{
"indexed": false,
"internalType": "uint256",
"name": "customHistoryTypeId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "metadataDigest",
"type": "bytes32"
}
],
"name": "CreateCustomHistory",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "name",
"type": "string"
},
{
"indexed": false,
"internalType": "uint256",
"name": "customHistoryTypeId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "metadataDigest",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "string",
"name": "originChain",
"type": "string"
},
{
"indexed": false,
"internalType": "uint256",
"name": "originTimestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "originTxHash",
"type": "bytes32"
}
],
"name": "CreateCustomHistoryFromMigration",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "historyType",
"type": "string"
}
],
"name": "CreateCustomHistoryType",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"components": [
{
"internalType": "bool",
"name": "isPrimaryIssuer",
"type": "bool"
},
{
"internalType": "address",
"name": "artistAddress",
"type": "address"
},
{
"internalType": "address",
"name": "issuer",
"type": "address"
}
],
"indexed": false,
"internalType": "struct IStartrailRegistryV25.SRR",
"name": "registryRecord",
"type": "tuple"
},
{
"indexed": false,
"internalType": "string",
"name": "metadataCID",
"type": "string"
},
{
"indexed": false,
"internalType": "bool",
"name": "lockExternalTransfer",
"type": "bool"
}
],
"name": "CreateSRR",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"components": [
{
"internalType": "bool",
"name": "isPrimaryIssuer",
"type": "bool"
},
{
"internalType": "address",
"name": "artistAddress",
"type": "address"
},
{
"internalType": "address",
"name": "issuer",
"type": "address"
}
],
"indexed": false,
"internalType": "struct IStartrailRegistryV25.SRR",
"name": "registryRecord",
"type": "tuple"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "metadataDigest",
"type": "bytes32"
}
],
"name": "CreateSRR",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"components": [
{
"internalType": "bool",
"name": "isPrimaryIssuer",
"type": "bool"
},
{
"internalType": "address",
"name": "artistAddress",
"type": "address"
},
{
"internalType": "address",
"name": "issuer",
"type": "address"
}
],
"indexed": false,
"internalType": "struct IStartrailRegistryV25.SRR",
"name": "registryRecord",
"type": "tuple"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "metadataDigest",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "bool",
"name": "lockExternalTransfer",
"type": "bool"
}
],
"name": "CreateSRR",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"components": [
{
"internalType": "bool",
"name": "isPrimaryIssuer",
"type": "bool"
},
{
"internalType": "address",
"name": "artistAddress",
"type": "address"
},
{
"internalType": "address",
"name": "issuer",
"type": "address"
}
],
"indexed": false,
"internalType": "struct IStartrailRegistryV1.SRR",
"name": "registryRecord",
"type": "tuple"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "metadataDigest",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "originTimestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "originTxHash",
"type": "bytes32"
}
],
"name": "CreateSRRFromMigration",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256[]",
"name": "tokenIds",
"type": "uint256[]"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "customHistoryIds",
"type": "uint256[]"
}
],
"name": "History",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bool",
"name": "flag",
"type": "bool"
}
],
"name": "LockExternalTransfer",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "originChain",
"type": "string"
}
],
"name": "MigrateSRR",
"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": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "string",
"name": "historyMetadataHash",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "historyMetadataURI",
"type": "string"
},
{
"indexed": false,
"internalType": "bool",
"name": "isIntermediary",
"type": "bool"
}
],
"name": "Provenance",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "customHistoryId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "historyMetadataHash",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "historyMetadataURI",
"type": "string"
},
{
"indexed": false,
"internalType": "bool",
"name": "isIntermediary",
"type": "bool"
}
],
"name": "Provenance",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "string",
"name": "historyMetadataHash",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "historyMetadataURI",
"type": "string"
}
],
"name": "Provenance",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "customHistoryId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "historyMetadataHash",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "historyMetadataURI",
"type": "string"
}
],
"name": "Provenance",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "originTimestamp",
"type": "uint256"
}
],
"name": "ProvenanceDateMigrationFix",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "historyMetadataDigest",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "historyMetadataURI",
"type": "string"
},
{
"indexed": false,
"internalType": "uint256",
"name": "originTimestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "originTxHash",
"type": "bytes32"
}
],
"name": "ProvenanceFromMigration",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "customHistoryId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "historyMetadataDigest",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "historyMetadataURI",
"type": "string"
},
{
"indexed": false,
"internalType": "uint256",
"name": "originTimestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "originTxHash",
"type": "bytes32"
}
],
"name": "ProvenanceFromMigration",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"components": [
{
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"internalType": "uint16",
"name": "basisPoints",
"type": "uint16"
}
],
"indexed": false,
"internalType": "struct IStartrailRegistryV25.RoyaltyInfo",
"name": "royalty",
"type": "tuple"
}
],
"name": "RoyaltiesSet",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "commitment",
"type": "bytes32"
}
],
"name": "SRRCommitment",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "commitment",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "customHistoryId",
"type": "uint256"
}
],
"name": "SRRCommitment",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "SRRCommitmentCancelled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "originTimestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "originTxHash",
"type": "bytes32"
}
],
"name": "SRRCommitmentCancelledFromMigration",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "commitment",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "originTimestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "originTxHash",
"type": "bytes32"
}
],
"name": "SRRCommitmentFromMigration",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "commitment",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "customHistoryId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "originTimestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "originTxHash",
"type": "bytes32"
}
],
"name": "SRRCommitmentFromMigration",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "originTimestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "originTxHash",
"type": "bytes32"
}
],
"name": "TransferFromMigration",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "name",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "metadataCID",
"type": "string"
}
],
"name": "UpdateCustomHistory",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "name",
"type": "string"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "metadataDigest",
"type": "bytes32"
}
],
"name": "UpdateCustomHistory",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bool",
"name": "isPrimaryIssuer",
"type": "bool"
},
{
"indexed": false,
"internalType": "address",
"name": "artistAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "UpdateSRR",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"components": [
{
"internalType": "bool",
"name": "isPrimaryIssuer",
"type": "bool"
},
{
"internalType": "address",
"name": "artistAddress",
"type": "address"
},
{
"internalType": "address",
"name": "issuer",
"type": "address"
}
],
"indexed": false,
"internalType": "struct IStartrailRegistryV25.SRR",
"name": "registryRecord",
"type": "tuple"
}
],
"name": "UpdateSRR",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"components": [
{
"internalType": "bool",
"name": "isPrimaryIssuer",
"type": "bool"
},
{
"internalType": "address",
"name": "artistAddress",
"type": "address"
},
{
"internalType": "address",
"name": "issuer",
"type": "address"
}
],
"indexed": false,
"internalType": "struct IStartrailRegistryV1.SRR",
"name": "registryRecord",
"type": "tuple"
},
{
"indexed": false,
"internalType": "uint256",
"name": "originTimestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "originTxHash",
"type": "bytes32"
}
],
"name": "UpdateSRRFromMigration",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "metadataCID",
"type": "string"
}
],
"name": "UpdateSRRMetadataCID",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "metadataDigest",
"type": "bytes32"
}
],
"name": "UpdateSRRMetadataDigest",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "metadataCID",
"type": "string"
}
],
"name": "UpdateSRRMetadataDigest",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "metadataDigest",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "originTimestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "originTxHash",
"type": "bytes32"
}
],
"name": "UpdateSRRMetadataDigestFromMigration",
"type": "event"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "_tokenOwner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "historyTypeName",
"type": "string"
}
],
"name": "addCustomHistoryType",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256[]",
"name": "tokenIds",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "customHistoryIds",
"type": "uint256[]"
}
],
"name": "addHistory",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "approve",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "bytes32",
"name": "commitment",
"type": "bytes32"
},
{
"internalType": "string",
"name": "historyMetadataHash",
"type": "string"
}
],
"name": "approveSRRByCommitment",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "bytes32",
"name": "commitment",
"type": "bytes32"
},
{
"internalType": "string",
"name": "historyMetadataHash",
"type": "string"
},
{
"internalType": "uint256",
"name": "customHistoryId",
"type": "uint256"
}
],
"name": "approveSRRByCommitment",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "signer",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "bytes32",
"name": "commitment",
"type": "bytes32"
},
{
"internalType": "string",
"name": "historyMetadataHash",
"type": "string"
},
{
"internalType": "uint256",
"name": "customHistoryId",
"type": "uint256"
}
],
"name": "approveSRRByCommitmentFromBulk",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "baseURI",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "cancelSRRCommitment",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "contractURI",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bool",
"name": "isPrimaryIssuer",
"type": "bool"
},
{
"internalType": "address",
"name": "artistAddress",
"type": "address"
},
{
"internalType": "string",
"name": "metadataCID",
"type": "string"
},
{
"internalType": "address",
"name": "issuerAddress",
"type": "address"
},
{
"internalType": "bool",
"name": "lockExternalTransfer_",
"type": "bool"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "address",
"name": "royaltyReceiver",
"type": "address"
},
{
"internalType": "uint16",
"name": "royaltyBasisPoints",
"type": "uint16"
}
],
"name": "createSRRFromBulk",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bool",
"name": "isPrimaryIssuer",
"type": "bool"
},
{
"internalType": "address",
"name": "artistAddress",
"type": "address"
},
{
"internalType": "string",
"name": "metadataCID",
"type": "string"
},
{
"internalType": "bool",
"name": "lockExternalTransfer_",
"type": "bool"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "address",
"name": "royaltyReceiver",
"type": "address"
},
{
"internalType": "uint16",
"name": "royaltyBasisPoints",
"type": "uint16"
}
],
"name": "createSRRFromLicensedUser",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"name": "customHistoryTypeIdByName",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "customHistoryTypeNameById",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "userAddress",
"type": "address"
},
{
"internalType": "bytes",
"name": "callData",
"type": "bytes"
},
{
"internalType": "bytes32",
"name": "sigR",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "sigS",
"type": "bytes32"
},
{
"internalType": "uint8",
"name": "sigV",
"type": "uint8"
}
],
"name": "executeMetaTransaction",
"outputs": [
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "getApproved",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getChainId",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "getCustomHistoryNameById",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getDomainSeperator",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "user",
"type": "address"
}
],
"name": "getNonce",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getOpenSeaProxyAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "getSRR",
"outputs": [
{
"components": [
{
"internalType": "bool",
"name": "isPrimaryIssuer",
"type": "bool"
},
{
"internalType": "address",
"name": "artistAddress",
"type": "address"
},
{
"internalType": "address",
"name": "issuer",
"type": "address"
}
],
"internalType": "struct IStartrailRegistryV25.SRR",
"name": "registryRecord",
"type": "tuple"
},
{
"internalType": "bytes32",
"name": "metadataDigest",
"type": "bytes32"
},
{
"internalType": "string",
"name": "metadataCID",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "getSRRCommitment",
"outputs": [
{
"internalType": "bytes32",
"name": "commitment",
"type": "bytes32"
},
{
"internalType": "string",
"name": "historyMetadataHash",
"type": "string"
},
{
"internalType": "uint256",
"name": "customHistoryId",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getTrustedForwarder",
"outputs": [
{
"internalType": "address",
"name": "trustedForwarder",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "tokenOwner",
"type": "address"
},
{
"internalType": "address",
"name": "operator",
"type": "address"
}
],
"name": "isApprovedForAll",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "forwarder",
"type": "address"
}
],
"name": "isTrustedForwarder",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "lockExternalTransfer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "maxCombinedHistoryRecords",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "nameRegistryAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "ownerOf",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "royalties",
"outputs": [
{
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"internalType": "uint16",
"name": "basisPoints",
"type": "uint16"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_tokenId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_salePrice",
"type": "uint256"
}
],
"name": "royaltyInfo",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "_data",
"type": "bytes"
}
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "setApprovalForAll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_contractURI",
"type": "string"
}
],
"name": "setContractURI",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "bool",
"name": "flag",
"type": "bool"
}
],
"name": "setLockExternalTransfer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "maxRecords",
"type": "uint256"
}
],
"name": "setMaxCombinedHistoryRecords",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "nameRegistry",
"type": "address"
}
],
"name": "setNameRegistryAddress",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bool",
"name": "on",
"type": "bool"
}
],
"name": "setOpenSeaApproveAllKillSwitch",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "proxyRegistryAddress",
"type": "address"
},
{
"internalType": "string",
"name": "name",
"type": "string"
}
],
"name": "setOpenSeaMetaTxIntegration",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "URIPrefix",
"type": "string"
},
{
"internalType": "string",
"name": "URIPostfix",
"type": "string"
}
],
"name": "setTokenURIParts",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "forwarder",
"type": "address"
}
],
"name": "setTrustedForwarder",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "metadataDigest",
"type": "string"
}
],
"name": "tokenURI",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "tokenURI",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "string",
"name": "historyMetadataHash",
"type": "string"
},
{
"internalType": "uint256",
"name": "customHistoryId",
"type": "uint256"
},
{
"internalType": "bool",
"name": "isIntermediary",
"type": "bool"
}
],
"name": "transferFromWithProvenance",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "signer",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "string",
"name": "historyMetadataHash",
"type": "string"
},
{
"internalType": "uint256",
"name": "customHistoryId",
"type": "uint256"
},
{
"internalType": "bool",
"name": "isIntermediary",
"type": "bool"
}
],
"name": "transferFromWithProvenanceFromBulk",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "bytes32",
"name": "reveal",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "bool",
"name": "isIntermediary",
"type": "bool"
}
],
"name": "transferSRRByReveal",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "customHistoryId",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "bytes32",
"name": "metadataDigest",
"type": "bytes32"
}
],
"name": "updateCustomHistory",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "customHistoryId",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
},