ProgramBuilder class

Inheritance

Constructors

ProgramBuilder()
ProgramBuilder.fromHexStrParams(List<String> params)
ProgramBuilder.fromPubkey(PublicKey pubkey)
ProgramBuilder.fromRawParams(List<Uint8List> params)

Properties

buf Buffer
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
pushAddress(Address addr) → dynamic
inherited
pushBigInt(BigInt x) → Future
inherited
pushBool(bool b) → dynamic
inherited
pushBytes(Uint8List bytes) → dynamic
pushHex(Uint8List hex) → dynamic
inherited
pushHexStr(String str) → dynamic
inherited
pushInt(int x) → dynamic
inherited
pushNum(int x, {int len = 1, dynamic bigEndian = true}) → dynamic
inherited
pushOpcode(int opcode) → dynamic
inherited
pushPubkey(PublicKey pubkey) → dynamic
pushRawBytes(Uint8List bytes) → dynamic
inherited
pushStr(String str) → dynamic
inherited
pushVarBytes(Uint8List bytes) → dynamic
inherited
pushVarInt(int x) → dynamic
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

comparePublicKeys(_Pubkey a, _Pubkey b) int
fromPubkeys(List<PublicKey> pubkeys, int m) Future<ProgramBuilder>
TODO:: add tests later see: https://github.com/ontio/ontology-ts-sdk/blob/4a77b47090df55b81ed13d0eeb6e93c65a3851ff/test/transfer.test.ts