Skip to main content
Version: next

Class: ERC721__factory

token.erc721.ERC721__factory

Hierarchy

  • ContractFactory

    ERC721__factory

Constructors

constructor

new ERC721__factory(...args)

Parameters

NameType
...argsERC721ConstructorParams

Overrides

ContractFactory.constructor

Defined in

packages/contracts/typechain/factories/@openzeppelin/contracts/token/ERC721/ERC721__factory.ts:372

Properties

bytecode

Readonly bytecode: string

Inherited from

ContractFactory.bytecode

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:139


interface

Readonly interface: Interface

Inherited from

ContractFactory.interface

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:138


signer

Readonly signer: Signer

Inherited from

ContractFactory.signer

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:140


abi

Static Readonly abi: readonly [{ inputs: readonly [{ internalType: "string" = "string"; name: "name_" = "name_"; type: "string" = "string" }, { internalType: "string" = "string"; name: "symbol_" = "symbol_"; type: "string" = "string" }] ; stateMutability: "nonpayable" = "nonpayable"; type: "constructor" = "constructor" }, { anonymous: false = false; inputs: readonly [{ indexed: true = true; internalType: "address" = "address"; name: "owner" = "owner"; type: "address" = "address" }, { indexed: true = true; internalType: "address" = "address"; name: "approved" = "approved"; type: "address" = "address" }, { indexed: true = true; internalType: "uint256" = "uint256"; name: "tokenId" = "tokenId"; type: "uint256" = "uint256" }] ; name: "Approval" = "Approval"; type: "event" = "event" }, { anonymous: false = false; inputs: readonly [{ indexed: true = true; internalType: "address" = "address"; name: "owner" = "owner"; type: "address" = "address" }, { indexed: true = true; internalType: "address" = "address"; name: "operator" = "operator"; type: "address" = "address" }, { indexed: false = false; internalType: "bool" = "bool"; name: "approved" = "approved"; type: "bool" = "bool" }] ; name: "ApprovalForAll" = "ApprovalForAll"; type: "event" = "event" }, { anonymous: false = false; inputs: readonly [{ indexed: true = true; internalType: "address" = "address"; name: "from" = "from"; type: "address" = "address" }, { indexed: true = true; internalType: "address" = "address"; name: "to" = "to"; type: "address" = "address" }, { indexed: true = true; internalType: "uint256" = "uint256"; name: "tokenId" = "tokenId"; type: "uint256" = "uint256" }] ; name: "Transfer" = "Transfer"; type: "event" = "event" }, { inputs: readonly [{ internalType: "address" = "address"; name: "to" = "to"; type: "address" = "address" }, { internalType: "uint256" = "uint256"; name: "tokenId" = "tokenId"; type: "uint256" = "uint256" }] ; name: "approve" = "approve"; outputs: readonly [] = []; stateMutability: "nonpayable" = "nonpayable"; type: "function" = "function" }, { inputs: readonly [{ internalType: "address" = "address"; name: "owner" = "owner"; type: "address" = "address" }] ; name: "balanceOf" = "balanceOf"; outputs: readonly [{ internalType: "uint256" = "uint256"; name: "" = ""; type: "uint256" = "uint256" }] ; stateMutability: "view" = "view"; type: "function" = "function" }, { inputs: readonly [{ internalType: "uint256" = "uint256"; name: "tokenId" = "tokenId"; type: "uint256" = "uint256" }] ; name: "getApproved" = "getApproved"; outputs: readonly [{ internalType: "address" = "address"; name: "" = ""; type: "address" = "address" }] ; stateMutability: "view" = "view"; type: "function" = "function" }, { inputs: readonly [{ internalType: "address" = "address"; name: "owner" = "owner"; type: "address" = "address" }, { internalType: "address" = "address"; name: "operator" = "operator"; type: "address" = "address" }] ; name: "isApprovedForAll" = "isApprovedForAll"; outputs: readonly [{ internalType: "bool" = "bool"; name: "" = ""; type: "bool" = "bool" }] ; stateMutability: "view" = "view"; type: "function" = "function" }, { inputs: readonly [] = []; name: "name" = "name"; outputs: readonly [{ internalType: "string" = "string"; name: "" = ""; type: "string" = "string" }] ; stateMutability: "view" = "view"; type: "function" = "function" }, { inputs: readonly [{ internalType: "uint256" = "uint256"; name: "tokenId" = "tokenId"; type: "uint256" = "uint256" }] ; name: "ownerOf" = "ownerOf"; outputs: readonly [{ internalType: "address" = "address"; name: "" = ""; type: "address" = "address" }] ; stateMutability: "view" = "view"; type: "function" = "function" }, { inputs: readonly [{ internalType: "address" = "address"; name: "from" = "from"; type: "address" = "address" }, { internalType: "address" = "address"; name: "to" = "to"; type: "address" = "address" }, { internalType: "uint256" = "uint256"; name: "tokenId" = "tokenId"; type: "uint256" = "uint256" }] ; name: "safeTransferFrom" = "safeTransferFrom"; outputs: readonly [] = []; stateMutability: "nonpayable" = "nonpayable"; type: "function" = "function" }, { inputs: readonly [{ internalType: "address" = "address"; name: "from" = "from"; type: "address" = "address" }, { internalType: "address" = "address"; name: "to" = "to"; type: "address" = "address" }, { internalType: "uint256" = "uint256"; name: "tokenId" = "tokenId"; type: "uint256" = "uint256" }, { internalType: "bytes" = "bytes"; name: "data" = "data"; type: "bytes" = "bytes" }] ; name: "safeTransferFrom" = "safeTransferFrom"; outputs: readonly [] = []; stateMutability: "nonpayable" = "nonpayable"; type: "function" = "function" }, { inputs: readonly [{ internalType: "address" = "address"; name: "operator" = "operator"; type: "address" = "address" }, { internalType: "bool" = "bool"; name: "approved" = "approved"; type: "bool" = "bool" }] ; name: "setApprovalForAll" = "setApprovalForAll"; outputs: readonly [] = []; stateMutability: "nonpayable" = "nonpayable"; type: "function" = "function" }, { inputs: readonly [{ internalType: "bytes4" = "bytes4"; name: "interfaceId" = "interfaceId"; type: "bytes4" = "bytes4" }] ; name: "supportsInterface" = "supportsInterface"; outputs: readonly [{ internalType: "bool" = "bool"; name: "" = ""; type: "bool" = "bool" }] ; stateMutability: "view" = "view"; type: "function" = "function" }, { inputs: readonly [] = []; name: "symbol" = "symbol"; outputs: readonly [{ internalType: "string" = "string"; name: "" = ""; type: "string" = "string" }] ; stateMutability: "view" = "view"; type: "function" = "function" }, { inputs: readonly [{ internalType: "uint256" = "uint256"; name: "tokenId" = "tokenId"; type: "uint256" = "uint256" }] ; name: "tokenURI" = "tokenURI"; outputs: readonly [{ internalType: "string" = "string"; name: "" = ""; type: "string" = "string" }] ; stateMutability: "view" = "view"; type: "function" = "function" }, { inputs: readonly [{ internalType: "address" = "address"; name: "from" = "from"; type: "address" = "address" }, { internalType: "address" = "address"; name: "to" = "to"; type: "address" = "address" }, { internalType: "uint256" = "uint256"; name: "tokenId" = "tokenId"; type: "uint256" = "uint256" }] ; name: "transferFrom" = "transferFrom"; outputs: readonly [] = []; stateMutability: "nonpayable" = "nonpayable"; type: "function" = "function" }] = _abi

