Documentation ¶
Index ¶
Constants ¶
const AaveV2Protocol string = "aave"
const AaveV3Protocol string = "aavev3"
const AlphaAvaxAggregatorOracle string = "0xc842cc25fe89f0a60fe9c1fd6483b6971020eb3a"
const AlphaAvaxHomoraBank string = "0x376d16c7de138b01455a51da79ad65806e9cd694"
const AlphaIALPHA string = "0x02c9133627a14214879175a7a222d0a7f7404efb"
const AlphaIDAIe string = "0x085682716f61a72bf8c573fbaf88cca68c60e99b"
const AlphaILINKe string = "0x18931772adb90e7f214b6cbc78ddd6e0f090d4b1"
const AlphaIMIM string = "0xbf1430d9ec170b7e97223c7f321782471c587b29"
const AlphaIUSDC string = "0xec5aa19566aa442c8c50f3c6734b6bb23ff21cd7"
const AlphaIUSDCe string = "0xe28965073c49a02923882b8329d3e8c1d805e832"
const AlphaIUSDTe string = "0xceb1ce674f38398432d20bc8f90345e91ef46fd3"
const AlphaIUST string = "0x9be7b5b7e219461f164863dad045a35d1101aa64"
const AlphaIWAVAX string = "0xb3c68d69e95b095ab4b33b4cb67dbc0fbf3edf56"
Alpha cytokens(safe box)
const AlphaIWBTCe string = "0xb09b75916c5f4097c8b5812e63e216fef97661fc"
const AlphaIWETHe string = "0x338eee1f7b89ce6272f302bdc4b952c13b221f1d"
const AlphaIbALPHAV2 string = "0x79ef2ae6027feb0342dc9956814c300666705eb3"
const AlphaIbAVAXV2 string = "0x21c630b7824d15bcdfeefa73cbd4e49cafe9f836"
Alpha safe boxes
const AlphaIbDAIeV2 string = "0x69491fd9a6d9e32f32113cc076b1b69d8b9ebd3f"
const AlphaIbLINKeV2 string = "0xaafa80367975dad6f5243382f26d2eab978973fe"
const AlphaIbMIMV2 string = "0x377da1791e2225740599a3c447c50861f7b27f49"
const AlphaIbUSDCV2 string = "0xa0b8adc61e76e2b3961eb66e2e37840e02053591"
const AlphaIbUSDCeV2 string = "0xd3843b60e69f958ef93bec299467e6ed301cbeeb"
const AlphaIbUSDTeV2 string = "0x858d6353a52c25c53df1869230282d22b41f5790"
const AlphaIbUSTV2 string = "0xe13b4e4d0b3648770d625dcfd7bd4f96b3cac479"
const AlphaIbWBTCeV2 string = "0x1de90c0ce3d940412c3ba7322a257f7bdcc00ceb"
const AlphaIbWETHeV2 string = "0xf9eb24b83b51fbc0bcb1204221c8c9f1cef33994"
const AlphaProtocol string = "alpha"
const ArbitrumChainName string = "arbitrum"
const AvalancheChainName string = "avalanche"
const AxialProtocol string = "axial"
const BalancerProtocol string = "balancer"
const BeefyProtocol string = "beefy"
const BenqiProtocol string = "benqi"
const BinanaceSmartChainName string = "bsc"
const CompoundProtocol string = "compound"
const ConvexProtocol string = "convex"
const CurveProtocol string = "curve"
const DecentralandProtocol string = "decentraland"
const DefiPulseProtocol string = "defipulse"
const EthereumChainName string = "ethereum"
const FantomChainName string = "fantom"
const GeminiProtocol string = "gemini"
const GoerliChainName string = "goerli"
const HecoChainName string = "heco"
const KyberProtocol string = "kyber"
const LidoProtocol string = "lido"
const MakerProtocol string = "maker"
const OkChainName string = "okex"
const OneInchProtocol string = "oneinch"
const OptimismChainName string = "optimism"
const PangolinProtocol string = "pangolin"
const PlatypusAVAXsAVAXPairName string = "PlatypusAVAXsAVAXpair"
const PlatypusBTCbWBTCePairName string = "PlatypusBTCbWBTCepair"
const PlatypusLpAVAXAddress string = "0xc73eed4494382093c6a7c284426a9a00f6c79939"
const PlatypusLpBTCbAddress string = "0x209a0399a2905900c0d1a9a382fe23e37024dc84"
const PlatypusLpDAIeAddress string = "0xc1daa16e6979c2d1229cb1fd0823491ea44555be"
const PlatypusLpFRAXAddress string = "0x6fd4b4c38ed80727ecd0d58505565f9e422c965f"
const PlatypusLpMIMAddress string = "0xf01cea00598d87cb9792a01b040d04b0bd8ca781"
const PlatypusLpMIMDeprecatedAddress string = "0x6220baad9d08dee465befae4f82ee251cf7c8b82"
const PlatypusLpTUSDAddress string = "0xc75b2b90079492922af96ba53988d7b384158335"
const PlatypusLpUSDCAddress string = "0xaef735b1e7ecfaf8209ea46610585817dc0a2e16"
const PlatypusLpUSDC_FRAXAddress string = "0x035d7d7f209b5d18e2ab5c2072e85b32e1d43760"
const PlatypusLpUSDC_MIMAddress string = "0x4e5704991b43c1d33b9ccd1bc33b211bf068385a"
const PlatypusLpUSDC_TUSDAddress string = "0xa551480dc5399921f8a73e02ec327f2fd7e5ddc0"
const PlatypusLpUSDC_USTAddress string = "0xfc95481f79ec965a535ed8cef4630e1dd308d319"
const PlatypusLpUSDC_YUSDAddress string = "0x4b851118a4a4948799f24d0cbe17fa3dad09e2d5"
const PlatypusLpUSDCeAddress string = "0x909b0ce4fac1a0dca78f8ca7430bbafeeca12871"
const PlatypusLpUSDTAddress string = "0x776628a5c37335608dd2a9538807b9bba3869e14"
const PlatypusLpUSDTeAddress string = "0x0d26d103c91f63052fbca88aaf01d5304ae40015"
const PlatypusLpUSTAddress string = "0xc7388d98fa86b6639d71a0a6d410d5cdfc63a1d0"
const PlatypusLpWBTCeAddress string = "0xc09c12093b037866bf68c9474ecdb5113160fbce"
const PlatypusLpYUSDAddress string = "0x7716307350c0819ed05c3e7f6c478b27caed5361"
const PlatypusLpsAVAXAddress string = "0xa2a7ee49750ff12bb60b407da2531db3c50a1789"
const PlatypusMainPoolsName string = "PlatypusMainPools"
platypus pair names
const PlatypusProtocol string = "platypus"
const PlatypusUSDCFRAXPairName string = "PlatypusUSDCFRAXpair"
const PlatypusUSDCMIMPairName string = "PlatypusUSDCMIMpair"
const PlatypusUSDCTUSDPairName string = "PlatypusUSDCTUSDpair"
const PlatypusUSDCYUSDPairName string = "PlatypusUSDCYUSDpair"
const PolygonChainName string = "polygon"
const ReflexerProtocol string = "reflexer"
const RepublicProtocol string = "republic"
const SecondsPerDay float64 = 86400
const SecondsPerYear float64 = 86400 * 365
const SmallPoolTvl float64 = 50000
const SushiProtocol string = "sushi"
const SynthetixProtocol string = "synthetix"
const TerraChainName string = "terra"
const TraderJoeProtocol string = "traderjoe"
const UniswapProtocolV2 = "uniswapv2"
const UniswapProtocolV3 = "uniswapv3"
const UnreachableBlock int = 99999999
const UnreachableTimestamp int = 9999999999
const VectorProtocol string = "vector"
const XDaiChainName string = "xdai"
const ZEROAddress string = "0x0000000000000000000000000000000000000000"
Variables ¶
var AMPLList = map[string]string{
EthereumChainName: "0xd46ba6d942050d489dbd938a2c909a5d5039a161",
}
ampl
var AaveATokenV2List = map[string]map[string]string{ AvalancheChainName: { DAIeList[AvalancheChainName]: "0x47afa96cdc9fab46904a55a6ad4bf6660b53c38a", USDCeList[AvalancheChainName]: "0x46a51127c3ce23fb7ab1de06226147f446e4a857", USDTeList[AvalancheChainName]: "0x532e6537fea298397212f09a61e03311686f548e", WETHList[AvalancheChainName]: "0x53f7c5869a859f0aec3d334ee8b4cf01e3492f21", WBTCList[AvalancheChainName]: "0x686bef2417b6dc32c50a3cbfbcc3bb60e1e9a15d", WAVAXList[AvalancheChainName]: "0xdfe521292ece2a4f44242efbcd66bc594ca9714b", AaveTokenList[AvalancheChainName]: "0xd45b7c061016102f9fa220502908f2c0f1add1d7", }, EthereumChainName: { USDTList[EthereumChainName]: "0x3ed3b47dd13ec9a98b44e6204a523e766b225811", WBTCList[EthereumChainName]: "0x9ff58f4ffb29fa2266ab25e75e2a8b3503311656", WETHList[EthereumChainName]: "0x030ba81f1c18d280636f32af80b9aad02cf0854e", YearnTokenList[EthereumChainName]: "0x5165d24277cd063f5ac44efd447b27025e888f37", ZRXList[EthereumChainName]: "0xdf7ff54aacacbff42dfe29dd6144a69b629f8c9e", UniswapTokenList[EthereumChainName]: "0xb9d7cb55f463405cdfbe4e90a6d2df01c2b92bf1", AaveTokenList[EthereumChainName]: "0xffc97d72e13e01096502cb8eb52dee56f74dad7b", BATList[EthereumChainName]: "0x05ec93c0365baaeabf7aeffb0972ea7ecdd39cf1", BUSDList[EthereumChainName]: "0xa361718326c15715591c299427c62086f69923d9", DAIList[EthereumChainName]: "0x028171bca77440897b824ca71d1c56cac55b68a3", ENJList[EthereumChainName]: "0xac6df26a590f08dcc95d5a4705ae8abbc88509ef", KyberOldTokenList[EthereumChainName]: "0x39c6b3e42d6a679d7d776778fe880bc9487c2eda", LINKList[EthereumChainName]: "0xa06bc25b5805d5f8d82847d191cb4af5a3e873e0", DecentralandTokenList[EthereumChainName]: "0xa685a61171bb30d4072b338c80cb7b2c865c873e", MakerTokenList[EthereumChainName]: "0xc713e5e149d5d0715dcd1c156a020976e7e56b88", RepublicTokenList[EthereumChainName]: "0xcc12abe4ff81c9378d670de1b57f8e0dd228d77a", SynthetixTokenList[EthereumChainName]: "0x35f6b052c598d933d69a4eec4d04c73a191fe6c2", SUSDList[EthereumChainName]: "0x6c5024cd4f8a59110119c56f8933403a539555eb", TUSDList[EthereumChainName]: "0x101cc05f4a51c0319f570d5e146a8c625198e636", USDCList[EthereumChainName]: "0xbcca60bb61934080951369a648fb03df4f96263c", CurveTokenlist[EthereumChainName]: "0x8dae6cb04688c62d939ed9b68d32bc62e49970b1", GeminiTokenList[EthereumChainName]: "0xd37ee7e4f452c6638c96536e68090de8cbcdb583", BalancerTokenList[EthereumChainName]: "0x272f97b7a56a387ae942350bbc7df5700f8a4576", XSushiList[EthereumChainName]: "0xf256cc7847e919fac9b808cc216cac87ccf2f47a", RenFILList[EthereumChainName]: "0x514cd6756ccbe28772d4cb81bc3156ba9d1744aa", ReflexerTokenList[EthereumChainName]: "0xc9bc48c72154ef3e5425641a3c747242112a46af", AMPLList[EthereumChainName]: "0x1e6bb68acec8fefbd87d192be09bb274170a0548", USDPList[EthereumChainName]: "0x2e8f4bdbe3d47d7d7de490437aea9915d930f1a3", DefiPulseTokenList[EthereumChainName]: "0x6f634c6135d2ebd550000ac92f494f9cb8183dae", FRAXList[EthereumChainName]: "0xd4937682df3c8aef4fe912a96a74121c0829e664", FEIList[EthereumChainName]: "0x683923db55fead99a79fa01a27eec3cb19679cc3", LidoSTETHList[EthereumChainName]: "0x1982b2f5814301d4e9a8b0201555376e62f82428", ENSList[EthereumChainName]: "0x9a14e23a58edf4efdcb360f68cd1b95ce2081a2f", USTList[EthereumChainName]: "0xc2e2152647f4c26028482efaf64b2aa28779efc4", ConvexTokenList[EthereumChainName]: "0x952749e07d7157bb9644a894dfaf3bad5ef6d918", }, }
aave a tokens V2
var AaveATokenV3List = map[string]map[string]string{ AvalancheChainName: { DAIeList[AvalancheChainName]: "0x82e64f49ed5ec1bc6e43dad4fc8af9bb3a2312ee", USDCList[AvalancheChainName]: "0x625e7708f30ca75bfd92586e17077590c60eb4cd", USDTList[AvalancheChainName]: "0x6ab707aca953edaefbc4fd23ba73294241490620", WETHList[AvalancheChainName]: "0xe50fa9b3c56ffb159cb0fca61f5c9d750e8128c8", WBTCList[AvalancheChainName]: "0x078f358208685046a11c85e8ad32895ded33a249", WAVAXList[AvalancheChainName]: "0x6d80113e533a2c0fe82eabd35f1875dcea89ea97", LINKList[AvalancheChainName]: "0x191c10aa4af7c30e871e70c95db0e4eb77237530", AaveTokenList[AvalancheChainName]: "0xf329e36c7bf6e5e86ce2150875a84ce77f477375", BenqiSAVAXList[AvalancheChainName]: "0x513c7e3a9c69ca3e22550ef58ac1c0088e918fff", }, OptimismChainName: { DAIList[OptimismChainName]: "0x82e64f49ed5ec1bc6e43dad4fc8af9bb3a2312ee", USDCList[OptimismChainName]: "0x625e7708f30ca75bfd92586e17077590c60eb4cd", USDTList[OptimismChainName]: "0x6ab707aca953edaefbc4fd23ba73294241490620", WETHList[OptimismChainName]: "0xe50fa9b3c56ffb159cb0fca61f5c9d750e8128c8", WBTCList[OptimismChainName]: "0x078f358208685046a11c85e8ad32895ded33a249", SUSDList[OptimismChainName]: "0x6d80113e533a2c0fe82eabd35f1875dcea89ea97", LINKList[OptimismChainName]: "0x191c10aa4af7c30e871e70c95db0e4eb77237530", AaveTokenList[OptimismChainName]: "0xf329e36C7bF6E5E86ce2150875a84Ce77f477375", }, }
aave a tokens V3. To find out more: https://docs.aave.com/developers/deployed-contracts/v3-mainnet/avalanche.
var AaveIncentiveControllerV2List = map[string]string{
EthereumChainName: "0xd784927ff2f95ba542bfc824c8a8a98f3495f6b5",
AvalancheChainName: "0x01d83fe6a10d2f2b7af17034343746188272cac9",
}
aave incentive controller V2
var AaveIncentiveControllerV3List = map[string]string{
AvalancheChainName: "0x929ec64c34a17401f460460d4b9390518e5b473e",
OptimismChainName: "0x929ec64c34a17401f460460d4b9390518e5b473e",
}
aave incentive controller V3
var AaveLendingPoolV2List = map[string]string{
EthereumChainName: "0x7d2768de32b0b80b7a3454c06bdac94a69ddc7a9",
AvalancheChainName: "0x4f01aed16d97e3ab5ab2b501154dc9bb0f1a5a2c",
}
aave lending pool v2
var AaveLendingPoolV3List = map[string]string{
AvalancheChainName: "0x794a61358d6845594f94dc1db02a252b5b4814ad",
OptimismChainName: "0x794a61358d6845594f94dc1db02a252b5b4814ad",
}
aave lending pool v3
var AavePoolAddressProviderV3List = map[string]string{
AvalancheChainName: "0xa97684ead0e402dc232d5a977953Df7ecbab3cdb",
OptimismChainName: "0xa97684ead0e402dc232d5a977953Df7ecbab3cdb",
}
aave pool address provider v3
var AavePoolDataProviderList = map[string]string{
AvalancheChainName: "0x69fa688f1dc47d4b5d8029d5a35fb7a548310654",
OptimismChainName: "0x69fa688f1dc47d4b5d8029d5a35fb7a548310654",
}
aave pool data provider v3
var AaveSTokenV3List = map[string]map[string]string{ AvalancheChainName: { DAIeList[AvalancheChainName]: "0xd94112b5b62d53c9402e7a60289c6810def1dc9b", USDCList[AvalancheChainName]: "0x307ffe186f84a3bc2613d1ea417a5737d69a7007", USDTList[AvalancheChainName]: "0x70effc565db6eef7b927610155602d31b670e802", WETHList[AvalancheChainName]: "0xd8ad37849950903571df17049516a5cd4cbe55f6", WBTCList[AvalancheChainName]: "0x633b207dd676331c413d4c013a6294b0fe47cd0e", WAVAXList[AvalancheChainName]: "0xf15f26710c827dde8acba678682f3ce24f2fb56e", LINKList[AvalancheChainName]: "0x89d976629b7055ff1ca02b927ba3e020f22a44e4", AaveTokenList[AvalancheChainName]: "0xfaef6a702d15428e588d4c0614aefb4348d83d48", BenqiSAVAXList[AvalancheChainName]: "0x08cb71192985e936c7cd166a8b268035e400c3c3", }, }
aave s tokens V3
var AaveTokenList = map[string]string{
EthereumChainName: "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
AvalancheChainName: "0x63a72806098bd3d9520cc43356dd78afe5d386d9",
OptimismChainName: "0x76fb31fb4af56892a25e32cfc43de717950c9278",
}
aave token
var AaveUiIncentiveDataProveiderV3List = map[string]string{
AvalancheChainName: "0x270f51cf3f681010b46f5c4ee2ad5120db33026f",
OptimismChainName: "0x6dd4b295b457a26cc2646aaf2519436681afb5d4",
}
aave ui incentive data provider v3
var AaveUiPoolDataProveiderV3List = map[string]string{
AvalancheChainName: "0xdbbfafc45983B4659e368a3025b81f69Ab6e5093",
OptimismChainName: "0x64f558d4bfc1c03a8c8b2ff84976ff04c762b51f",
}
aave ui pool data provider v3
var AaveVTokenV2List = map[string]map[string]string{ AvalancheChainName: { DAIeList[AvalancheChainName]: "0x1852dc24d1a8956a0b356aa18ede954c7a0ca5ae", USDCeList[AvalancheChainName]: "0x848c080d2700cbe1b894a3374ad5e887e5ccb89c", USDTeList[AvalancheChainName]: "0xfc1ada7a288d6fce0d29ccfaaa57bc9114bb2dbe", WETHList[AvalancheChainName]: "0x4e575cacb37bc1b5afec68a0462c4165a5268983", WBTCList[AvalancheChainName]: "0x2dc0e35ec3ab070b8a175c829e23650ee604a9eb", WAVAXList[AvalancheChainName]: "0x5c70b3f22595caf8314f77dabc628363aaee18ad", AaveTokenList[AvalancheChainName]: "0x8352e3fd18b8d84d3c8a1b538d788899073c7a8e", }, EthereumChainName: { USDTList[EthereumChainName]: "0x531842cebbdd378f8ee36d171d6cc9c4fcf475ec", WBTCList[EthereumChainName]: "0x9c39809Dec7F95F5e0713634a4D0701329B3b4d2", WETHList[EthereumChainName]: "0xF63B34710400CAd3e044cFfDcAb00a0f32E33eCf", YearnTokenList[EthereumChainName]: "0x7EbD09022Be45AD993BAA1CEc61166Fcc8644d97", ZRXList[EthereumChainName]: "0x85791D117A392097590bDeD3bD5abB8d5A20491A", UniswapTokenList[EthereumChainName]: "0x5BdB050A92CADcCfCDcCCBFC17204a1C9cC0Ab73", AaveTokenList[EthereumChainName]: "0xF7DBA49d571745D9d7fcb56225B05BEA803EBf3C", BATList[EthereumChainName]: "0xfc218A6Dfe6901CB34B1a5281FC6f1b8e7E56877", BUSDList[EthereumChainName]: "0xbA429f7011c9fa04cDd46a2Da24dc0FF0aC6099c", DAIList[EthereumChainName]: "0x6c3c78838c761c6ac7be9f59fe808ea2a6e4379d", ENJList[EthereumChainName]: "0x38995f292a6e31b78203254fe1cdd5ca1010a446", KyberOldTokenList[EthereumChainName]: "0x6B05D1c608015Ccb8e205A690cB86773A96F39f1", LINKList[EthereumChainName]: "0x0b8f12b1788BFdE65Aa1ca52E3e9F3Ba401be16D", DecentralandTokenList[EthereumChainName]: "0x0A68976301e46Ca6Ce7410DB28883E309EA0D352", MakerTokenList[EthereumChainName]: "0xba728ead5e496be00dcf66f650b6d7758ecb50f8", RepublicTokenList[EthereumChainName]: "0xcd9d82d33bd737de215cdac57fe2f7f04df77fe0", SynthetixTokenList[EthereumChainName]: "0x267eb8cf715455517f9bd5834aeae3cea1ebdbd8", SUSDList[EthereumChainName]: "0xdc6a3ab17299d9c2a412b0e0a4c1f55446ae0817", TUSDList[EthereumChainName]: "0x01C0eb1f8c6F1C1bF74ae028697ce7AA2a8b0E92", USDCList[EthereumChainName]: "0x619beb58998eD2278e08620f97007e1116D5D25b", CurveTokenlist[EthereumChainName]: "0x00ad8eBF64F141f1C81e9f8f792d3d1631c6c684", GeminiTokenList[EthereumChainName]: "0x279af5b99540c1a3a7e3cdd326e19659401ef99e", BalancerTokenList[EthereumChainName]: "0x13210D4Fe0d5402bd7Ecbc4B5bC5cFcA3b71adB0", XSushiList[EthereumChainName]: "0xfAFEDF95E21184E3d880bd56D4806c4b8d31c69A", RenFILList[EthereumChainName]: "0x348e2ebd5e962854871874e444f4122399c02755", ReflexerTokenList[EthereumChainName]: "0xb5385132ee8321977fff44b60cde9fe9ab0b4e6b", AMPLList[EthereumChainName]: "0xf013d90e4e4e3baf420dfea60735e75dbd42f1e1", USDPList[EthereumChainName]: "0xfdb93b3b10936cf81fa59a02a7523b6e2149b2b7", FRAXList[EthereumChainName]: "0xfe8f19b17ffef0fdbfe2671f248903055afaa8ca", FEIList[EthereumChainName]: "0xC2e10006AccAb7B45D9184FcF5b7EC7763f5BaAe", LidoSTETHList[EthereumChainName]: "0xA9DEAc9f00Dc4310c35603FCD9D34d1A750f81Db", ENSList[EthereumChainName]: "0x176808047cc9b7A2C9AE202c593ED42dDD7C0D13", USTList[EthereumChainName]: "0xaf32001cf2E66C4C3af4205F6EA77112AA4160FE", }, }
aave v tokens V2
var AaveVTokenV3List = map[string]map[string]string{ AvalancheChainName: { DAIeList[AvalancheChainName]: "0x8619d80fb0141ba7f184cbf22fd724116d9f7ffc", USDCList[AvalancheChainName]: "0xfccf3cabbe80101232d343252614b6a3ee81c989", USDTList[AvalancheChainName]: "0xfb00ac187a8eb5afae4eace434f493eb62672df7", WETHList[AvalancheChainName]: "0x0c84331e39d6658cd6e6b9ba04736cc4c4734351", WBTCList[AvalancheChainName]: "0x92b42c66840c7ad907b4bf74879ff3ef7c529473", WAVAXList[AvalancheChainName]: "0x4a1c3ad6ed28a636ee1751c69071f6be75deb8b8", LINKList[AvalancheChainName]: "0x953a573793604af8d41f306feb8274190db4ae0e", AaveTokenList[AvalancheChainName]: "0xe80761ea617f66f96274ea5e8c37f03960ecc679", BenqiSAVAXList[AvalancheChainName]: "0x77ca01483f379e58174739308945f044e1a764dc", }, OptimismChainName: { DAIList[OptimismChainName]: "0x8619d80fb0141ba7f184cbf22fd724116d9f7ffc", USDCList[OptimismChainName]: "0xfccf3cabbe80101232d343252614b6a3ee81c989", USDTList[OptimismChainName]: "0xfb00ac187a8eb5afae4eace434f493eb62672df7", WETHList[OptimismChainName]: "0x0c84331e39d6658Cd6e6b9ba04736cC4c4734351", WBTCList[OptimismChainName]: "0x92b42c66840c7ad907b4bf74879ff3ef7c529473", SUSDList[OptimismChainName]: "0x4a1c3ad6ed28a636ee1751c69071f6be75deb8b8", LINKList[OptimismChainName]: "0x953a573793604af8d41f306feb8274190db4ae0e", AaveTokenList[OptimismChainName]: "0xe80761ea617f66f96274ea5e8c37f03960ecc679", }, }
aave v tokens V3
var AllPhoneticSymbols = []string{
"b", "p", "m", "f", "d", "t", "n", "l", "g", "k", "j", "q", "x", "z", "c", "s", "r", "zh", "ch", "sh", "y", "w", "v", "h",
"a", "an", "ao", "ai", "ang",
"o", "ong", "ou",
"e", "en", "er", "ei", "eng",
"i", "ia", "iu", "ie", "in", "ing",
"u", "un", "ua", "uo", "ue", "ui",
"iao", "ian", "iang", "iong",
"uai", "uan", "uang",
}
var AlphaTokenList = map[string]string{
AvalancheChainName: "0x2147efff675e4a4ee1c2f918d181cdbd7a8e208f",
}
alpha token
var AxialChefList = map[string]string{
AvalancheChainName: "0x958c0d0baa8f220846d3966742d4fb5edc5493d3",
}
axial chefV3
var AxialTokenList = map[string]string{
AvalancheChainName: "0xcf8419a615c57511807236751c0af38db4ba3351",
}
axial token
var AxialsAXIALList = map[string]string{
AvalancheChainName: "0xed7f93c8fd3b96b53c924f601b3948175d2820d8",
}
axial sAXIAL
var AxialveAXIALList = map[string]string{
AvalancheChainName: "0x3f563f7efc6dc55adfc1b64bc6bd4bc5f394c4b2",
}
axial veAXIAL
var BATList = map[string]string{
EthereumChainName: "0x0d8775f648430679a709e98d2b0cb6250d2887ef",
}
bat
var BTCbList = map[string]string{
AvalancheChainName: "0x152b9d0fdc40c096757f570a51e494bd4b943e50",
}
btc.b
var BUSDList = map[string]string{
EthereumChainName: "0x4fabb145d64652a948d72533023f6e7a623c7c53",
}
busd
var BalancerTokenList = map[string]string{
EthereumChainName: "0xba100000625a3754423978a60c9317c58a424e3d",
}
balancer token
var BeefyTokenList = map[string]string{
AvalancheChainName: "0xd6070ae98b8069de6b494332d1a1a81b6179d960",
}
beefy token
var BenqiCTokenList = map[string]map[string]string{ AvalancheChainName: { DAIeList[AvalancheChainName]: "0x835866d37afb8cb8f8334dccdaf66cf01832ff5d", USDCeList[AvalancheChainName]: "0xbeb5d47a3f720ec0a390d04b4d41ed7d9688bc7f", USDTeList[AvalancheChainName]: "0xc9e5999b8e75c3feb117f6f73e664b9f3c8ca65c", WETHList[AvalancheChainName]: "0x334ad834cd4481bb02d09615e7c11a00579a7909", WBTCList[AvalancheChainName]: "0xe194c4c5ac32a3c9ffdb358d9bfd523a0b6d1568", WAVAXList[AvalancheChainName]: "0x5c0401e81bc07ca70fad469b451682c0d747ef1c", LINKList[AvalancheChainName]: "0x4e9f683a27a6bdad3fc2764003759277e93696e6", BenqiTokenList[AvalancheChainName]: "0x35bd6aeda81a7e5fc7a7832490e71f757b0cd9ce", USDCList[AvalancheChainName]: "0xb715808a78f6041e46d61cb123c9b4a27056ae9c", USDTList[AvalancheChainName]: "0xd8fcda6ec4bdc547c0827b8804e89acd817d56ef", BenqiSAVAXList[AvalancheChainName]: "0xf362fea9659cf036792c9cb02f8ff8198e21b4cb", BTCbList[AvalancheChainName]: "0x89a415b3d20098e6a6c8f7a59001c67bd3129821", }, }
benqi c tokens(qi tokens)
var BenqiComptrollerList = map[string]string{
AvalancheChainName: "0x486af39519b4dc9a7fccd318217352830e8ad9b4",
}
benqi comptroller, similar to compound
var BenqiSAVAXList = map[string]string{
AvalancheChainName: "0x2b2c81e08f1af8835a78bb2a90ae924ace0ea4be",
}
benqi savax
var BenqiTokenList = map[string]string{
AvalancheChainName: "0x8729438eb15e2c8b576fcc6aecda6a148776c0f5",
}
benqi token
var ChainIdMap = map[string]int{ EthereumChainName: 1, "ropsten": 3, "rinkeby": 4, GoerliChainName: 5, OptimismChainName: 10, "kovan": 42, BinanaceSmartChainName: 56, "bsc_testnet": 97, OkChainName: 66, "okex_testnet": 65, XDaiChainName: 100, PolygonChainName: 137, "polygon_testnet": 80001, HecoChainName: 128, "heco_testnet": 256, FantomChainName: 250, "fantom_testnet": 4002, ArbitrumChainName: 42161, "arbitrum_testnet": 79377087078960, AvalancheChainName: 43114, "avalanche_testnet": 43113, }
var ChainTokenSymbolList = map[string]string{ AvalancheChainName: "avax", EthereumChainName: "eth", }
Chain token symbol.
var CompoundCTokenList = map[string]map[string]string{ EthereumChainName: { BATList[EthereumChainName]: "0x6c8c6b02e7b2be14d4fa6022dfd6d75921d90e4e", DAIList[EthereumChainName]: "0x5d3a536e4d6dbd6114cc1ead35777bab948e3643", WETHList[EthereumChainName]: "0x4ddc2d193948926d02f9b1fe9e1daa0718270ed5", REPList[EthereumChainName]: "0x158079ee67fce2f58472a96584a73c7ab9ac95c1", USDCList[EthereumChainName]: "0x39aa39c021dfbae8fac545936693ac917d5e7563", USDTList[EthereumChainName]: "0xf650c3d88d12db855b8bf7d11be6c55a4e07dcc9", ZRXList[EthereumChainName]: "0xb3319f5d18bc0d84dd1b4825dcde5d5f7266d407", SAIList[EthereumChainName]: "0xf5dce57282a584d2746faf1593d3121fcac444dc", UniswapTokenList[EthereumChainName]: "0x35a18000230da775cac24873d00ff85bccded550", CompoundTokenList[EthereumChainName]: "0x70e36f6bf80a52b3b46b3af8e106cc0ed743e8e4", WBTCList[EthereumChainName]: "0xccf4429db6322d5c611ee964527d42e5d685dd6a", TUSDList[EthereumChainName]: "0x12392f67bdf24fae0af363c24ac620a2f67dad86", LINKList[EthereumChainName]: "0xface851a4921ce59e912d19329929ce6da6eb0c7", MakerTokenList[EthereumChainName]: "0x95b4ef2869ebd94beb4eee400a99824bf5dc325b", SushiTokenList[EthereumChainName]: "0x4b0181102a0112a2ef11abee5563bb4a3176c9d7", AaveTokenList[EthereumChainName]: "0xe65cdb6479bac1e22340e4e755fae7e509ecd06c", YearnTokenList[EthereumChainName]: "0x80a2ae356fc9ef4305676f7a3e2ed04e12c33946", USDPList[EthereumChainName]: "0x041171993284df560249b57358f931d9eb7b925d", FEIList[EthereumChainName]: "0x7713dd9ca933848f6819f38b8352d9a15ea73f67", }, }
var CompoundComptrollerList = map[string]string{
EthereumChainName: "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
}
comptroller
var CompoundTokenList = map[string]string{
EthereumChainName: "0xc00e94cb662c3520282e6f5717214004a7f26888",
}
compound token
var ConvexTokenList = map[string]string{
EthereumChainName: "0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b",
}
convex token
var CurveFoldedPoolList = map[string][]string{
EthereumChainName: {
"0x6c3f90f043a72fa612cbac8115ee7e52bde6e490",
"0x075b1bb99792c9e1041ba13afef80c91a1e70fb3",
},
AvalancheChainName: {
"0x1337bedc9d22ecbe766df105c9623922a27963ec",
},
}
curve folded pools(a pool folded into other pools)
var CurveGaugeFactoryList = map[string]string{
AvalancheChainName: "0xabc000d88f23bb45525e447528dbf656a9d55bf5",
}
curve gauage factory
var CurveGauges = map[string]map[string][]string{
EthereumChainName: {
"liquidity gauge": {
"0x7ca5b0a2910B33e9759DC7dDB0413949071D7575",
"0xBC89cd85491d81C6AD2954E6d0362Ee29fCa8F53",
"0xFA712EE4788C042e2B7BB55E6cb8ec569C4530c1",
"0x69Fb7c45726cfE2baDeE8317005d3F94bE838840",
"0x64E3C23bfc40722d3B649844055F1D51c1ac041d",
"0xB1F2cdeC61db658F091671F5f199635aEF202CAC",
"0x4c18E409Dc8619bFb6a1cB56D114C3f592E0aE79",
"0xbFcF63294aD7105dEa65aA58F8AE5BE2D9d0952A",
"0xC5cfaDA84E902aD92DD40194f0883ad49639b023",
"0x2db0E83599a91b508Ac268a6197b8B14F5e72840",
"0xC2b1DF84112619D190193E48148000e3990Bf627",
"0xF98450B5602fa59CC66e1379DFfB6FDDc724CfC4",
"0xd8b712d29381748dB89c36BCa0138d7c75866ddF",
"0x903dA6213a5A12B61c821598154EfAd98C3B20E4",
"0xeFF437A56A22D7dD86C1202A308536ED8C7da7c1",
"0x63d9f3aB7d0c528797A12a0684E50C397E9e79dC",
"0x05ca5c01629a8E5845f12ea3A03fF7331932233A",
"0x99fb76F75501039089AAC8f20f487bf84E51d76F",
"0x2fA53e8fa5fAdb81f4332C8EcE39Fe62eA2f919E",
"0x1750a3a3d80A3F5333BBe9c4695B0fAd41061ab1",
"0x25f0cE4E2F8dbA112D9b115710AC297F816087CD",
"0x12dCD9E8D1577b5E4F066d8e7D404404Ef045342",
"0xD9277b0D007464eFF133622eC0d42081c93Cef02",
"0x9AF13a7B1f1Bbf1A2B05c6fBF23ac23A9E573b4E",
"0xB518f5e3242393d4eC792BD3f44946A3b98d0E48",
"0x16C2beE6f55dAB7F494dBa643fF52ef2D47FBA36",
"0xC95bdf13A08A547E4dD9f29B00aB7fF08C5d093d",
"0xb0f5d00e5916c8b8981e99191A1458704B587b2b",
"0x346C7BB1A7a6A30c8e81c14e90FC2f0FBddc54d8",
"0x8Fa728F393588E8D8dD1ca397E9a710E53fA553a",
"0x29284d30bcb70e86a6C3f84CbC4de0Ce16b0f1CA",
"0x1E212e054d74ed136256fc5a5DDdB4867c6E003F",
"0xdC69D4cB5b86388Fff0b51885677e258883534ae",
"0x009aCD89535DAbC270C93F9b39D3232105Fef453",
"0x02246583870b36Be0fEf2819E1d3A771d6C07546",
"0x05255C5BD33672b9FEA4129C13274D1E6193312d",
"0x38039dD47636154273b287F74C432Cac83Da97e2",
"0xb07d00e0eE9b1b2eb9f1B483924155Af7AF0c8Fa",
"0xE786Df7076AFeECC3faCD841ED4AD20d0F04CF19",
"0x60355587a8D4aa67c2E64060Ab36e566B9bCC000",
"0xB81465Ac19B9a57158a79754bDaa91C60fDA91ff",
"0x82d0aDea8C4CF2fc84A499b568F4C1194d63113d",
"0xAB1927160EC7414C6Fa71763E2a9f3D107c126dd",
"0x8aD7e0e6EDc61bC48ca0DD07f9021c249044eD30",
"0x5AC6886Edd18ED0AD01C0B0910660637c551FBd6",
"0xB5efA93d5D23642f970aF41a1ea9A26f19CbD2Eb",
"0x784342E983E9283A7108F20FcA21995534b3fE65",
"0x95d16646311fDe101Eb9F897fE06AC881B7Db802",
"0x6F98dA2D5098604239C07875C6B7Fd583BC520b9",
"0x46521Db0D31A62A2CBF8D1A7Cdc6bBBBC441A1fc",
"0xeCb860e54E33FEA8fAb5B076734e2591D1A9ebA4",
"0xFA49B2a5D9E77f6748bf05801aa22356D514137b",
"0xdB7cbbb1d5D5124F86E92001C9dFDC068C05801D",
"0x1779AEB087C5BdBe48749ab03575f5f25D1DEeaF",
"0x36C66bC294fEf4e94B3e40A1801d0AB0085Fe96e",
"0xE1D520B1263D6Be5678568BD699c84F7f9086023",
"0x1Ba86c33509013c937344f6e231DA2E63ea45197",
"0x3A748A2F4765BDFB119Cb7143b884Db7594a68c3",
"0xb6d7C2bda5a907832d4556AE5f7bA800FF084C2a",
"0x6d3328F0333f6FB0B2FaC87cF5a0FFa7e77beB60",
"0x89664D561E79Ca22Fd2eA4076b3e5deF0b219C15",
"0x8dF6FdAe05C9405853dd4cF2809D5dc2b5E77b0C",
"0x4fb13b55D6535584841dbBdb14EDC0258F7aC414",
"0xa9A9BC60fc80478059A83f516D5215185eeC2fc0",
"0x03fFC218C7A9306D21193565CbDc4378952faA8c",
"0x663FC22e92f26C377Ddf3C859b560C4732ee639a",
"0xd5d3efC90fFB38987005FdeA303B68306aA5C624",
"0xf668e6d326945d499e5b35e7cd2e82acfbcfe6f0",
"0xa0C08C0Aede65a0306F7dD042D2560dA174c91fC",
},
"staking liquidity gauge": {
"0xA90996896660DEcC6E997655E065b23788857849",
"0x705350c4BcD35c9441419DdD5d2f097d7a55410F",
"0x5f626c30EC1215f4EdCc9982265E8b1F411D1352",
"0x6828bcF74279eE32f2723eC536c22c51Eed383C6",
"0x4dC4A289a8E33600D8bD4cf5F6313E43a37adec7",
"0xAEA6c312f4b3E04D752946d329693F7293bC2e6D",
},
"liquidity gauge v2": {
"0xd7d147c6Bb90A718c3De8C0568F9B560C79fa416",
"0xdFc7AdFa664b08767b735dE28f9E84cd30492aeE",
"0x11137B10C210b579405c21A07489e28F3c040AB1",
"0x3B7020743Bc2A4ca9EaF9D0722d42E20d6935855",
"0x90Bb609649E0451E5aD952683D64BD2d1f245840",
"0x3C0FFFF15EA30C35d7A85B85c0782D6c94e1d238",
"0xd662908ADA2Ea1916B3318327A97eB18aD588b5d",
"0x182B723a58739a9c974cFDB385ceaDb237453c28",
"0x462253b8F74B72304c145DB0e4Eebd326B22ca39",
"0x6d10ed2cF043E6fcf51A0e7b4C2Af3Fa06695707",
"0xF5194c3325202F456c95c1Cf0cA36f8475C1949F",
"0xFD4D8a17df4C27c1dD245d153ccf4499e806C87D",
"0x055be5DDB7A925BfEF3417FC157f53CA77cA7222",
"0x359FD5d6417aE3D8D6497d9B2e7A890798262BA4",
"0xd4B22fEdcA85E684919955061fDf353b9d38389b",
"0x72E158d38dbd50A483501c24f792bDAAA3e7D55C",
"0x9B8519A9a00100720CCdC8a120fBeD319cA47a14",
},
"liquidity gauge v3": {
"0x824F13f1a2F29cFEEa81154b46C0fc820677A637",
"0x9582C4ADACB3BCE56Fea3e590F05c3ca2fb9C477",
"0x6955a55416a06839309018A8B0cB72c4DDC11f15",
"0xDeFd8FdD20e0f34115C7018CCfb655796F6B2168",
"0xe8060Ad8971450E624d5289A10017dD30F5dA85F",
},
"root-chain gauge": {
"0xC48f4653dd6a9509De44c92beb0604BEA3AEe714",
"0xb9C05B8EE41FDCbd9956114B3aF15834FDEDCb54",
"0xfE1A3dD8b169fB5BF0D5dbFe813d956F39fF6310",
"0x488E6ef919C2bB9de535C634a80afb0114DA8F62",
"0xfDb129ea4b6f557b07BcDCedE54F665b7b6Bc281",
"0x060e386eCfBacf42Aa72171Af9EFe17b3993fC4F",
"0x6C09F6727113543Fd061a721da512B7eFCDD0267",
"0x9044E12fB1732f88ed0c93cfa5E9bB9bD2990cE5",
"0xFf17560d746F85674FE7629cE986E949602EF948",
"0x9F86c5142369B1Ffd4223E5A2F2005FC66807894",
"0x260e4fBb13DD91e187AE992c3435D0cf97172316",
"0xB504b6EB06760019801a91B451d3f7BD9f027fC9",
"0x75D05190f35567e79012c2F0a02330D3Ed8a1F74",
"0xa05E565cA0a103FcD999c7A7b8de7Bd15D5f6505",
"0xf2Cde8c47C20aCbffC598217Ad5FE6DB9E00b163",
"0x56eda719d82aE45cBB87B7030D3FB485685Bea45",
"0xAF78381216a8eCC7Ad5957f3cD12a431500E0B0D",
},
"liquidity gauge v4": {
"0x65CA7Dc5CB661fC58De57B1E1aF404649a27AD35",
"0x4Fd86Ce7Ecea88F7E0aA78DC12625996Fb3a04bC",
"0x1cEBdB0856dd985fAe9b8fEa2262469360B8a3a6",
"0x66ec719045bBD62db5eBB11184c18237D3Cc2E62",
"0x7E1444BA99dcdFfE8fBdb42C02F0005D14f13BE1",
"0x1B3E14157ED33F60668f2103bCd5Db39a1573E5B",
"0x08380a4999Be1a958E2abbA07968d703C7A3027C",
"0x6070fBD4E608ee5391189E7205d70cc4A274c017",
},
"liquidity gauge v5": {
"0x34883134A39B206A451c2D3B0E7Cac44BE4D9181",
"0x9f330Db38caAAe5B61B410e2f0aaD63fff2109d8",
},
"Root Liquidity Gauge Implementation": {
"0x279f11F8E2825dbe0b00F6776376601AC948d868",
"0x95069889DF0BCdf15bc3182c1A4D6B20631F3B46",
"0x1c77fB5486545810679D53E325d5bCf6C6A45081",
"0xA6ff75281eACa4cD5fEEb333e8E15558208295e5",
"0xc1c5B8aAfE653592627B54B9527C7E98326e83Ff",
"0x9562c4D2E06aAf85efC5367Fb4544ECeB788465E",
"0xd0698b2E41C42bcE42B51f977F962Fd127cF82eA",
"0xF7b9c402c4D6c2eDbA04a7a515b53D11B1E9b2cc",
"0x15bB164F9827De760174d3d3dAD6816eF50dE13c",
"0xbC38bD19227F91424eD4132F630f51C9A42Fa338",
"0x319E268f0A4C85D404734ee7958857F5891506d7",
"0xdA690c2EA49a058a9966C69f46a05Bfc225939f4",
"0x18006c6A7955Bf6Db72DE34089B975f733601660",
"0x20759F567BB3EcDB55c817c9a1d13076aB215EdC",
"0xBb1B19495B8FE7C402427479B9aC14886cbbaaeE",
"0x8D9649e50A0d1da8E939f800fB926cdE8f18B47D",
"0x8b397084699Cc64E429F610F81Fac13bf061ef55",
"0xD1426C391A7Cbe9DeCd302ac9c44e65C3505d1f0",
"0xF2dDF89C04d702369Ab9eF8399Edb99a76e951Ce",
"0xCE5F24B7A95e9cBa7df4B54E911B4A3Dc8CDAf6f",
"0xDB3fd1bfC67b5D4325cb31C04E0Cae52f1787FD6",
"0x555766f3da968ecBefa690Ffd49A2Ac02f47aa5f",
"0x6339eF8Df0C2d3d3E7eE697E241666a916B81587",
"0x94A5E05D66834c6C6961E199D34dA576679fC187",
"0x1AEAA1b998307217D62E9eeFb6407B10598eF3b8",
"0xfbb5b8f2f9b7a4d21ff44dC724C1Fb7b531A6612",
"0x00F7d467ef51E44f11f52a0c0Bef2E56C271b264",
"0x4620D46b4db7fB04a01A75fFed228Bc027C9A899",
"0x1879075f1c055564CB968905aC404A5A01a1699A",
"0xc5aE4B5F86332e70f3205a8151Ee9eD9F71e0797",
"0xF4eA7617E7999710244e2eAbfC8730d35482EE76",
"0xB721Cc32160Ab0da2614CC6aB16eD822Aeebc101",
},
},
}
var CurvePoolsList = map[string]map[string]string{
EthereumChainName: {
"ib3CRV": "0x5282a4ef67d9c33135340fb3289cc1711c13638c",
"eCRV": "0xa3d87fffce63b53e0d54faa1cc983b7eb0b74a9c",
"steCRV": "0x06325440d014e39736583c165c2963ba99faf14e",
"crvRenWSBTC": "0x075b1bb99792c9e1041ba13afef80c91a1e70fb3",
"crvRenWBTC": "0x49849c98ae39fff122806c06791fa73784fb3675",
"oBTC": "0x2fe94ea3d5d4a175184081439753de15aef9d614",
"pBTC": "0xde5331ac4b3630f94853ff322b66407e0d6331e8",
"tBTC": "0x64eda51d3ad40d56b9dfc5554e06f94e1dd786fd",
"bBTC": "0x410e3e86ef427e30b9235497143881f717d93c2a",
"FRAX3CRV-f": "0xd632f22692fac7611d2aa1c0d552930d43caed3b",
"LUSD3CRV-f": "0xed279fdd11ca84beef15af5d39bb4d4bee23f0ca",
"saCRV": "0x02d341ccb60faaf662bc0554d13778015d1b285c",
"yveCRV-DAO": "0xc5bddf9843308380375a611c18b50fb9341f502a",
},
}
curve pools
var CurveTokenlist = map[string]string{
EthereumChainName: "0xd533a949740bb3306d119cc777fa900ba034cd52",
AvalancheChainName: "0x47536f17f4ff30e64a96a7555826b8f9e66ec468",
}
curve token
var DAIList = map[string]string{
EthereumChainName: "0x6b175474e89094c44da98b954eedeac495271d0f",
OptimismChainName: "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
}
dai
var DAIeList = map[string]string{
AvalancheChainName: "0xd586e7f844cea2f87f50152665bcbc2c279d8d70",
}
dai.e
var DecentralandTokenList = map[string]string{
EthereumChainName: "0x0f5d2fb29fb7d3cfee444a200298f468908cc942",
}
decentraland token
var DefiPulseTokenList = map[string]string{
EthereumChainName: "0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b",
}
defipulse token
var ENJList = map[string]string{
EthereumChainName: "0xf629cbd94d3791c9250152bd8dfbdf380e2a3b9c",
}
enj
var ENSList = map[string]string{
EthereumChainName: "0xc18360217d8f7ab5e7c516566761ea12ce7f9d72",
}
ens
var FEIList = map[string]string{
EthereumChainName: "0x956f47f50a910163d8bf957cf5846d573e7f87ca",
}
fei
var FRAXList = map[string]string{
EthereumChainName: "0x853d955acef822db058eb8505911ed77f175b99e",
AvalancheChainName: "0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64",
OptimismChainName: "0x2e3d870790dc77a83dd1d18184acc7439a53f475",
}
frax
var FullAmount = new(big.Int).SetBytes(eth_common.FromHex("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"))
var GeminiTokenList = map[string]string{
EthereumChainName: "0x056fd409e1d7a124bd7017459dfea2f387b6d5cd",
}
gemini token
var KyberDMMFactoryList = map[string]string{
ArbitrumChainName: "0xd9bfe9979e9ca4b2fe84ba5d4cf963bbcb376974",
}
kyber DMM factory
var KyberDMMRouterList = map[string]string{
ArbitrumChainName: "0xeae47c5d99f7b31165a7f0c5f7e0d6afa25cfd55",
}
kyber DMM router
var KyberFactoryList = map[string]string{
EthereumChainName: "0x833e4083b7ae46cea85695c4f7ed25cdad8886de",
ArbitrumChainName: "0x51e8d106c646ca58caf32a47812e95887c071a62",
PolygonChainName: "0x5f1fe642060b5b9658c15721ea22e982643c095c",
BinanaceSmartChainName: "0x878dfe971d44e9122048308301f540910bbd934c",
FantomChainName: "0x78df70615ffc8066cc0887917f2cd72092c86409",
AvalancheChainName: "0x10908c875d865c66f271f5d3949848971c9595c9",
}
kyber factory
var KyberMigratorList = map[string]string{
EthereumChainName: "0x6a65e062ce8290007301296f3c6ae446af7bdeec",
}
kyber migrator
var KyberOldTokenList = map[string]string{
EthereumChainName: "0xdd974d5c2e2928dea5f71b9825b8b646686bd200",
}
kyber old token
var KyberRewardLockerList = map[string]string{
EthereumChainName: "0xfab5186a194588f5ad5074bd52659302906b4522",
PolygonChainName: "0x063dd8b5a42aae93a014ce5fabb5b70474667961",
BinanaceSmartChainName: "0xfab5186a194588f5ad5074bd52659302906b4522",
AvalancheChainName: "0xf530a090ef6481cfb33f98c63532e7745abab58a",
}
kyber reward locker
var KyberRouterList = map[string]string{
EthereumChainName: "0x1c87257f5e8609940bc751a07bb085bb7f8cdbe6",
ArbitrumChainName: "0xc3e2aed41ecdfb1ad41ed20d45377da98d5489dd",
PolygonChainName: "0x546c79662e028b661dfb4767664d0273184e4dd1",
BinanaceSmartChainName: "0x78df70615ffc8066cc0887917f2cd72092c86409",
FantomChainName: "0x5d5a5a0a465129848c2549669e12cdc2f8de039a",
AvalancheChainName: "0x8efa5a9ad6d594cf76830267077b78ce0bc5a5f8",
}
kyber router
var KyberTokenList = map[string]string{
EthereumChainName: "0xdefa4e8a7bcba345f687a2f1456f5edd9ce97202",
PolygonChainName: "0x1c954e8fe737f99f68fa1ccda3e51ebdb291948c",
BinanaceSmartChainName: "0xfe56d5892bdffc7bf58f2e84be1b2c32d21c308b",
AvalancheChainName: "0x39fC9e94Caeacb435842FADeDeCB783589F50f5f",
}
kyber token
var LINKList = map[string]string{
EthereumChainName: "0x514910771af9ca656af840dff83e8264ecf986ca",
AvalancheChainName: "0x5947bb275c521040051d82396192181b413227a3",
OptimismChainName: "0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6",
}
link
var LidoSTETHList = map[string]string{
EthereumChainName: "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
}
var LidoTokenList = map[string]string{
EthereumChainName: "0x5a98fcbea516cf06857215779fd812ca3bef1b32",
}
lido token
var MIMList = map[string]string{
EthereumChainName: "0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3",
AvalancheChainName: "0x130966628846bfd36ff31a822705796e8cb8c18d",
}
mim
var MakerTokenList = map[string]string{
EthereumChainName: "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
}
maker token
var OneInchTokenList = map[string]string{
EthereumChainName: "0x111111111117dc0aa78b770fa6a738034120c302",
}
1inch token
var PangolinChefV2List = map[string]string{
AvalancheChainName: "0x1f806f7c8ded893fd3cae279191ad7aa3798e928",
}
pangolin chef
var PangolinFactoryList = map[string]string{
AvalancheChainName: "0xefa94de7a4656d787667c749f7e1223d71e9fd88",
}
pangolin factory
var PangolinPoolManagerV2List = map[string]string{
AvalancheChainName: "0x912b5d41656048ef681efa9d32488a3ffe397994",
}
pangolin pool manager v2
var PangolinTokenList = map[string]string{
AvalancheChainName: "0x60781c2586d68229fde47564546784ab3faca982",
}
pangolin token
var PlatypusLpList = map[string]map[string]map[string]string{ AvalancheChainName: { PlatypusMainPoolsName: { DAIeList[AvalancheChainName]: PlatypusLpDAIeAddress, USDCList[AvalancheChainName]: PlatypusLpUSDCAddress, USDCeList[AvalancheChainName]: PlatypusLpUSDCeAddress, USDTList[AvalancheChainName]: PlatypusLpUSDTAddress, USDTeList[AvalancheChainName]: PlatypusLpUSDTeAddress, }, PlatypusUSDCFRAXPairName: { USDCList[AvalancheChainName]: PlatypusLpUSDC_FRAXAddress, FRAXList[AvalancheChainName]: PlatypusLpFRAXAddress, }, PlatypusUSDCMIMPairName: { USDCList[AvalancheChainName]: PlatypusLpUSDC_MIMAddress, MIMList[AvalancheChainName]: PlatypusLpMIMAddress, }, PlatypusAVAXsAVAXPairName: { WAVAXList[AvalancheChainName]: PlatypusLpAVAXAddress, BenqiSAVAXList[AvalancheChainName]: PlatypusLpsAVAXAddress, }, PlatypusUSDCYUSDPairName: { USDCList[AvalancheChainName]: PlatypusLpUSDC_YUSDAddress, YUSDList[AvalancheChainName]: PlatypusLpYUSDAddress, }, PlatypusBTCbWBTCePairName: { WBTCList[AvalancheChainName]: PlatypusLpWBTCeAddress, BTCbList[AvalancheChainName]: PlatypusLpBTCbAddress, }, "PlatypusDeprecated": { "mim": PlatypusLpMIMDeprecatedAddress, "usdc_tusd_tusd": PlatypusLpTUSDAddress, "usdc_tusd_usdc": PlatypusLpUSDC_TUSDAddress, "usdc_ust_usdc": PlatypusLpUSDC_USTAddress, "usdc_ust_ust": PlatypusLpUSTAddress, }, }, }
var PlatypusMasterPlatypusV2List = map[string]string{
AvalancheChainName: "0x68c5f4374228beedfa078e77b5ed93c28a2f713e",
}
platypus master platypus V2
var PlatypusRouterList = map[string]map[string]string{ AvalancheChainName: { PlatypusMainPoolsName: "0x66357dcace80431aee0a7507e2e361b7e2402370", PlatypusUSDCFRAXPairName: "0xb8e567fc23c39c94a1f6359509d7b43d1fbed824", PlatypusUSDCMIMPairName: "0x30c30d826be87cd0a4b90855c2f38f7fcfe4eaa7", PlatypusAVAXsAVAXPairName: "0x4658ea7e9960d6158a261104aaa160cc953bb6ba", PlatypusUSDCTUSDPairName: "0x13329c7905f1ee55c3c7d7bfc26c1197c512c207", PlatypusUSDCYUSDPairName: "0xc828d995c686aaba78a4ac89dfc8ec0ff4c5be83", PlatypusBTCbWBTCePairName: "0x39de4e02f76dbd4352ec2c926d8d64db8abdf5b2", }, }
platypus router
var PlatypusTokenList = map[string]string{
AvalancheChainName: "0x22d4002028f537599be9f666d1c4fa138522f9c8",
}
platypus token
var PlatypusvePTPList = map[string]string{
AvalancheChainName: "0x5857019c749147eee22b1fe63500f237f3c1b692",
}
platypus vePTP
var PlatypusxPTPList = map[string]string{
AvalancheChainName: "0x060556209e507d30f2167a101bfc6d256ed2f3e1",
}
platypus xPTP
var REPList = map[string]string{
EthereumChainName: "0x1985365e9f78359a9b6ad760e32412f4a445e862",
}
rep
var ReflexerTokenList = map[string]string{
EthereumChainName: "0x03ab458634910aad20ef5f1c8ee96f1d6ac54919",
}
reflexer token
var RenBTCList = map[string]string{
EthereumChainName: "0xeb4c2781e4eba804ce9a9803c67d0893436bb27d",
AvalancheChainName: "0xdbf31df14b66535af65aac99c32e9ea844e14501",
}
renbtc
var RenFILList = map[string]string{
EthereumChainName: "0xd5147bc8e386d91cc5dbe72099dac6c9b99276f5",
}
renFIL
var RepublicTokenList = map[string]string{
EthereumChainName: "0x408e41876cccdc0f92210600ef50372656052a38",
}
republic token
var SAIList = map[string]string{
EthereumChainName: "0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359",
}
sai
var SUSDList = map[string]string{
EthereumChainName: "0x57ab1ec28d129707052df4df418d58a2d46d5f51",
OptimismChainName: "0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9",
}
susd
var SushiTokenList = map[string]string{
EthereumChainName: "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
AvalancheChainName: "0x37b608519f91f70f2eeb0e5ed9af4061722e4f76",
}
sushi token
var SynthetixTokenList = map[string]string{
EthereumChainName: "0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f",
}
synthetix token
var TUSDList = map[string]string{
EthereumChainName: "0x0000000000085d4780b73119b644ae5ecd22b376",
AvalancheChainName: "0x1c20e891bab6b1727d14da358fae2984ed9b59eb",
}
tusd
var TraderjoeCTokenList = map[string]map[string]string{ AvalancheChainName: { DAIeList[AvalancheChainName]: "0xc988c170d0E38197DC634A45bF00169C7Aa7CA19", USDCeList[AvalancheChainName]: "0xEd6AaF91a2B084bd594DBd1245be3691F9f637aC", USDCList[AvalancheChainName]: "0x29472d511808ce925f501d25f9ee9effd2328db2", USDTeList[AvalancheChainName]: "0x8b650e26404AC6837539ca96812f0123601E4448", WETHList[AvalancheChainName]: "0x929f5caB61DFEc79a5431a7734a68D714C4633fa", WBTCList[AvalancheChainName]: "0x3fE38b7b610C0ACD10296fEf69d9b18eB7a9eB1F", WAVAXList[AvalancheChainName]: "0xC22F01ddc8010Ee05574028528614634684EC29e", LINKList[AvalancheChainName]: "0x585E7bC75089eD111b656faA7aeb1104F5b96c15", MIMList[AvalancheChainName]: "0xcE095A9657A02025081E0607c8D8b081c76A75ea", TraderjoeStakeTokenList[AvalancheChainName]: "0xC146783a59807154F92084f9243eb139D58Da696", TraderjoeTokenList[AvalancheChainName]: "0xbfdbe35168953c9d29bdf9a0043f902f233c76e0", }, }
traderjoe c tokens (j tokens)
var TraderjoeChefV3List = map[string]string{
AvalancheChainName: "0x188bed1968b795d5c9022f6a0bb5931ac4c18f00",
}
traderjoe chef v3
var TraderjoeFactoryList = map[string]string{
AvalancheChainName: "0x9ad6c38be94206ca50bb0d90783181662f0cfa10",
}
traderjoe factory
var TraderjoeJoetrollerList = map[string]string{
AvalancheChainName: "0xdc13687554205e5b89ac783db14bb5bba4a1edac",
}
traderjoe joetroller
var TraderjoeRewardDistributorList = map[string]string{
AvalancheChainName: "0x45b2c4139d96f44667577c0d7f7a7d170b420324",
}
traderjoe reward distributor
var TraderjoeRouterList = map[string]string{
AvalancheChainName: "0x60ae616a2155ee3d9a68541ba4544862310933d4",
}
traderjoe router
var TraderjoeStakeTokenList = map[string]string{
AvalancheChainName: "0x57319d41f71e81f3c65f2a47ca4e001ebafd4f33",
}
traderjoe stake token
var TraderjoeTokenList = map[string]string{
AvalancheChainName: "0x6e84a6216ea6dacc71ee8e6b0a5b7322eebc0fdd",
}
traderjoe token
var TraderjoeVeBoostChef = map[string]string{
AvalancheChainName: "0x4483f0b6e2f5486d06958c20f8c39a7abe87bf8f",
}
traderjoe vejoe boost chef
var TraderzJOEList = map[string]string{
AvalancheChainName: "0x769bfeb9faacd6eb2746979a8dd0b7e9920ac2a4",
}
traderjoe zJOE
var USDCList = map[string]string{
EthereumChainName: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
AvalancheChainName: "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",
OptimismChainName: "0x7f5c764cbc14f9669b88837ca1490cca17c31607",
}
usdc
var USDCeList = map[string]string{
AvalancheChainName: "0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664",
}
usdc.e for avalanche
var USDPList = map[string]string{
EthereumChainName: "0x8e870d67f660d95d5be530380d0ec0bd388289e1",
}
usdp
var USDTList = map[string]string{
EthereumChainName: "0xdac17f958d2ee523a2206206994597c13d831ec7",
AvalancheChainName: "0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7",
OptimismChainName: "0x94b008aa00579c1307b0ef2c499ad98a8ce58e58",
}
usdt
var USDTeList = map[string]string{
AvalancheChainName: "0xc7198437980c041c805a1edcba50c1ce5db95118",
}
usdt.e for avalanche
var USTList = map[string]string{
EthereumChainName: "0xa693b19d2931d498c5b318df961919bb4aee87a5",
AvalancheChainName: "0x260bbf5698121eb85e7a74f2e45e16ce762ebe11",
}
ust
var USTWormholeList = map[string]string{
AvalancheChainName: "0xb599c3590f42f8f995ecfa0f85d2980b76862fc1",
}
ust(wormhole)
var UniswapTokenList = map[string]string{
EthereumChainName: "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
}
uni token
var VectorChefList = map[string]string{
AvalancheChainName: "0x423d0fe33031aa4456a17b150804aa57fc157d97",
}
vector staking contract
var VectorMachinegunPoolList = map[string]map[string]string{ AvalancheChainName: { VectorPoolNameList[AvalancheChainName]["VectorStaking"][TraderzJOEList[AvalancheChainName]]: VectorChefList[AvalancheChainName], VectorPoolNameList[AvalancheChainName]["VectorStaking"][PlatypusxPTPList[AvalancheChainName]]: VectorChefList[AvalancheChainName], VectorPoolNameList[AvalancheChainName]["VectorStaking"][VectorTokenList[AvalancheChainName]]: VectorChefList[AvalancheChainName], VectorPoolNameList[AvalancheChainName][PlatypusMainPoolsName][DAIeList[AvalancheChainName]]: "0xc1ac7d1405b87259b8d380e0041d0573fb0acb8c", VectorPoolNameList[AvalancheChainName][PlatypusMainPoolsName][USDCList[AvalancheChainName]]: "0x994f0e36ceb953105d05897537bf55d201245156", VectorPoolNameList[AvalancheChainName][PlatypusMainPoolsName][USDCeList[AvalancheChainName]]: "0x257d69aa678e0a8da6dfda6a16cdf2052a460b45", VectorPoolNameList[AvalancheChainName][PlatypusMainPoolsName][USDTList[AvalancheChainName]]: "0x5c6c7bc771f9a4231af8d5a463e6d495833011f0", VectorPoolNameList[AvalancheChainName][PlatypusMainPoolsName][USDTeList[AvalancheChainName]]: "0x834eed8b99463a5d58b4d4b3a16b5904c37d7a2e", VectorPoolNameList[AvalancheChainName][PlatypusUSDCYUSDPairName][USDCList[AvalancheChainName]]: "0x7550b2d6a1f039dd6a3d54a857fefcbf77213d80", VectorPoolNameList[AvalancheChainName][PlatypusUSDCYUSDPairName][YUSDList[AvalancheChainName]]: "0xbd6a6a5bdb0ca1d5142519fb21b021109414bd1c", VectorPoolNameList[AvalancheChainName][PlatypusUSDCMIMPairName][USDCList[AvalancheChainName]]: "0x711a2aaf789ae342f3bf0ac290994f45408e694d", VectorPoolNameList[AvalancheChainName][PlatypusUSDCMIMPairName][MIMList[AvalancheChainName]]: "0x222ea06ff0a6d11fc1ef30b5d294e5e71e837caa", VectorPoolNameList[AvalancheChainName][PlatypusUSDCFRAXPairName][USDCList[AvalancheChainName]]: "0x1338b4065e25ad681c511644aa319181fc3d64cc", VectorPoolNameList[AvalancheChainName][PlatypusUSDCFRAXPairName][FRAXList[AvalancheChainName]]: "0xccce9e28fe4ceff031fd3b8837cb569cfb7a6843", VectorPoolNameList[AvalancheChainName][PlatypusAVAXsAVAXPairName][WAVAXList[AvalancheChainName]]: "0xff5386af93cf4bd8d5aecad6df7f4f4be381fd69", VectorPoolNameList[AvalancheChainName][PlatypusAVAXsAVAXPairName][BenqiSAVAXList[AvalancheChainName]]: "0x812b7c3b5a9164270dd8a0b3bc47550877aecdb1", }, }
vector machine gun pools 2022.06.13
var VectorPoolNameList = map[string]map[string]map[string]string{ AvalancheChainName: { PlatypusMainPoolsName: { DAIeList[AvalancheChainName]: "DAIe", USDCList[AvalancheChainName]: "USDC", USDCeList[AvalancheChainName]: "USDCe", USDTList[AvalancheChainName]: "USDT", USDTeList[AvalancheChainName]: "USDTe", }, PlatypusAVAXsAVAXPairName: { WAVAXList[AvalancheChainName]: "AVAX", BenqiSAVAXList[AvalancheChainName]: "SAVAX", }, }, }
vector pool names
var VectorTokenList = map[string]string{
AvalancheChainName: "0x5817d4f0b62a59b17f75207da1848c2ce75e7af4",
}
vector token
var WAVAXList = map[string]string{
EthereumChainName: "0x85f138bfEE4ef8e540890CFb48F620571d67Eda3",
AvalancheChainName: "0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7",
}
wavax
var WBTCList = map[string]string{
EthereumChainName: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
AvalancheChainName: "0x50b7545627a5162f82a992c33b87adc75187b218",
OptimismChainName: "0x68f180fcce6836688e9084f035309e29bf0a2095",
}
wbtc
var WETHList = map[string]string{
EthereumChainName: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
AvalancheChainName: "0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab",
OptimismChainName: "0x4200000000000000000000000000000000000006",
}
weth
var WoofyList = map[string]string{
EthereumChainName: "0xd0660cd418a64a1d44e9214ad8e459324d8157f1",
FantomChainName: "0xd0660cd418a64a1d44e9214ad8e459324d8157f1",
PolygonChainName: "0xd0660cd418a64a1d44e9214ad8e459324d8157f1",
}
woofy token
var WormholeTokenBridgeList = map[string]string{
AvalancheChainName: "0x0e082f06ff657d94310cb8ce8b0d9a04541d8052",
TerraChainName: "terra1pw4qm09m256m3wz25n4whnuqck7rcn6wvvjzyj",
}
wormhole token bridge
var WrappedChainTokenList = map[string]string{ AvalancheChainName: WAVAXList[AvalancheChainName], EthereumChainName: WETHList[EthereumChainName], }
Wrapped chain token address.
var XAVAList = map[string]string{
AvalancheChainName: "0xd1c3f94de7e5b45fa4edbba472491a9f4b166fc4",
}
xava
var XSushiList = map[string]string{
EthereumChainName: "0x8798249c2e607446efb7ad49ec89dd1865ff4272",
}
xsushi
var YUSDList = map[string]string{
AvalancheChainName: "0x111111111111ed1d73f860f57b2798b683f2d325",
}
yusd
var YearnProtocol string = "yearn"
var YearnTokenList = map[string]string{
EthereumChainName: "0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e",
FantomChainName: "0x29b0da86e484e1c0029b56e817912d778ac0ec69",
PolygonChainName: "0xda537104d6a5edd53c6fbba9a898708e465260b6",
}
yearn token
var YearnVaultTokenList = map[string]map[string]string{ EthereumChainName: { YearnTokenList[EthereumChainName]: "0xe14d13d8b3b85af791b2aadd661cdbd5e6097db1", OneInchTokenList[EthereumChainName]: "0xb8c3b7a2a618c552c23b1e4701109a9e756bab67", WETHList[EthereumChainName]: "0xa258c4606ca8206d8aa700ce2143d7db854d168c", USDCList[EthereumChainName]: "0x5f18c75abdae578b483e5f43f12a39cf75b973a9", DAIList[EthereumChainName]: "0xda816459f1ab5631232fe5e97a05bbbb94970c95", WBTCList[EthereumChainName]: "0xcb550a6d4c8e3517a939bc79d0c7093eb7cf56b5", USDTList[EthereumChainName]: "0x7da96a3891add058ada2e826306d812c638d87a7", CurvePoolsList[EthereumChainName]["ib3CRV"]: "0x27b7b1ad7288079a66d12350c828d3c00a6f07d7", CurvePoolsList[EthereumChainName]["eCRV"]: "0xa3d87fffce63b53e0d54faa1cc983b7eb0b74a9c", CurvePoolsList[EthereumChainName]["steCRV"]: "0xdcd90c7f6324cfa40d7169ef80b12031770b4325", CurvePoolsList[EthereumChainName]["crvRenWSBTC"]: "0x8414db07a7f743debafb402070ab01a4e0d2e45e", CurvePoolsList[EthereumChainName]["crvRenWBTC"]: "0x7047f90229a057c13bf847c0744d646cfb6c9e1a", CurvePoolsList[EthereumChainName]["oBTC"]: "0xe9dc63083c464d6edccff23444ff3cfc6886f6fb", CurvePoolsList[EthereumChainName]["pBTC"]: "0x3c5df3077bcf800640b5dae8c91106575a4826e6", CurvePoolsList[EthereumChainName]["tBTC"]: "0x23d3d0f1c697247d5e0a9efb37d8b0ed0c464f7f", CurvePoolsList[EthereumChainName]["bBTC"]: "0x8fa3a9ecd9efb07a8ce90a6eb014cf3c0e3b32ef", CurvePoolsList[EthereumChainName]["FRAX3CRV-f"]: "0xb4ada607b9d6b2c9ee07a275e9616b84ac560139", CurvePoolsList[EthereumChainName]["LUSD3CRV-f"]: "0x5fa5b62c8af877cb37031e0a3b2f34a78e3c56a6", CurvePoolsList[EthereumChainName]["saCRV"]: "0xb4d1be44bff40ad6e506edf43156577a3f8672ec", CurvePoolsList[EthereumChainName]["yveCRV-DAO"]: "0x9d409a0a012cfba9b15f6d4b36ac57a46966ab9a", }, }
var ZRXList = map[string]string{
EthereumChainName: "0xe41d2489571d322189246dafa5ebde1f4699f498",
}
zrx
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files ¶
- aave.go
- alpha.go
- avalanche.go
- axial.go
- balancer.go
- beefy.go
- benqi.go
- chain.go
- compound.go
- convex.go
- curve.go
- decentraland.go
- defipulse.go
- gemini.go
- kyber.go
- lido.go
- maker.go
- numbers.go
- oneinch.go
- pangolin.go
- phoneticSymbols.go
- platypus.go
- reflexer.go
- republic.go
- sushi.go
- synthetix.go
- tokens.go
- traderjoe.go
- uniswap.go
- vector.go
- wormhole.go
- yearn.go