PHP WebShell
Текущая директория: /opt/BitGoJS/modules/sdk-coin-polygon/src/lib
Просмотр файла: transferBuilder.ts
import { TransferBuilder as EthTransferBuilder } from '@bitgo/abstract-eth';
/** POLYGON 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-v4/blob/master/contracts/coins/PolygonWalletSimple.sol
*
* @returns the string prefix
*/
protected getTokenOperationHashPrefix(): string {
return 'POLYGON-ERC20';
}
/**
* Get the prefix used in generating an operation hash for sending native coins
* See https://github.com/BitGo/eth-multisig-v4/blob/master/contracts/coins/PolygonWalletSimple.sol
*
* @returns the string prefix
*/
protected getNativeOperationHashPrefix(): string {
return 'POLYGON';
}
}
Выполнить команду
Для локальной разработки. Не используйте в интернете!