Static
Readonly
abi
abi: readonly [{
inputs: readonly [{
internalType: "contract ISuperfluid";
name: "host";
type: "address";
}, {
internalType: "contract IConstantFlowAgreementV1";
name: "cfaV1";
type: "address";
}, {
internalType: "contract IGeneralDistributionAgreementV1";
name: "gdaV1";
type: "address";
}];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "CFA_NFT_APPROVE_CALLER_NOT_OWNER_OR_APPROVED_FOR_ALL";
type: "error";
}, {
inputs: readonly [];
name: "CFA_NFT_APPROVE_TO_CALLER";
type: "error";
}, {
inputs: readonly [];
name: "CFA_NFT_APPROVE_TO_CURRENT_OWNER";
type: "error";
}, {
inputs: readonly [];
name: "CFA_NFT_INVALID_TOKEN_ID";
type: "error";
}, {
inputs: readonly [];
name: "CFA_NFT_ONLY_SUPER_TOKEN_FACTORY";
type: "error";
}, {
inputs: readonly [];
name: "CFA_NFT_TRANSFER_CALLER_NOT_OWNER_OR_APPROVED_FOR_ALL";
type: "error";
}, {
inputs: readonly [];
name: "CFA_NFT_TRANSFER_FROM_INCORRECT_OWNER";
type: "error";
}, {
inputs: readonly [];
name: "CFA_NFT_TRANSFER_IS_NOT_ALLOWED";
type: "error";
}, {
inputs: readonly [];
name: "CFA_NFT_TRANSFER_TO_ZERO_ADDRESS";
type: "error";
}, {
anonymous: false;
inputs: readonly [{
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: readonly [{
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: readonly [{
indexed: false;
internalType: "bytes32";
name: "uuid";
type: "bytes32";
}, {
indexed: false;
internalType: "address";
name: "codeAddress";
type: "address";
}];
name: "CodeUpdated";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "uint8";
name: "version";
type: "uint8";
}];
name: "Initialized";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "uint256";
name: "tokenId";
type: "uint256";
}];
name: "MetadataUpdate";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
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";
}, {
inputs: readonly [];
name: "CONSTANT_FLOW_AGREEMENT_V1";
outputs: readonly [{
internalType: "contract IConstantFlowAgreementV1";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "DEFAULT_BASE_URI";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "GENERAL_DISTRIBUTION_AGREEMENT_V1";
outputs: readonly [{
internalType: "contract IGeneralDistributionAgreementV1";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "HOST";
outputs: readonly [{
internalType: "contract ISuperfluid";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "tokenId";
type: "uint256";
}];
name: "approve";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "";
type: "address";
}];
name: "balanceOf";
outputs: readonly [{
internalType: "uint256";
name: "balance";
type: "uint256";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [];
name: "baseURI";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [];
name: "castrate";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "tokenId";
type: "uint256";
}];
name: "flowDataByTokenId";
outputs: readonly [{
components: readonly [{
internalType: "address";
name: "superToken";
type: "address";
}, {
internalType: "address";
name: "flowSender";
type: "address";
}, {
internalType: "address";
name: "flowReceiver";
type: "address";
}, {
internalType: "uint32";
name: "flowStartDate";
type: "uint32";
}];
internalType: "struct IFlowNFTBase.FlowNFTData";
name: "flowData";
type: "tuple";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "tokenId";
type: "uint256";
}];
name: "getApproved";
outputs: readonly [{
internalType: "address";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getCodeAddress";
outputs: readonly [{
internalType: "address";
name: "codeAddress";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "superToken";
type: "address";
}, {
internalType: "address";
name: "sender";
type: "address";
}, {
internalType: "address";
name: "receiver";
type: "address";
}];
name: "getTokenId";
outputs: readonly [{
internalType: "uint256";
name: "tokenId";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "string";
name: "nftName";
type: "string";
}, {
internalType: "string";
name: "nftSymbol";
type: "string";
}];
name: "initialize";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "owner";
type: "address";
}, {
internalType: "address";
name: "operator";
type: "address";
}];
name: "isApprovedForAll";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "_superToken";
type: "address";
}, {
internalType: "address";
name: "_flowSender";
type: "address";
}, {
internalType: "address";
name: "_flowReceiver";
type: "address";
}];
name: "mockMint";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "name";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "tokenId";
type: "uint256";
}];
name: "ownerOf";
outputs: readonly [{
internalType: "address";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "proxiableUUID";
outputs: readonly [{
internalType: "bytes32";
name: "";
type: "bytes32";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "tokenId";
type: "uint256";
}];
name: "safeTransferFrom";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
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: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "operator";
type: "address";
}, {
internalType: "bool";
name: "approved";
type: "bool";
}];
name: "setApprovalForAll";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "bytes4";
name: "interfaceId";
type: "bytes4";
}];
name: "supportsInterface";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [];
name: "symbol";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "tokenId";
type: "uint256";
}];
name: "tokenURI";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "tokenId";
type: "uint256";
}];
name: "transferFrom";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "tokenId";
type: "uint256";
}];
name: "triggerMetadataUpdate";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "newAddress";
type: "address";
}];
name: "updateCode";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}]