Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "smartcontract/nativevm/ontidContractTxBuilder"

Index

Variables

Const ONTID_CONTRACT

ONTID_CONTRACT: "0000000000000000000000000000000000000003" = "0000000000000000000000000000000000000003"

Address of ONT ID contract

Functions

buildAddAttributeTx

buildAddControlKeyTx

buildAddRecoveryTx

buildChangeRecoveryTx

  • buildChangeRecoveryTx(ontid: string, newrecovery: Address, oldrecovery: Address, gasPrice: string, gasLimit: string): Transaction

buildGetAttributesTx

buildGetDDOTx

buildGetPublicKeyStateTx

  • buildGetPublicKeyStateTx(ontid: string, pkId: number): Transaction

buildGetPublicKeysTx

buildRegIdWithAttributes

buildRegisterOntidTx

  • buildRegisterOntidTx(ontid: string, publicKey: PublicKey, gasPrice: string, gasLimit: string): Transaction

buildRemoveAttributeTx

  • buildRemoveAttributeTx(ontid: string, key: string, publicKey: PublicKey, gasPrice: string, gasLimit: string): Transaction

buildRemoveControlKeyTx

Object literals

Const ONTID_METHOD

ONTID_METHOD: object

Method names in ONT ID contract

addAttributes

addAttributes: string = "addAttributes"

addKey

addKey: string = "addKey"

addRecovery

addRecovery: string = "addRecovery"

changeRecovery

changeRecovery: string = "changeRecovery"

getAttributes

getAttributes: string = "getAttributes"

getDDO

getDDO: string = "getDDO"

getKeyState

getKeyState: string = "getKeyState"

getPublicKeys

getPublicKeys: string = "getPublicKeys"

regIDWithAttributes

regIDWithAttributes: string = "regIDWithAttributes"

regIDWithPublicKey

regIDWithPublicKey: string = "regIDWithPublicKey"

removeAttribute

removeAttribute: string = "removeAttribute"

removeKey

removeKey: string = "removeKey"

Generated using TypeDoc