Defined in

packages/contracts/typechain/factories/@openzeppelin/contracts/token/ERC721/ERC721__factory.ts:402


bytecode

Static Readonly bytecode: "0x60806040523480156200001157600080fd5b5060405162001a6338038062001a6383398101604081905262000034916200011f565b600062000042838262000218565b50600162000051828262000218565b505050620002e4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b81604052838152602092508683858801011115620000e757600080fd5b600091505b838210156200010b5785820183015181830184015290820190620000ec565b600093810190920192909252949350505050565b600080604083850312156200013357600080fd5b82516001600160401b03808211156200014b57600080fd5b620001598683870162000070565b935060208501519150808211156200017057600080fd5b506200017f8582860162000070565b9150509250929050565b600181811c908216806200019e57607f821691505b602082108103620001bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021357600081815260208120601f850160051c81016020861015620001ee5750805b601f850160051c820191505b818110156200020f57828155600101620001fa565b5050505b505050565b81516001600160401b038111156200023457620002346200005a565b6200024c8162000245845462000189565b84620001c5565b602080601f8311600181146200028457600084156200026b5750858301515b600019600386901b1c1916600185901b1785556200020f565b600085815260208120601f198616915b82811015620002b55788860151825594840194600190910190840162000294565b5085821015620002d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61176f80620002f46000396000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c80636352211e1161008c578063a22cb46511610066578063a22cb465146101d0578063b88d4fde146101e3578063c87b56dd146101f6578063e985e9c51461020957600080fd5b80636352211e1461019457806370a08231146101a757806395d89b41146101c857600080fd5b8063095ea7b3116100bd578063095ea7b31461015957806323b872dd1461016e57806342842e0e1461018157600080fd5b806301ffc9a7146100e457806306fdde031461010c578063081812fc14610121575b600080fd5b6100f76100f2366004611358565b610252565b60405190151581526020015b60405180910390f35b610114610337565b60405161010391906113e3565b61013461012f3660046113f6565b6103c9565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610103565b61016c610167366004611438565b6103fd565b005b61016c61017c366004611462565b61058e565b61016c61018f366004611462565b61062f565b6101346101a23660046113f6565b61064a565b6101ba6101b536600461149e565b6106d6565b604051908152602001610103565b6101146107a4565b61016c6101de3660046114b9565b6107b3565b61016c6101f1366004611524565b6107c2565b6101146102043660046113f6565b61086a565b6100f761021736600461161e565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806102e557507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061033157507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606000805461034690611651565b80601f016020809104026020016040519081016040528092919081815260200182805461037290611651565b80156103bf5780601f10610394576101008083540402835291602001916103bf565b820191906000526020600020905b8154815290600101906020018083116103a257829003601f168201915b5050505050905090565b60006103d4826108de565b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60006104088261064a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036104ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff821614806104f357506104f38133610217565b61057f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016104c1565b610589838361096c565b505050565b6105983382610a0c565b610624576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f7665640000000000000000000000000000000000000060648201526084016104c1565b610589838383610acc565b610589838383604051806020016040528060008152506107c2565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610331576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016104c1565b600073ffffffffffffffffffffffffffffffffffffffff821661077b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e6572000000000000000000000000000000000000000000000060648201526084016104c1565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60606001805461034690611651565b6107be338383610dc7565b5050565b6107cc3383610a0c565b610858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f7665640000000000000000000000000000000000000060648201526084016104c1565b61086484848484610ef4565b50505050565b6060610875826108de565b600061088c60408051602081019091526000815290565b905060008151116108ac57604051806020016040528060008152506108d7565b806108b684610f97565b6040516020016108c79291906116a4565b6040516020818303038152906040525b9392505050565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16610969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016104c1565b50565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906109c68261064a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610a188361064a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610a86575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b80610ac457508373ffffffffffffffffffffffffffffffffffffffff16610aac846103c9565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff16610aec8261064a565b73ffffffffffffffffffffffffffffffffffffffff1614610b8f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016104c1565b73ffffffffffffffffffffffffffffffffffffffff8216610c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104c1565b8273ffffffffffffffffffffffffffffffffffffffff16610c518261064a565b73ffffffffffffffffffffffffffffffffffffffff1614610cf4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016104c1565b600081815260046020908152604080832080547fffffffffffffffffffffffff000000000000000000000000000000000000000090811690915573ffffffffffffffffffffffffffffffffffffffff8781168086526003855283862080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e5c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104c1565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610eff848484610acc565b610f0b84848484611055565b610864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016104c1565b60606000610fa483611248565b600101905060008167ffffffffffffffff811115610fc457610fc46114f5565b6040519080825280601f01601f191660200182016040528015610fee576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610ff857509392505050565b600073ffffffffffffffffffffffffffffffffffffffff84163b1561123d576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906110cc9033908990889088906004016116d3565b6020604051808303816000875af1925050508015611125575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526111229181019061171c565b60015b6111f2573d808015611153576040519150601f19603f3d011682016040523d82523d6000602084013e611158565b606091505b5080516000036111ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016104c1565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050610ac4565b506001949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611291577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106112bd576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106112db57662386f26fc10000830492506010015b6305f5e10083106112f3576305f5e100830492506008015b612710831061130757612710830492506004015b60648310611319576064830492506002015b600a83106103315760010192915050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461096957600080fd5b60006020828403121561136a57600080fd5b81356108d78161132a565b60005b83811015611390578181015183820152602001611378565b50506000910152565b600081518084526113b1816020860160208601611375565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006108d76020830184611399565b60006020828403121561140857600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461143357600080fd5b919050565b6000806040838503121561144b57600080fd5b6114548361140f565b946020939093013593505050565b60008060006060848603121561147757600080fd5b6114808461140f565b925061148e6020850161140f565b9150604084013590509250925092565b6000602082840312156114b057600080fd5b6108d78261140f565b600080604083850312156114cc57600080fd5b6114d58361140f565b9150602083013580151581146114ea57600080fd5b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806000806080858703121561153a57600080fd5b6115438561140f565b93506115516020860161140f565b925060408501359150606085013567ffffffffffffffff8082111561157557600080fd5b818701915087601f83011261158957600080fd5b81358181111561159b5761159b6114f5565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156115e1576115e16114f5565b816040528281528a60208487010111156115fa57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561163157600080fd5b61163a8361140f565b91506116486020840161140f565b90509250929050565b600181811c9082168061166557607f821691505b60208210810361169e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600083516116b6818460208801611375565b8351908301906116ca818360208801611375565b01949350505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526117126080830184611399565b9695505050505050565b60006020828403121561172e57600080fd5b81516108d78161132a56fea2646970667358221220473b2bb924e592f03e5c1a5c1aef6e730c8bc060343edb5868bfb6ec178e286664736f6c63430008130033"

