1 line
450 KiB
JSON
1 line
450 KiB
JSON
|
{"version":"0.1","summaries":[{"title":"ContractFactory","blocks":[{"link":"/v5/api/contract/contract-factory/#ContractFactory","text":"@TODO: Fill this in, including @SRC links."}]},{"title":"ContractFactory -- Methods -- contractFactory.attach( address ) => Contract","blocks":[{"link":"/v5/api/contract/contract-factory/#ContractFactory-attach","text":"Return an instance of a Contract attched to address."},{"link":"/v5/api/contract/contract-factory/#ContractFactory-attach","text":"This is the same as using the Contract constructor with address and this the the interface and signerOrProvider passed in when creating the ContractFactory."}]},{"title":"ContractFactory -- Methods -- contractFactory.getDeployTransaction( ...args ) => UnsignedTransaction","blocks":[{"link":"/v5/api/contract/contract-factory/#ContractFactory-attach","text":"Returns the unsigned transaction which would deploy this Contract with args passed to the Contract's constructor."}]},{"title":"ContractFactory -- Methods -- contractFactory.deploy( ...args ) => Promise< Contract >","blocks":[{"link":"/v5/api/contract/contract-factory/#ContractFactory-deploy","text":"Uses the signer to deploy the Contract with args passed into tgee constructor and retruns a Contract which is attached to the address where this contract will be deployed once the transction is mined."},{"link":"/v5/api/contract/contract-factory/#ContractFactory-deploy","text":"The transction can be found at contract.deployTransaction, and no interactions should be made until the transaction is mined."}]},{"title":"Contract","blocks":[{"link":"/v5/api/contract/contract/#Contract","text":"Explain contract here..."}]},{"title":"Contract -- Creating Instances -- contract.attach( addressOrName ) => Contract","blocks":[{"link":"/v5/api/contract/contract/#Contract-attach","text":"Returns a new instance of the Contract attached to a new address."},{"link":"/v5/api/contract/contract/#Contract-attach","text":"This is useful if there are multiple similar or identical copies of a Contract on the network and you wish to interact with each of them."}]},{"title":"Contract -- Creating Instances -- contract.connect( providerOrSigner ) => Contract","blocks":[{"link":"/v5/api/contract/contract/#Contract-connect","text":"Returns a new instance of the Contract, but connected to providerOrSigner."},{"link":"/v5/api/contract/contract/#Contract-connect","text":"By passing in a Provider, this will return a downgraded Contract which only has read-only access (i.e."},{"link":"/v5/api/contract/contract/#Contract-connect","text":"constant calls)."},{"link":"/v5/api/contract/contract/#Contract-connect","text":"By passing in a Signer."},{"link":"/v5/api/contract/contract/#Contract-connect","text":"the will return a Contract which will act on behalf of that signer."}]},{"title":"Contract -- Properties -- contract.address => string< Address >","blocks":[{"link":"/v5/api/contract/contract/#Contract--properties","text":"This is the address (or ENS name) the contract was constructed with."}]},{"title":"Contract -- Properties -- contract.resolvedAddress => string< Address >","blocks":[{"link":"/v5/api/contract/contract/#Contract--properties","text":"This is a promise that will resolve to the address the Contract object is attached to."},{"link":"/v5/api/contract/contract/#Contract--properties","text":"If an Address was provided to the constructor, it will be equal to this; if an ENS name was provided, this will be the resolved address."}]},{"title":"Contract -- Properties -- contract.deployTransaction => TransactionResponse","blocks":[{"link":"/v5/api/contract/contract/#Contract--properties","text":"If the Contract object is the result of a ContractFactory deployment, this is the transaction which was used to deploy the contract."}]},{"title":"Contract -- Properties -- contract.interface => Interface","blocks":[{"link":"/v5/api/contract/contract/#Contract--properties","text":"This is the ABI as an Interface."}]},{"title":"Contract -- Properties -- contract.provider => Provider","blocks":[{"link":"/v5/api/contract/contract/#Contra
|