ProgramBuilder class
- Inheritance
- Object
- ScriptBuilder
- ProgramBuilder
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
-
pushBytes(
Uint8List bytes) → dynamic -
pushPubkey(
PublicKey pubkey) → dynamic -
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
-
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
-
pushRawBytes(
Uint8List bytes) → dynamic -
inherited
-
pushStr(
String str) → dynamic -
inherited
-
pushVarBytes(
Uint8List bytes) → dynamic -
inherited
-
pushVarInt(
int x) → dynamic -
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic 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