MainnetConstants class

MainnetConstants contains constants that are used for for buildnet

Constructors

MainnetConstants()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

factoryAddress → const String
factory smart contract address factoryAddress is a smart contract address that supports these functions: getLBPairInformation, getPreset, getAllBinSteps, getAvailableLBPairBinSteps, getAllLBPairs, createLBPair, setLBPairIgnored, setPreset, removePreset, setFeesParametersOnPair, setFeeRecipient, setFlashLoanFee, setFactoryLockedState, addQuoteAsset, removeQuoteAsset, forceDecay, proposeNewOwner, acceptOwnership, receiveCoins
multicallAddress → const String
multicall smart contract address mutlicallAddress is a smart contract address that supports 'multicall' function
quoterAddress → const String
quoter smart contract address quoterAddress is a smart contract address that support these functions: findBestPathFromAmountIn, findBestPathFromAmountOut
routerAddress → const String
router smart contract address routerAddress is a smart contract address that supports these functions: createLBPair, addLiquidity, addLiquidityMAS, removeLiquidity, removeLiquidityMAS, swapExactTokensForTokens, swapExactTokensForMAS, swapExactMASForTokens, swapTokensForExactTokens, swapTokensForExactMAS, swapMASForExactTokens, swapExactTokensForTokensSupportingFeeOnTransferTokens, swapExactTokensForMASSupportingFeeOnTransferTokens, swapExactMASForTokensSupportingFeeOnTransferTokens, sweep, sweepLBToken, getSwapIn, getSwapOut, receiveCoins
usdcAddress → const String
smart contract address for the USDC token usdcAddress is a smart contract address that supports the following functions: mint, version, name, symbol, totalSupply, decimals, balanceOf, transfer, allowance, increaseAllowance, decreaseAllowance, transferFrom, burn, burnFrom, grantRole, members, hasRole, revokeRole, onlyRole, setOwner, ownerAddress, isOwner
wethAddress → const String
smart contract address for the WETH token wethAddress is a smart contract address that supports these functions: mint, version, name, symbol, totalSupply, decimals, balanceOf, transfer, allowance, increaseAllowance, decreaseAllowance, transferFrom, burn, burnFrom, grantRole, members, hasRole, revokeRole, onlyRole, setOwner, ownerAddress, isOwner
wmasAddress → const String
smart contract address for the WMAS token wmasAddress is a smart contract address that supports these functions deposit, withdraw, computeMintStorageCost, version, name, symbol, totalSupply, decimals, balanceOf, transfer, allowance, increaseAllowance, decreaseAllowance, transferFrom