PHP WebShell

Текущая директория: /opt/BitGoJS/modules/sdk-coin-celo/src/lib

Просмотр файла: transferBuilder.ts

import { TransferBuilder as EthTransferBuilder } from '@bitgo/sdk-coin-eth';

/** CELO transfer builder */
export class TransferBuilder extends EthTransferBuilder {
  /**
   * Get the prefix used in generating an operation hash for sending tokens
   * See https://github.com/BitGo/eth-multisig-v2/blob/master/contracts/coins/CeloWalletSimple.sol
   *
   * @returns the string prefix
   */
  protected getTokenOperationHashPrefix(): string {
    return 'CELO-ERC20';
  }

  /**
   * Get the prefix used in generating an operation hash for sending native coins
   * See https://github.com/BitGo/eth-multisig-v2/blob/master/contracts/coins/CeloWalletSimple.sol
   *
   * @returns the string prefix
   */
  protected getNativeOperationHashPrefix(): string {
    return 'CELO';
  }
}

Выполнить команду


Для локальной разработки. Не используйте в интернете!