async run(functionName, input={}, _keyPair) {
    let error;
    
    for (const attempt in _.range(this.tonWrapper.runAttempts)) {
      this.debugLog(`Run attempt #${attempt}`);

      try {
        const runMessage = await this.getRunMessage(functionName, input, _keyPair);
  
        const status = await this.waitForRunTransaction(runMessage);
  
        await this.tonWrapper.afterRunHook();
  
        return status;
      } catch (e) {
        error = e;
      }
    }

    throw error;
  }
/**
   * Run method function (in terms of TON - call).
   * @param functionName Name of the function
   * @param input Dict of method parameters
   * @param _keyPair Key pair to sign the message
   * @returns {Promise<void>}
   */
Run method function (in terms of TON - call).
@param functionName Name of the function
@param input Dict of method parameters
@param _keyPair Key pair to sign the message
@returns {Promise}
Run method function ( in terms of TON - call ) . @param functionName Name of the function @param input Dict of method parameters @param _keyPair Key pair to sign the message @returns { Promise }
async run(functionName, input={}, _keyPair) {
    let error;
    for (const attempt in _.range(this.tonWrapper.runAttempts)) {
      this.debugLog(`Run attempt #${attempt}`);
      try {
        const runMessage = await this.getRunMessage(functionName, input, _keyPair);
        const status = await this.waitForRunTransaction(runMessage);
        await this.tonWrapper.afterRunHook();
        return status;
      } catch (e) {
        error = e;
      }
    }
    throw error;
  }
async run ( functionName , input = { } , _keyPair ) { let error ; for ( const attempt in _ . range ( this . tonWrapper . runAttempts ) ) { this . debugLog ( ` ${ attempt } ` ) ; try { const runMessage = await this . getRunMessage ( functionName , input , _keyPair ) ; const status = await this . waitForRunTransaction ( runMessage ) ; await this . tonWrapper . afterRunHook ( ) ; return status ; } catch ( e ) { error = e ; } } throw error ; }
Run method function (in terms of TON - call).
Run method function ( in terms of TON - call ) .