Defined in

packages/contracts/typechain/factories/@openzeppelin/contracts/token/ERC721/ERC721__factory.ts:401

Methods

attach

attach(address): ERC721

Parameters

NameType
addressstring

Returns

ERC721

Overrides

ContractFactory.attach

Defined in

packages/contracts/typechain/factories/@openzeppelin/contracts/token/ERC721/ERC721__factory.ts:394


connect

connect(signer): ERC721__factory

Parameters

NameType
signerSigner

Returns

ERC721__factory

Overrides

ContractFactory.connect

Defined in

packages/contracts/typechain/factories/@openzeppelin/contracts/token/ERC721/ERC721__factory.ts:397


deploy

deploy(name_, symbol_, overrides?): Promise<ERC721>

Parameters

NameType
name_string
symbol_string
overrides?Overrides & { from?: string }

Returns

Promise<ERC721>

Overrides

ContractFactory.deploy

Defined in

packages/contracts/typechain/factories/@openzeppelin/contracts/token/ERC721/ERC721__factory.ts:380


getDeployTransaction

getDeployTransaction(name_, symbol_, overrides?): TransactionRequest

Parameters

NameType
name_string
symbol_string
overrides?Overrides & { from?: string }

Returns

TransactionRequest

Overrides

ContractFactory.getDeployTransaction

