Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/burgerswap-org/burgerswap-core
https://github.com/burgerswap-org/burgerswap-core
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/burgerswap-org/burgerswap-core
- Owner: burgerswap-org
- License: gpl-3.0
- Created: 2020-09-09T15:08:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-16T02:30:06.000Z (over 1 year ago)
- Last Synced: 2024-08-03T23:02:35.369Z (4 months ago)
- Language: Solidity
- Size: 607 KB
- Stars: 73
- Watchers: 9
- Forks: 39
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- DeFi-Map - github
README
# Local Development
The following assumes the use of `node@>=10`.
## Install Dependencies
`yarn`
## Compile Contracts
`yarn compile`
## Run Tests
`yarn test`
## Contract addresses
### Main Chain
```
BurgerMainToken 0x2a4A071BCe925D210797c6FB0BC7bd08a80Cb9c2
Dgas 0x5ffe4d18863441181B95cf57799cbeee01b1c14d
DemaxConfig 0x1a9bf813c3D03B8f591DD4658c42C321a074a731
DemaxPlatform 0x07c484abd8f885252C80510aAa1d4807733CFD17
DemaxTransferListener 0x7dF3FBE4488B4f6F12E22858D8D9444B200759fF
DemaxGovernance 0xa81241A89EB5c14bAcFf21C65f38DB08CC05ca93
DemaxBallotFactory 0xC66EEeAAb12b12012Ea59BaE0f88bf6eb6005eB7
DemaxFactory 0xb3d9B9C8B30a73Cb602513278b7369E1919C531d
DemaxQuery 0x09E67978A9F404a95c2773Cf955e8dE14436bc9cTokenQuery 0xd91dDB1818232eB9230A59B394dc3f5e4D0d0BAd
WETH9 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
USDT 0xdAC17F958D2ee523a2206206994597C13D831ec7
```### BSC Chain v1
```
Dgas 0xAe9269f27437f0fcBC232d39Ec814844a51d6b8f
DemaxConfig 0xE7F6824706aEee33542088eb2fdd2D69e37455B6
DemaxPlatform 0x75Ca8F6c82df5FdFd09049f46AD5d072b0a53BF6
DemaxTransferListener 0xF45DdD55FDe8db85B5000cfF94cD912F61138D70
DemaxGovernance 0x9154c2684aeF8d106babcB19Aa81d4FabF7581ec
DemaxBallotFactory 0xA7545C64D65a6E329e0ED3c9c9CfB99B5DeA07FF
DemaxFactory 0xa4790135Ba4439cdb2eFB35fe191dC83d3D627F6
DemaxQuery 0xa6F21AaAdA32CA46c876D915FDEb98d9c35A122a
WETH9 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
USDT 0x55d398326f99059fF775485246999027B3197955
BBTC 0x0C177Bccab0454aF11c6C02E08A6bebE9cd07710```
### BSC Chain v2
```
DgasHub 0x54a1Ca2ED74F0ac04E21E2154022b330104F2E7A
Dgas 0xAe9269f27437f0fcBC232d39Ec814844a51d6b8f
DemaxConfig 0xE7F6824706aEee33542088eb2fdd2D69e37455B6
DemaxPlatform 0xBf6527834dBB89cdC97A79FCD62E6c08B19F8ec0, 0x42591f57f707739b95C5C486c014B525f19d70ca,0x789c11212EaCA5312d4aa6d63148613e658CcFAd, 0xB099D7dbC415bf5491B0ca6fdCcFddF8b7EDCE12
DemaxTransferListener 0x93435503fdeBC171f05e60C882FFba5F332cF05E, 0x3BecD05231bBBa6F7AdDa92F3c79fb3AA96d943b
DemaxGovernance 0x9154c2684aeF8d106babcB19Aa81d4FabF7581ec
DemaxBallotFactory 0xA7545C64D65a6E329e0ED3c9c9CfB99B5DeA07FF, 0x29d5aC18A4C315aF2E8c8325a2748e590Ab00a68
DemaxFactory 0x8a1E9d3aEbBBd5bA2A64d3355A48dD5E9b511256
DemaxQuery 0x4D584e02E135A9145a1e1b3a50F487B59cCcF045, 0xc2969239da155C96047D276A2D0e28Cc55892BBe
DemaxPool 0x86A327715d707BCa24983b1145D1F6c40C5d4A74
DemaxDelegateBeta 0xd1c39d8ed2E2E0fd52A7FaBfCD6b560153D49651
DemaxDelegateAlpha 0xd0dd735851C1Ca61d0324291cCD3959d2153A88d
DemaxQuery2Beta 0xE5c13951F51e8C616fF3e7c815042533D527D255
DemaxQuery2Alpha 0x29863F5af663bbdF6732A5DF3d58dA002Ea43272
DemaxDelegate 0x3dE79b6fF181AA60bd1Cd7d2C6ea8a6099A35E60
DemaxQuery2 0x2c7fC9cCF3D03d99007DB5977dD5926e8E32e022, 0x59138b0B399edF74B8d296B8A52FE0cC18623fDDDemaxProjectConfig 0xCB519729D866eb3D4142169985Fde407EA757057
DemaxProjectDeploy 0x5Bb57735352165cEaBCB50dc9b11DB5341E5C7b5
DemaxProjectQuery 0x1a64489D69FB4C6638eae6Cb5D898296F8Db19cEDemaxQueryPairWeigth 0x19A8cb7498c40dc36FD65e600ad4a67c1F9BF920
DemaxQueryPair 0x5bd05ffBcdCa245aD7A26327Dae7D12455F63093XBurger 0xAFE24E29Da7E9b3e8a25c9478376B6AD6AD788dD
DemaxShackChef 0x03253A7b8B5e868542ddbDdC86bb068C62A8faB7IFOQuery 0x136Efc39B6ba21143E408fe318efe0F872Ffbae4
DemaxTrigger 0xEF72ebbA2602De655Ad05aE67F7E15CcdD119031
WETH9 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
USDT 0x55d398326f99059fF775485246999027B3197955
BBTC 0x0C177Bccab0454aF11c6C02E08A6bebE9cd07710
Fake USDT 0xA9a6c929A2b6E538FE1d2151AD76f751DCB312Ae, 0xBbECa1d3DE03Da93C4e028A770772495d289945fTokenQuery 0xe85ED3322373F1dC720B7dCCDBECFcEb871364e0
TokenQuery(other) 0xb78D2b02dC344120eF7e1f0517aCe259125C8031DemaxTransferListener History
0x43BfE4438dC0EbfdE7aF5dAF51a62c6ADE30256A
0x675E283077b6686fc1d0D1fC28ff5Fde16688152
0xF45DdD55FDe8db85B5000cfF94cD912F61138D70
0x93435503fdeBC171f05e60C882FFba5F332cF05E
0x3BecD05231bBBa6F7AdDa92F3c79fb3AA96d943bERC20Factory 0x6292c755Af42512c5901524E42c8666ef60A4a08
```### Ropsten Chain
```
Dgas 0x33cEA1E091De4483feBF6e7d6beF097a66EFfcdA
DemaxConfig 0x82AA6A57f83180d8b086E804663A8667259eaC40
DemaxPlatform 0x197AD5aD546086267A2D7304B6Ee5C82Ef249636
DemaxTransferListener 0xE52E6E526d36c1fB0443b1F5C46a0Cb9F5e6796B
DemaxGovernance 0x8D3E38A5976255E064525A68834d7621D767De90
DemaxBallotFactory 0x328352FAd15a2E7CB7bf3fc20d9A304B62AeDfd1
DemaxFactory 0xa4790135Ba4439cdb2eFB35fe191dC83d3D627F6
DemaxQuery 0x212a432e34C0C867c526905690a5Af778fe5c211WETH9 0xb603cea165119701b58d56d10d2060fbfb3efad8
USDT 0x719cDcB5F81b06a6c8ED87e64eF0BDa257c922f7
```
### Kovan Chain
```
Dgas 0x2828De56f364f460627485B4D1b0B0cEcF55fa74
DemaxConfig 0xB4191C5b2815D907fd748c652446C34EC8998909
DemaxPlatform 0x062BA20eD36833aB549E238bA538de3e32C7fDA8
DemaxTransferListener 0xB472FddD75Ce35ee457D7Bbf88020647387A727b
DemaxGovernance 0x0411c04987de2dCE385b1bDA5555412cDDCf0723
DemaxBallotFactory 0xC24d8feaa20F083d3A6b680244561AbEb3231366
DemaxFactory 0xBce7D74859D73f9F9b40851cEf29f7AB82658dd9
DemaxQuery 0x2bBdd25389eA566D3b0916A2C104C941d72F6D72TokenQuery 0x0aAE6E28Fab4A923f19C015517EAcEd0966CaF61
ERC20Factory 0xE815639DF607bb567b2f36FDf561A0455bd8ee3BWETH9 0x67fe5bE3f16c01fd5C5eb3DdCC08f1dAefac40a5
USDT 0x01904b5ee633b15F252879c9C0756416aDee7F03, 0xD5FAdFe4b86E06b57f93D57dB5933B90b07648AFBNB 0x97cF17393390ae8c9B99D1e2e7543f6c16d77690, 0xc0D2c91e0B6A46235A0649C2314164Ec848Da704
T1 0x975d0028f23F44ECEDd75C34Deb7371599A2D734
T2 0x055b5A8dBce4af0d39a2C50DD55992E5A51fDaB1
T3 0xD39e9e2e4D95C39Bd03F413B82BD7D4248f6406C
```
["0x2828De56f364f460627485B4D1b0B0cEcF55fa74","0x67fe5bE3f16c01fd5C5eb3DdCC08f1dAefac40a5","0x01904b5ee633b15F252879c9C0756416aDee7F03"]
### BSC-Test Chain
```
DgasHub 0xC2eBD377D36Ef35E83A2528486A45A40Dc65acE0
weth address 0x7FcCaDD3e6A3F80e194CaDf13FeDF36B9BBbe98F
platform address 0xc0E19d4f981a3cE78428b395052Ab09EEC063481, 0x075ECEA56A9C5313E8b78D8115Df1C8943A549b7, 0x75Be6D27d1007E26Ee8696eDF6f83C96b500D0aC
dgas address 0x06bF890dfF5b422c35c9683f47d2d7663f6E1c24
usdt address 0x8FB6a96E1A3CB6ABFd3714d49d4040cEC9bb34fC
governance address 0xeD2eA4283a673252A7cd3A3a8C88702140947909
config address 0xa09f3f6aD50A6069cfBda310520353132a128031
ballotFactory address 0x3e4a0DED01912C42D22f8eCf0634ca479cd8F221
transfer listener address 0x6Cb0205BeD6133bcb9531c475D6E01f6CF0e2cd4
demax factory address 0xb43Bf0457563f54d104fc2711094DFF7AAC1Abe4
demax query address 0x2940a00E5a56271aB0c2898eC41362DE3ebB2b0A, 0x9C0931EFe04740DF65dDC75bc5e2e08b8e1d60B9
pool address 0xB913E531A255091edcc1c454D0f141B553918158TokenQuery 0x4821d7846FE9b1b13BF4969C20b6188F9B3B30a3
DemaxQueryPairWeigth 0xbc34DEC637a1b0585d0c089041De592EbbF1072E
DemaxQueryPair 0xd6a22DC441bC6F1242C9a48dA0F2334980a36871DemaxDelegate_beta 0x3854d78b47B487Fd5b3867739aD38F093EEa5720
query2_beta 0xf6F4e404e5cE9FaB416dB93A3f93453732849951
query2_alpha 0x841844c83D612f7F3aAA9bB07eB1Fce6582965E2
DemaxDelegate_alpha 0x3637Ef96D13b6fbA4fa097e7C491206eBA5E7187
DemaxDelegate 0xc73Ad485bF29EC7dC36A60A1980BE4C946167D97
query2 0x12b0821ec33898B0b4D6A4D656a751c689d0E240, 0x8a1E9d3aEbBBd5bA2A64d3355A48dD5E9b511256DemaxProjectConfig 0x780Ee65a425b1C79f18D0a8728f4C6687cd47230
DemaxProjectDeploy 0xB2632a763d7E32FC895f1852D5B039199071ED60
DemaxProjectQuery 0xF63cF3523c03617Dffa993c2b9d5422e1c0042d9DemaxTrigger 0x20D63c8699f9B63AE952D0b2f804f95149db740E
ERC20Factory 0xcA23d4b682618aC2374d6818F30ae4515FB5FF76
tokenA address 0x2B67896f2dEB913Ec10c0bdDBE662bc2D1D3f6d2
USDT18 0xF2ED382e6A3439Be124813842200cf6702fD6ecA
BUSD 0x83B379Ecb67A527cBdA54876077DF70D8c084900TT 0xd6e09B5DE6eceDFACD9Be91A70270C65A8f69CB1
ETH 0x0000000000000000000000000000000000000000
```["0x1ABb64B03cc760158e624C003B505B73700F70ad","0x9597E38a57c244094780548d9ef17b3953d8d653","0x2BeD5CdE64EF8F98c60B13896754705171c4A6Ca"]
[400,100,200]
["0x9C65AB58d8d978DB963e63f2bfB7121627e3a739","0xAEE4164c1ee46ed0bbC34790f1a3d1Fc87796668","0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c","0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c","0x2170Ed0880ac9A755fd29B2688956BD959F933F8","0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56","0x55d398326f99059fF775485246999027B3197955"]
["0x9C65AB58d8d978DB963e63f2bfB7121627e3a739","0x9C65AB58d8d978DB963e63f2bfB7121627e3a739","0x9C65AB58d8d978DB963e63f2bfB7121627e3a739","0x9C65AB58d8d978DB963e63f2bfB7121627e3a739","0x9C65AB58d8d978DB963e63f2bfB7121627e3a739","0x9C65AB58d8d978DB963e63f2bfB7121627e3a739"]* 0 => MDX (0x9C65AB58d8d978DB963e63f2bfB7121627e3a739)
* 1 => HMDX (0xAEE4164c1ee46ed0bbC34790f1a3d1Fc87796668)
* 2 => WBNB (0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c)
* 3 => BTCB (0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c)
* 4 => ETH (0x2170Ed0880ac9A755fd29B2688956BD959F933F8)
* 5 => DOT (0x7083609fCE4d1d8Dc0C979AAb8c869Ea2C873402), Closed
* 6 => BUSD (0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56)
* 7 => USDT (0x55d398326f99059fF775485246999027B3197955)[ getProductivity method Response ]
uint256 : 32284104047802774796500
uint256 : 43988126499188765765700### Heco-Test Chain
```
weth address 0x8F8da91c632be57C62D60A27f4ed07025Dfb9580
platform address 0x0D1a690D07B6Ac6764506815268bF5971634fc16
dgas address 0x5bf0967dC4121E41F77e852d918C3BFc1e8A3C1b
usdt address 0x93A35F691BbC07165063B9179FfB68812F43407B
governance address 0xd330e040894b2D5e0Be76286C55c7B9BbDC2e57b
config address 0x8060BC08Dc4EB1d8DB2b14CE71B0663Ace8C43cc
ballotFactory address 0x5182A186AB8af04c864A57e336A1F8a0e21081d0
transfer listener address 0x022bcB66F1168ca9FFcecCb96292dEc5ac46Cc73
demax factory address 0x0586d313075a69228DA2e19C8090F9f362e220e8
demax pool address 0x7EFab8A082E5D8a3445ba6a787EeFa34549CF6Aa
demax query address0x4a2B1025bc55c6139C510e06BED87fE78312A37E
tokenA address 0xE1ac960C40cA95dD955dba0c15e13FC5ecF4A968
```### Kovan3 L2
```
current endpoint https://kovan3.arbitrum.io/rpc
wallet 0xEcF600B841D0734F301B8Cc7e6e3c93772638851
weth address 0xc56F17386B2c8EF0D58c64A39BAd24001e2D35B9
platform address 0x7F120Dd7EFFbD8E43472F9d5c0EBDecdE36E7AAF
dgas address 0xA0511959FC004BBCC62b193126393ddED1564AaA
usdt address 0x8B96AF41622236251Ba7eB514e8519f3509928E6
governance address 0x6642cb586814E4eE1cfc04119679e4d942bc6779
config address 0x813415eb22bBc4b6eC0EA765B4d347733727D074
ballotFactory address 0x656C16651A257E964fC6eBb7068950993039F5C5
transfer listener address 0xa697a52B14b6f76236576DD5Cba40b7B61606417
demax factory address 0x33886386dB7bC74f32FF126ABf42549E3b04873e
demax pool address 0xefd655255C8fDA2aCfa07b95cC2d9289aD3f10E8
demax query address 0x63646aAB174FdC63C95D93AcE0959d6685868A0c
tokenA address 0xcA15CdcBA25207434Ba40dDE70F430EEa055568C
```