import { ContractAbstractionFromContractType, WalletContractAbstractionFromContractType } from './type-utils'; import { Instruction, int, unit } from './type-aliases'; export type Storage = { currentValue: int; modifyValue: Instruction[]; }; type Methods = { callModifyValue: () => Promise; updateModifyValueFunction: (param: Instruction[]) => Promise; }; export type CallModifyValueParams = unit export type UpdateModifyValueFunctionParams = Instruction[] type MethodsObject = { callModifyValue: () => Promise; updateModifyValueFunction: (param: Instruction[]) => Promise; }; type contractTypes = { methods: Methods, methodsObject: MethodsObject, storage: Storage, code: { __type: 'ExampleLambdaCode', protocol: string, code: object[] } }; export type ExampleLambdaContractType = ContractAbstractionFromContractType; export type ExampleLambdaWalletType = WalletContractAbstractionFromContractType;