Skip to content

Instantly share code, notes, and snippets.

@DaewookChoi
Last active April 12, 2022 09:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DaewookChoi/aab0dc10f651b0bf2b6715d0ff71d4a4 to your computer and use it in GitHub Desktop.
Save DaewookChoi/aab0dc10f651b0bf2b6715d0ff71d4a4 to your computer and use it in GitHub Desktop.
test
{
"contracts": {
"HomoraBank": "0x97274f6E62B8cf1fD7fB2B5C753Db329870b3048",
"KlayswapSpell": "0x627B22efd814ba35387016e708BCd46eD4f7FD2E",
"ClaimswapSpell": "0xA87f054a7680E8D76e4A536697c40dCc2034fB9E"
},
"tokens": [
{
"address": "0x8918Ac522b871E0BfdDdc2e09D81fF5de8fD57E7",
"id": "KITE",
"symbol": "KITE",
"type": 100,
"decimals": 18
},
{
"address": "0x0000000000000000000000000000000000000000",
"id": "KLAY0",
"symbol": "KLAY",
"type": 400,
"decimals": 18,
"isKlay": true
},
{
"address": "0x9999999999999999999999999999999999999999",
"id": "KLAY9",
"symbol": "KLAY",
"type": 400,
"decimals": 18,
"isKlay": true
},
{
"address": "0xe4f05A66Ec68B54A58B17c22107b02e0232cC817",
"id": "WKLAY",
"symbol": "KLAY",
"type": 400,
"decimals": 18,
"isKlay": true
},
{
"address": "0xceE8FAF64bB97a73bb51E115Aa89C17FfA8dD167",
"id": "KUSDT",
"symbol": "KUSDT",
"type": 800,
"decimals": 6
},
{
"address": "0x34d21b1e550D73cee41151c77F3c73359527a396",
"id": "KETH",
"symbol": "KETH",
"type": 400,
"decimals": 18
},
{
"address": "0x9eaeFb09fe4aABFbE6b1ca316a3c36aFC83A393F",
"id": "KXRP",
"symbol": "KXRP",
"type": 400,
"decimals": 6
},
{
"address": "0x5c74070FDeA071359b86082bd9f9b3dEaafbe32b",
"id": "KDAI",
"symbol": "KDAI",
"type": 400,
"decimals": 18
},
{
"address": "0x5096dB80B21Ef45230C9E423C373f1FC9C0198dd",
"id": "WEMIX",
"symbol": "WEMIX",
"type": 400,
"decimals": 18
},
{
"address": "0x754288077D0fF82AF7a5317C7CB8c444D421d103",
"id": "KUSDC",
"symbol": "KUSDC",
"type": 800,
"decimals": 6
},
{
"address": "0xCF87f94fD8F6B6f0b479771F10dF672f99eADa63",
"id": "CLA",
"symbol": "CLA",
"type": 100,
"decimals": 18
},
{
"address": "0xC6a2Ad8cC6e4A7E08FC37cC5954be07d499E7654",
"id": "KSP",
"symbol": "KSP",
"type": 100,
"decimals": 18
}
],
"prices": {
"0x8918Ac522b871E0BfdDdc2e09D81fF5de8fD57E7": 1.4903838121987205,
"0x0000000000000000000000000000000000000000": 0.9939475650178157,
"0x9999999999999999999999999999999999999999": 0.9939475650178157,
"0xe4f05A66Ec68B54A58B17c22107b02e0232cC817": 0.9939475650178157,
"0xceE8FAF64bB97a73bb51E115Aa89C17FfA8dD167": 1.00017292,
"0x34d21b1e550D73cee41151c77F3c73359527a396": 3023.829930700478,
"0x9eaeFb09fe4aABFbE6b1ca316a3c36aFC83A393F": 0.706030714758887,
"0x5c74070FDeA071359b86082bd9f9b3dEaafbe32b": 0.999919,
"0x5096dB80B21Ef45230C9E423C373f1FC9C0198dd": 3.8041048851469865,
"0x754288077D0fF82AF7a5317C7CB8c444D421d103": 0.99983955,
"0xCF87f94fD8F6B6f0b479771F10dF672f99eADa63": 0.9991212978573272,
"0xC6a2Ad8cC6e4A7E08FC37cC5954be07d499E7654": 4.6463442994733315,
"0x5AD1139C1A45E6f881A30638F824EfE2176d3624": 4.306082986298578,
"0x26A185cEd58B6416b1fe73dBf1D25CF009EDd256": 3.575522440489151,
"0x92688F042DF347A25B09954845E8349F602ec948": 2.3197124774775464,
"0xC462708c7De5228021831F69A2D770d23f5b5016": 2347.620627432896,
"0x34cF46c21539e03dEb26E4FA406618650766f3b9": 1.0448422151065633,
"0xD83f1B074D81869EFf2C46C530D7308FFEC18036": 4.244509685673991,
"0x27F80731dDdb90C51cD934E9BD54bfF2D4E99e8a": 3.550191816346259
},
"kite": {
"hTokenFactors": [
{
"address": "0x8918Ac522b871E0BfdDdc2e09D81fF5de8fD57E7",
"borrowFactor": 11000,
"collateralFactor": 9500
},
{
"address": "0x9999999999999999999999999999999999999999",
"borrowFactor": 11000,
"collateralFactor": 9500
},
{
"address": "0xe4f05A66Ec68B54A58B17c22107b02e0232cC817",
"borrowFactor": 11000,
"collateralFactor": 9500
},
{
"address": "0xceE8FAF64bB97a73bb51E115Aa89C17FfA8dD167",
"borrowFactor": 11000,
"collateralFactor": 9500
},
{
"address": "0x34d21b1e550D73cee41151c77F3c73359527a396",
"borrowFactor": 11000,
"collateralFactor": 9500
},
{
"address": "0x9eaeFb09fe4aABFbE6b1ca316a3c36aFC83A393F",
"borrowFactor": 11000,
"collateralFactor": 9500
},
{
"address": "0x5c74070FDeA071359b86082bd9f9b3dEaafbe32b",
"borrowFactor": 11000,
"collateralFactor": 9500
},
{
"address": "0x754288077D0fF82AF7a5317C7CB8c444D421d103",
"borrowFactor": 11000,
"collateralFactor": 9500
},
{
"address": "0xCF87f94fD8F6B6f0b479771F10dF672f99eADa63",
"borrowFactor": 11000,
"collateralFactor": 9500
},
{
"address": "0xC6a2Ad8cC6e4A7E08FC37cC5954be07d499E7654",
"borrowFactor": 11000,
"collateralFactor": 9500
}
],
"hInterestFee": 1900,
"hStopLossFee": 30,
"hBankStatus": 3
},
"lendingPools": [
{
"address": "0x9999999999999999999999999999999999999999",
"borrowAPY": 0,
"borrowKiteAPR": 0,
"borrowKitePerBlockUint": "57997172938755906.5",
"borrowRatePerBlockUint": "0",
"cTokenAddress": "0xbE6B3657AC074e4201A94CdD0D29248C6a7ca0DC",
"depositAPY": 0,
"depositKiteAPR": 6.856272826264598e+21,
"depositKitePerBlockUint": "57997172938755906.5",
"depositRatePerBlockUint": "0",
"tokenAddress": "0x9999999999999999999999999999999999999999",
"totalBorrows": 0,
"totalDeposits": 400,
"totalDepositsCToken": 400,
"updated": 1649752312308
},
{
"address": "0xceE8FAF64bB97a73bb51E115Aa89C17FfA8dD167",
"borrowAPY": 0,
"borrowKiteAPR": 0,
"borrowKitePerBlockUint": "43497879704066929.875",
"borrowRatePerBlockUint": "0",
"cTokenAddress": "0x5842D1aD7526c583Ab5Daf2e69E387C5F1EE703C",
"depositAPY": 0,
"depositKiteAPR": 0,
"depositKitePerBlockUint": "43497879704066929.875",
"depositRatePerBlockUint": "0",
"tokenAddress": "0xceE8FAF64bB97a73bb51E115Aa89C17FfA8dD167",
"totalBorrows": 0,
"totalDeposits": 0,
"totalDepositsCToken": 0,
"updated": 1649752312308
},
{
"address": "0x34d21b1e550D73cee41151c77F3c73359527a396",
"borrowAPY": 0,
"borrowKiteAPR": 0,
"borrowKitePerBlockUint": "28998586469377953.25",
"borrowRatePerBlockUint": "0",
"cTokenAddress": "0x57F1a775B307914f9c4C39e4E4B9Ee2f76398027",
"depositAPY": 0,
"depositKiteAPR": 0,
"depositKitePerBlockUint": "28998586469377953.25",
"depositRatePerBlockUint": "0",
"tokenAddress": "0x34d21b1e550D73cee41151c77F3c73359527a396",
"totalBorrows": 0,
"totalDeposits": 0,
"totalDepositsCToken": 0,
"updated": 1649752312308
},
{
"address": "0x9eaeFb09fe4aABFbE6b1ca316a3c36aFC83A393F",
"borrowAPY": 0,
"borrowKiteAPR": 0,
"borrowKitePerBlockUint": "14499293234688976.625",
"borrowRatePerBlockUint": "0",
"cTokenAddress": "0x4D4b2303EE8D6A8b58e9d2582BF135B9b35b9831",
"depositAPY": 0,
"depositKiteAPR": 0,
"depositKitePerBlockUint": "14499293234688976.625",
"depositRatePerBlockUint": "0",
"tokenAddress": "0x9eaeFb09fe4aABFbE6b1ca316a3c36aFC83A393F",
"totalBorrows": 0,
"totalDeposits": 0,
"totalDepositsCToken": 0,
"updated": 1649752312308
},
{
"address": "0x5c74070FDeA071359b86082bd9f9b3dEaafbe32b",
"borrowAPY": 0,
"borrowKiteAPR": 0,
"borrowKitePerBlockUint": "0",
"borrowRatePerBlockUint": "0",
"cTokenAddress": "0xf0c98CecccFeeaEFc3640b10a0B5B767e82A515A",
"depositAPY": 0,
"depositKiteAPR": 0,
"depositKitePerBlockUint": "14499293234688976.625",
"depositRatePerBlockUint": "0",
"tokenAddress": "0x5c74070FDeA071359b86082bd9f9b3dEaafbe32b",
"totalBorrows": 0,
"totalDeposits": 0,
"totalDepositsCToken": 0,
"updated": 1649752312308
},
{
"address": "0x5096dB80B21Ef45230C9E423C373f1FC9C0198dd",
"borrowAPY": 0,
"borrowKiteAPR": 0,
"borrowKitePerBlockUint": "0",
"borrowRatePerBlockUint": "0",
"cTokenAddress": "0xa712B8D362ebDbEA1714e047530865187945fAb3",
"depositAPY": 0,
"depositKiteAPR": 0,
"depositKitePerBlockUint": "14499293234688976.625",
"depositRatePerBlockUint": "0",
"tokenAddress": "0x5096dB80B21Ef45230C9E423C373f1FC9C0198dd",
"totalBorrows": 0,
"totalDeposits": 0,
"totalDepositsCToken": 0,
"updated": 1649752312308
},
{
"address": "0x754288077D0fF82AF7a5317C7CB8c444D421d103",
"borrowAPY": 0,
"borrowKiteAPR": 0,
"borrowKitePerBlockUint": "14499293234688976.625",
"borrowRatePerBlockUint": "0",
"cTokenAddress": "0x673b50FA7130802A19C86A9220cd1d6c29a16Ae7",
"depositAPY": 0,
"depositKiteAPR": 0,
"depositKitePerBlockUint": "14499293234688976.625",
"depositRatePerBlockUint": "0",
"tokenAddress": "0x754288077D0fF82AF7a5317C7CB8c444D421d103",
"totalBorrows": 0,
"totalDeposits": 0,
"totalDepositsCToken": 0,
"updated": 1649752312308
},
{
"address": "0xC6a2Ad8cC6e4A7E08FC37cC5954be07d499E7654",
"borrowAPY": 0,
"borrowKiteAPR": 0,
"borrowKitePerBlockUint": "14499293234688976.625",
"borrowRatePerBlockUint": "0",
"cTokenAddress": "0x218E0229F8F9b547dd443c48858A57810EAd7C2C",
"depositAPY": 0,
"depositKiteAPR": 0,
"depositKitePerBlockUint": "14499293234688976.625",
"depositRatePerBlockUint": "0",
"tokenAddress": "0xC6a2Ad8cC6e4A7E08FC37cC5954be07d499E7654",
"totalBorrows": 0,
"totalDeposits": 0,
"totalDepositsCToken": 0,
"updated": 1649752312308
}
],
"lpFarms": [
{
"lpAddress": "0x5AD1139C1A45E6f881A30638F824EfE2176d3624",
"name": "KLAY-KUSDT LP",
"spellType": "ClaimswapSpell",
"pid": 5,
"tokens": [
"0xceE8FAF64bB97a73bb51E115Aa89C17FfA8dD167",
"0xe4f05A66Ec68B54A58B17c22107b02e0232cC817"
],
"totalSupply": 5732049.605746521,
"reservesUint": [
"12647462129764",
"12113864903073785761704976"
],
"tradingFee7dAPR": 0,
"farmRewardAPR": 18.07787862192984
},
{
"lpAddress": "0x26A185cEd58B6416b1fe73dBf1D25CF009EDd256",
"name": "KLAY-KETH LP",
"spellType": "ClaimswapSpell",
"pid": 10,
"tokens": [
"0x34d21b1e550D73cee41151c77F3c73359527a396",
"0xe4f05A66Ec68B54A58B17c22107b02e0232cC817"
],
"totalSupply": 655741.0192424093,
"reservesUint": [
"388259075184018378416",
"1177717901005585365841272"
],
"tradingFee7dAPR": 0,
"farmRewardAPR": 14.713686478611077
},
{
"lpAddress": "0x92688F042DF347A25B09954845E8349F602ec948",
"name": "KLAY-KXRP LP",
"spellType": "ClaimswapSpell",
"pid": 4,
"tokens": [
"0x9eaeFb09fe4aABFbE6b1ca316a3c36aFC83A393F",
"0xe4f05A66Ec68B54A58B17c22107b02e0232cC817"
],
"totalSupply": 1677339.3877511933,
"reservesUint": [
"2758195140815",
"1955411470557103643461994"
],
"tradingFee7dAPR": 0,
"farmRewardAPR": 15.377317345187778
},
{
"lpAddress": "0xC462708c7De5228021831F69A2D770d23f5b5016",
"name": "KETH-KUSDT LP",
"spellType": "ClaimswapSpell",
"pid": 7,
"tokens": [
"0x34d21b1e550D73cee41151c77F3c73359527a396",
"0xceE8FAF64bB97a73bb51E115Aa89C17FfA8dD167"
],
"totalSupply": 1452.6937545998126,
"reservesUint": [
"550573347916866158540",
"1746209487995"
],
"tradingFee7dAPR": 0,
"farmRewardAPR": 19.79098804615038
},
{
"lpAddress": "0x34cF46c21539e03dEb26E4FA406618650766f3b9",
"name": "KLAY-KSP LP",
"spellType": "KlayswapSpell",
"tokens": [
"0x0000000000000000000000000000000000000000",
"0xC6a2Ad8cC6e4A7E08FC37cC5954be07d499E7654"
],
"totalSupply": 28756283.949984528,
"reservesUint": [
"15117640094168352817017937",
"3232571156116318001653948"
],
"tradingFee7dAPR": 0,
"farmRewardAPR": 26.645349189744888
},
{
"lpAddress": "0xD83f1B074D81869EFf2C46C530D7308FFEC18036",
"name": "KLAY-KUSDT LP",
"spellType": "KlayswapSpell",
"tokens": [
"0x0000000000000000000000000000000000000000",
"0xceE8FAF64bB97a73bb51E115Aa89C17FfA8dD167"
],
"totalSupply": 17591935.21060673,
"reservesUint": [
"36642747600996068945096459",
"38264470096171"
],
"tradingFee7dAPR": 0,
"farmRewardAPR": 15.489437769737814
},
{
"lpAddress": "0x27F80731dDdb90C51cD934E9BD54bfF2D4E99e8a",
"name": "KLAY-KETH LP",
"spellType": "KlayswapSpell",
"tokens": [
"0x0000000000000000000000000000000000000000",
"0x34d21b1e550D73cee41151c77F3c73359527a396"
],
"totalSupply": 7900207.043247421,
"reservesUint": [
"14093457936753986901192907",
"4642823701388243301541"
],
"tradingFee7dAPR": 0,
"farmRewardAPR": 16.21677604774254
}
],
"updatedAt": {
"price": 1649752310893,
"lendingBlock": 87772922,
"kiteBlock": 87772922
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment