Type Alias ContractMeta<SF>
ContractMeta<SF>: { customTermsShape?: Record<Parameters<SF>[0] extends ZCF<infer CT> ? keyof CT : never, Pattern>; privateArgsShape?: { [K in keyof Parameters<SF>[1]]: Pattern }; upgradability?: "none" | "canBeUpgraded" | "canUpgrade"; } Type declaration
Optional
customTermsShape?: Record<Parameters<SF>[0] extends ZCF<infer CT>
? keyof CT
: never, Pattern>
Optional
privateArgsShape?: {
[K in keyof Parameters<SF>[1]]: Pattern
}
Optional
upgradability?: "none" | "canBeUpgraded" | "canUpgrade"
none
means that the contract is not upgradable.canUpgrade
means this code can perform an upgradecanBeUpgraded
means that the contract stores kinds durably such that the next version can upgrade