ContractTemplate class

Constructors

ContractTemplate({required LogicSignature signature})
ContractTemplate.fromProgram(Uint8List program)
ContractTemplate.inject({required Uint8List program, required List<ParameterValue> values})
factory

Properties

address Address
final
hashCode int
The hash code for this object.
no setterinherited
program Uint8List
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

createRandomLease() String
readAndVerifyContract({required Uint8List program, required int numInts, required int numByteArrays}) ProgramData