Defined in

packages/contracts/typechain/factories/@openzeppelin/contracts/token/ERC721/ERC721__factory.ts:387


connect

Static connect(address, signerOrProvider): ERC721

Parameters

NameType
addressstring
signerOrProviderProvider | Signer

Returns

ERC721

Defined in

packages/contracts/typechain/factories/@openzeppelin/contracts/token/ERC721/ERC721__factory.ts:406


createInterface

Static createInterface(): ERC721Interface

Returns

ERC721Interface

Defined in

packages/contracts/typechain/factories/@openzeppelin/contracts/token/ERC721/ERC721__factory.ts:403


fromSolidity

Static fromSolidity(compilerOutput, signer?): ContractFactory

Parameters

NameType
compilerOutputany
signer?Signer

Returns

ContractFactory

Inherited from

ContractFactory.fromSolidity

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:148


getContract

Static getContract(address, contractInterface, signer?): Contract

Parameters

NameType
addressstring
contractInterfaceContractInterface
signer?Signer

Returns

Contract

Inherited from

ContractFactory.getContract

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:154


getContractAddress

Static getContractAddress(tx): string

Parameters

NameType
txObject
tx.fromstring
tx.noncenumber | BytesLike | BigNumber

Returns

string

Inherited from

ContractFactory.getContractAddress

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:150


getInterface

Static getInterface(contractInterface): Interface

Parameters

NameType
contractInterfaceContractInterface

Returns

Interface

Inherited from

ContractFactory.getInterface

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:149