const ethUtil = require('ethereumjs-util') const { conversionUtil, multiplyCurrencies } = require('../../conversion-util') const MIN_GAS_PRICE_DEC = '0' const MIN_GAS_PRICE_HEX = (parseInt(MIN_GAS_PRICE_DEC)).toString(16) const MIN_GAS_LIMIT_DEC = '21000' const MIN_GAS_LIMIT_HEX = (parseInt(MIN_GAS_LIMIT_DEC)).toString(16) const MIN_GAS_PRICE_GWEI = ethUtil.addHexPrefix(conversionUtil(MIN_GAS_PRICE_HEX, { fromDenomination: 'WEI', toDenomination: 'GWEI', fromNumericBase: 'hex', toNumericBase: 'hex', numberOfDecimals: 1, })) const MIN_GAS_TOTAL = multiplyCurrencies(MIN_GAS_LIMIT_HEX, MIN_GAS_PRICE_HEX, { toNumericBase: 'hex', multiplicandBase: 16, multiplierBase: 16, }) const TOKEN_TRANSFER_FUNCTION_SIGNATURE = '0xa9059cbb' const INSUFFICIENT_FUNDS_ERROR = 'insufficientFunds' const INSUFFICIENT_TOKENS_ERROR = 'insufficientTokens' const NEGATIVE_ETH_ERROR = 'negativeETH' const INVALID_RECIPIENT_ADDRESS_ERROR = 'invalidAddressRecipient' const REQUIRED_ERROR = 'required' const ONE_GWEI_IN_WEI_HEX = ethUtil.addHexPrefix(conversionUtil('0x1', { fromDenomination: 'GWEI', toDenomination: 'WEI', fromNumericBase: 'hex', toNumericBase: 'hex', })) const SIMPLE_GAS_COST = '0x5208' // Hex for 21000, cost of a simple send. const BASE_TOKEN_GAS_COST = '0x186a0' // Hex for 100000, a base estimate for token transfers. module.exports = { INSUFFICIENT_FUNDS_ERROR, INSUFFICIENT_TOKENS_ERROR, INVALID_RECIPIENT_ADDRESS_ERROR, MIN_GAS_LIMIT_DEC, MIN_GAS_LIMIT_HEX, MIN_GAS_PRICE_DEC, MIN_GAS_PRICE_GWEI, MIN_GAS_PRICE_HEX, MIN_GAS_TOTAL, NEGATIVE_ETH_ERROR, ONE_GWEI_IN_WEI_HEX, REQUIRED_ERROR, SIMPLE_GAS_COST, TOKEN_TRANSFER_FUNCTION_SIGNATURE, BASE_TOKEN_GAS_COST, } 7Q1'>2017Q1 FreeBSD Ports (https://github.com/freebsd/freebsd-ports)
aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/caja
Commit message (Expand)AuthorAgeFilesLines
* Remove WWW entries moved into port MakefilesStefan Eßer2022-09-081-2/+0
* Add WWW entries to port MakefilesStefan Eßer2022-09-081-0/+1
* x11-fm: remove 'Created by' linesTobias C. Berner2022-07-201-2/+0
* x11-fm/caja: Updated to 1.26.1Eric Turgeon2022-07-112-5/+4
* x11-fm/caja: Adding ffmpegthumbnailer lib dependsEric Turgeon2022-06-251-1/+2
* textproc/libxml2: bump all LIB_DEPENDS consumersCharlie Li2022-04-111-1/+1
* textproc/libxml2: bump all dependenciesMatthias Fechner2022-03-261-1/+1
* x11-fm/caja: fixed plistEric Turgeon2022-01-182-1/+2
* x11-fm/caja: Fix pkg check checksum mismatchEric Turgeon2022-01-022-13/+1
* INSTALLS_ICONS: retire the macro and rework the related dependenciesBaptiste Daroussin2021-10-111-1/+0
* x11-fm/caja: Update to 1.26.0Neel Chauhan2021-10-101-2/+2
* x11-themes/mate-icon-theme: Update to 1.26.0Neel Chauhan2021-10-102-5/+4
* textproc/exempi: update to 2.5.2Tobias C. Berner2021-07-181-0/+1
* x11-fm/caja: updated to 1.24.1Eric Turgeon2021-06-143-4/+17
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
* Update caja 1.24.0 and its extensions to 1.24.1Baptiste Daroussin2020-09-247-114/+13
* x11-fm/caja: fix build on recent currentTobias C. Berner2020-08-283-0/+83
* x11-fm/caja: rebuild after r538621Jan Beich2020-06-181-0/+1
* x11-fm/caja: unbreak after r538621Jan Beich2020-06-181-0/+26
* update x11-fm/caja to 1.22.3Eric Turgeon2019-12-252-4/+4
* update x11-fm/caja to 1.22.2Eric Turgeon2019-12-243-19/+5
* Add USES=xorg USES=gl, ports categories xNiclas Zeising2019-11-081-1/+1