Skip to content

Instantly share code, notes, and snippets.

@Asone
Created March 29, 2019 07:41
Show Gist options
  • Save Asone/f392c3b94b5759d4136e529726cc49d2 to your computer and use it in GitHub Desktop.
Save Asone/f392c3b94b5759d4136e529726cc49d2 to your computer and use it in GitHub Desktop.
Account {
address: '<my0xedAddress>',
privateKey:
'<myPrivateKey>',
accounts:
TransactionSigner {
utils:
{ randomHex: [Function: randomHex],
jsonInterfaceMethodToString: [Function: jsonInterfaceMethodToString],
hexToAscii: [Function: hexToAscii],
asciiToHex: [Function: asciiToHex],
getUnitValue: [Function: getUnitValue],
fromWei: [Function: fromWei],
toWei: [Function: toWei],
toChecksumAddress: [Function: toChecksumAddress],
keccak256: [Function],
sha3: [Function],
toDecimal: [Function: hexToNumber],
hexToNumber: [Function: hexToNumber],
fromDecimal: [Function: numberToHex],
numberToHex: [Function: numberToHex],
hexToUtf8: [Function: hexToUtf8],
hexToString: [Function: hexToUtf8],
toUtf8: [Function: hexToUtf8],
stringToHex: [Function: utf8ToHex],
fromUtf8: [Function: utf8ToHex],
utf8ToHex: [Function: utf8ToHex],
toAscii: [Function: hexToAscii],
fromAscii: [Function: asciiToHex],
padLeft: [Function: leftPad],
padRight: [Function: rightPad],
getSignatureParameters: [Function: getSignatureParameters],
isAddress: [Function: isAddress],
isBN: [Function: isBN],
checkAddressChecksum: [Function: checkAddressChecksum],
toBN: [Function: toBN],
toHex: [Function: toHex],
hexToNumberString: [Function: hexToNumberString],
toTwosComplement: [Function: toTwosComplement],
isHex: [Function: isHex],
isHexStrict: [Function: isHexStrict],
isBloom: [Function: isBloom],
isTopic: [Function: isTopic],
bytesToHex: [Function: bytesToHex],
hexToBytes: [Function: hexToBytes],
soliditySha3: [Function: soliditySha3] },
formatters:
{ outputBigNumberFormatter: [Function: outputBigNumberFormatter],
isPredefinedBlockNumber: [Function: isPredefinedBlockNumber],
inputDefaultBlockNumberFormatter: [Function: inputDefaultBlockNumberFormatter],
inputBlockNumberFormatter: [Function: inputBlockNumberFormatter],
txInputFormatter: [Function: txInputFormatter],
inputCallFormatter: [Function: inputCallFormatter],
inputTransactionFormatter: [Function: inputTransactionFormatter],
inputSignFormatter: [Function: inputSignFormatter],
outputTransactionFormatter: [Function: outputTransactionFormatter],
outputTransactionReceiptFormatter: [Function: outputTransactionReceiptFormatter],
outputBlockFormatter: [Function: outputBlockFormatter],
inputLogFormatter: [Function: inputLogFormatter],
outputLogFormatter: [Function: outputLogFormatter],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment