Optional
agentAgent that will sign the upload transactions(s).
Map of code hash to Uploaded
result.
Unique identifier of this uploader implementation.
If set, reuploads even if store is present.
Directory with JSON files
Static
variantsGlobal registry of Uploader implementations. Populated downstream.
Protected
addProtected
checkProtected
checkPanic if the code hash returned by the upload doesn't match the one specified in the Contract.
Protected
fetchProtected
fetchUploaded from the cache or store or undefined
Add an Uploaded to the cache and store.
Upload an Uploadable (such as a Contract or Template).
Promise
Upload multiple contracts.
Generated using TypeDoc
Uploads contracts from the local filesystem, with optional caching: if provided with an Uploads directory containing upload receipts, allows for uploaded contracts to be reused.