Merge branch 'develop' into orenku/fix-mac-scroll

This commit is contained in:
Oren Kedem committed 2021-06-22 14:56:11 +03:00
commit c6128ffc96
150 files changed
+86191 -5553

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/Client" # Location of package manifests
schedule:
interval: "daily"
+60 -8
View File
@@ -32,7 +32,8 @@
} catch (e) { console.error('CJ protection', e) }
try {
loadSuperalgos();
drawSplashText()
loadSuperalgos()
} catch (err) {
console.log("[ERROR] UI can not be started. Please check that WebServer is running.", err);
}
@@ -48,21 +49,72 @@
console.log('Error Resizing. ' + err.stack)
}
}
function drawSplashText() {
const splashTextArray = [
{
"splashTextLine1Html": 'Superalgos is <span class="credits-red">open source</span>, <span class="credits-red">forever free</span> for <span class="credits-red">everyone</span>, and is <spanclass="credits-red">constantly improving</span> thanks to the involvement of contributors:'
,
"splashTextLine2Html": 'Luis Fernando Molina, Julian Molina, Andreja Cobeljic, Ira Miller, matbenitez, bearcanrun, nikolabjelo, 9808us, pmmax, suttridge, Basalt09, Mhnramin, 0xperez, infin1t3, benitezme, whtv, cozed-gh, Eduardo678-dotcom, Smidy13, teehanming, 64bittuning, joenij, apronotti, Noeljarillo, ssplatt, rico4dev, DougJCook, mane, Cordo-van-Saviour, CarnivalBen, Sil3ntLight, pisukesoramame, Edodi, harrellbm, CaptainJeff, Jeff Braun, Francisco J. Santillán, Norman, Viktoria B., Guillermo V., Daniel J., Javier A., Gustavo J., Romina GS, Pedro P., Thais M., Andrey M., Loui M., Natalia, M., Bashar A., Carlos V., Diego M., Sebastian E., Bogdan P., Marko V., Igor S., Niksa K., Rodrigo M., Nicanor M., Mateo H., Lan T., Leon A., Uroš R., Filip M., Vladimir J. and Pavle B.'
,
"splashTextLine3Html": 'Please, <span class="credits-red">give a star to the Superalgos repo at GitHub.com...</span> It helps other devs find the project!'
},
{
"splashTextLine1Html": 'Superalgos is a Community of <span class="credits-red">Algo-Traders</span>, sharing knoleadge, experience and tools between each other.'
,
"splashTextLine2Html": 'The Superalgos Community is capable of collective bargaining with Crypto Exchanges to get better trading fees for all members.'
,
"splashTextLine3Html": 'Become part of the <span class="credits-red">Superalgos Community</span> by making a small contribution to the open source project!'
},
{
"splashTextLine1Html": 'Superalgos is built on <span class="credits-red">Core Values</span> that we are never going to change.'
,
"splashTextLine2Html": 'Superalgos software <span class="credits-red">does not include Ads</span> of any kind, and it will never do it. Superalgos software <span class="credits-red">does not collect user information</span> of any kind, and it will never do it. Superalgos software <span class="credits-red">is Free of Charge</span> for all community members, and it will allways be. We value <span class="credits-red">Education</span> that is why we build into the software educational tools and content.'
,
"splashTextLine3Html": 'We build this together and it belongs to us. Become part of the <span class="credits-red">Superalgos Community</span> by making a small contribution to the open source project!'
},
{
"splashTextLine1Html": 'Superalgos is <span class="credits-red">Permissionless</span>. Don\'t like the UI? Don\'t like the icons used? Don\'t like the Charting System? Don\'t like the Visual Designer? Don\'t like the Visual Debugger? Don\'t like the Docs? Don\'t like the Trading Bot? Don\'t like the Indicators? Don\'t like the Plotters? Don\'t like any other part of the system?'
,
"splashTextLine2Html": 'No problem, code or integrate libraries with your own version of any component and we promise we will merge your work and provide it as an alternative to users. We believe in <span class="credits-red">Permissionless Innovation</span> and that users, not team members, are the final judges and the ones who decide what they prefer to use. You are free to create an alternative for any part of the system that you believe that should work or should have been done in a different way. We will help you integrate your vision into the next release and enable a way for users to choose between different implementations of the same functionality. You will also be granted the title of maintainer of the functionality you provide and have decision power on how it evolves in the future.'
,
"splashTextLine3Html": 'We are strong belieavers in <span class="credits-red">Permissionless Innovation</span>. You don\'t need to ask for permission to become one of us. Make a small contribution to the open source project and you will become a member of the <span class="credits-red">Superalgos Community</span>'
},
{
"splashTextLine1Html": 'Would you like to join the <span class="credits-red">Superalgos\'s Developer Team</span>?.'
,
"splashTextLine2Html": 'Just look around, find something that is missing and start coding it. If you need help ask at the chat groups. If the feature you want to add is big or difficult to integrate, look for a mentor to help you out.'
,
"splashTextLine3Html": 'If Bitcoin\'s motto is <span class="credits-red">Don\'t trust. Verify.</span>, ours is: <span class="credits-red">Just code it.</span>'
}
]
let arrayIndex = Math.trunc(Math.random() * splashTextArray.length)
let splashTextElement
splashTextElement = document.getElementById('splash-text-line-1')
splashTextElement.innerHTML = splashTextArray[arrayIndex].splashTextLine1Html
splashTextElement = document.getElementById('splash-text-line-2')
splashTextElement.innerHTML = splashTextArray[arrayIndex].splashTextLine2Html
splashTextElement = document.getElementById('splash-text-line-3')
splashTextElement.innerHTML = splashTextArray[arrayIndex].splashTextLine3Html
}
</script>
</head>
<body id="body" onload="loadCanvas()"
style="overflow:hidden; background: url(Images/superalgos-platform.jpg); background-size: cover;"
onresize="onResize()">
<div id="contributors" class="credits">
<p style="font-size: 120%;">Superalgos is <span class="credits-red">open source</span>, <span class="credits-red">forever free</span> for <span class="credits-red">everyone</span>, and is <span class="credits-red">constantly improving</span> thanks to the involvement of contributors:</p>
<p style="font-size: 100%;">Luis Fernando Molina, Julian Molina, Andreja Cobeljic, Ira Miller, matbenitez, bearcanrun, nikolabjelo, 9808us, pmmax, suttridge, Basalt09, Mhnramin, 0xperez, infin1t3, benitezme, whtv, cozed-gh, Eduardo678-dotcom, Smidy13, teehanming, 64bittuning, joenij, apronotti, Noeljarillo, ssplatt, rico4dev, DougJCook, mane, Cordo-van-Saviour, CarnivalBen, Sil3ntLight, pisukesoramame, Edodi, harrellbm, CaptainJeff, Jeff Braun, Francisco J. Santillán, Norman, Viktoria B., Guillermo V., Daniel J., Javier A., Gustavo J., Romina GS, Pedro P., Thais M., Andrey M., Loui M., Natalia M., Bashar A., Carlos V., Diego M., Sebastian E., Bogdan P., Marko V., Igor S., Niksa K., Rodrigo M., Nicanor M., Mateo H., Lan T., Leon A., Uroš R., Filip M., Vladimir J. and Pavle B.</p>
<p style="font-size: 120%;">Please, <span class="credits-red">give a star to the Superalgos repo at GitHub.com...</span> It helps other devs find the project!</p>
<p id="credits-page-status-paragraph" class="credits-yellow">The UI is loading...</p>
<div id="splash-text" class="credits">
<p id="splash-text-line-1" style="font-size: 120%;"></p>
<p id="splash-text-line-2" style="font-size: 120%;"></p>
<p id="splash-text-line-3" style="font-size: 120%;"></p>
<p id="splash-text-status-paragraph" class="credits-yellow">The UI is loading...</p>
</div>
<div id="masterApp"></div>
<div id="canvasApp"></div>
<div id="docs-space-div" class="docs-page" style="position:fixed; top:100000px; left:100000px"><div id="docs-content-div"></div></div>
<div id="docs-space-div" class="docs-page" style="position:fixed; top:100000px; left:100000px">
<div id="docs-content-div"></div>
</div>
<div id="chatApp" style="position:fixed; top:100000px; left:100000px">
<iframe id="chatIFrame" style="border:none; " height="2000" width="900"></iframe>
</div>
@@ -196,4 +248,4 @@
</body>
</html>
</html>
+19
View File
@@ -132,6 +132,25 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
respondWithContent(JSON.stringify(serverResponse), httpResponse)
return
}
case 'signData': {
let serverResponse = await WEB3_SERVER.signData(
params.privateKey,
params.data
)
respondWithContent(JSON.stringify(serverResponse), httpResponse)
return
}
case 'recoverAddress': {
let serverResponse = await WEB3_SERVER.recoverAddress(
params.signature
)
respondWithContent(JSON.stringify(serverResponse), httpResponse)
return
}
default: {
respondWithContent(JSON.stringify({ error: 'Method ' + params.method + ' is invalid.' }), httpResponse)
}
+312 -97
View File
@@ -1,5 +1,5 @@
{
"name": "Client",
"name": "client",
"version": "0.0.6",
"lockfileVersion": 1,
"requires": true,
@@ -20,30 +20,109 @@
"@ethersproject/strings": ">=5.0.0-beta.130"
}
},
"@ethersproject/abstract-provider": {
"version": "5.0.5",
"resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.0.5.tgz",
"integrity": "sha512-i/CjElAkzV7vQBAeoz+IpjGfcFYEP9eD7j3fzZ0fzTq03DO7PPnR+xkEZ1IoDXGwDS+55aLM1xvLDwB/Lx6IOQ==",
"requires": {
"@ethersproject/bignumber": "^5.0.7",
"@ethersproject/bytes": "^5.0.4",
"@ethersproject/logger": "^5.0.5",
"@ethersproject/networks": "^5.0.3",
"@ethersproject/properties": "^5.0.3",
"@ethersproject/transactions": "^5.0.5",
"@ethersproject/web": "^5.0.6"
}
},
"@ethersproject/abstract-signer": {
"version": "5.0.7",
"resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.0.7.tgz",
"integrity": "sha512-8W8gy/QutEL60EoMEpvxZ8MFAEWs/JvH5nmZ6xeLXoZvmBCasGmxqHdYjo2cxg0nevkPkq9SeenSsBBZSCx+SQ==",
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.3.0.tgz",
"integrity": "sha512-w8IFwOYqiPrtvosPuArZ3+QPR2nmdVTRrVY8uJYL3NNfMmQfTy3V3l2wbzX47UUlNbPJY+gKvzJAyvK1onZxJg==",
"requires": {
"@ethersproject/abstract-provider": "^5.0.4",
"@ethersproject/bignumber": "^5.0.7",
"@ethersproject/bytes": "^5.0.4",
"@ethersproject/logger": "^5.0.5",
"@ethersproject/properties": "^5.0.3"
"@ethersproject/abstract-provider": "^5.3.0",
"@ethersproject/bignumber": "^5.3.0",
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/logger": "^5.3.0",
"@ethersproject/properties": "^5.3.0"
},
"dependencies": {
"@ethersproject/abstract-provider": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.3.0.tgz",
"integrity": "sha512-1+MLhGP1GwxBDBNwMWVmhCsvKwh4gK7oIfOrmlmePNeskg1NhIrYssraJBieaFNHUYfKEd/1DjiVZMw8Qu5Cxw==",
"requires": {
"@ethersproject/bignumber": "^5.3.0",
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/logger": "^5.3.0",
"@ethersproject/networks": "^5.3.0",
"@ethersproject/properties": "^5.3.0",
"@ethersproject/transactions": "^5.3.0",
"@ethersproject/web": "^5.3.0"
}
},
"@ethersproject/base64": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.3.0.tgz",
"integrity": "sha512-JIqgtOmgKcbc2sjGWTXyXktqUhvFUDte8fPVsAaOrcPiJf6YotNF+nsrOYGC9pbHBEGSuSBp3QR0varkO8JHEw==",
"requires": {
"@ethersproject/bytes": "^5.3.0"
}
},
"@ethersproject/bignumber": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.3.0.tgz",
"integrity": "sha512-5xguJ+Q1/zRMgHgDCaqAexx/8DwDVLRemw2i6uR8KyGjwGdXI8f32QZZ1cKGucBN6ekJvpUpHy6XAuQnTv0mPA==",
"requires": {
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/logger": "^5.3.0",
"bn.js": "^4.11.9"
}
},
"@ethersproject/bytes": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.3.0.tgz",
"integrity": "sha512-rqLJjdVqCcn7glPer7Fxh87PRqlnRScVAoxcIP3PmOUNApMWJ6yRdOFfo2KvPAdO7Le3yEI1o0YW+Yvr7XCYvw==",
"requires": {
"@ethersproject/logger": "^5.3.0"
}
},
"@ethersproject/constants": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.3.0.tgz",
"integrity": "sha512-4y1feNOwEpgjAfiCFWOHznvv6qUF/H6uI0UKp8xdhftb+H+FbKflXg1pOgH5qs4Sr7EYBL+zPyPb+YD5g1aEyw==",
"requires": {
"@ethersproject/bignumber": "^5.3.0"
}
},
"@ethersproject/logger": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.3.0.tgz",
"integrity": "sha512-8bwJ2gxJGkZZnpQSq5uSiZSJjyVTWmlGft4oH8vxHdvO1Asy4TwVepAhPgxIQIMxXZFUNMych1YjIV4oQ4I7dA=="
},
"@ethersproject/networks": {
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.3.1.tgz",
"integrity": "sha512-6uQKHkYChlsfeiZhQ8IHIqGE/sQsf25o9ZxAYpMxi15dLPzz3IxOEF5KiSD32aHwsjXVBKBSlo+teAXLlYJybw==",
"requires": {
"@ethersproject/logger": "^5.3.0"
}
},
"@ethersproject/properties": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.3.0.tgz",
"integrity": "sha512-PaHxJyM5/bfusk6vr3yP//JMnm4UEojpzuWGTmtL5X4uNhNnFNvlYilZLyDr4I9cTkIbipCMsAuIcXWsmdRnEw==",
"requires": {
"@ethersproject/logger": "^5.3.0"
}
},
"@ethersproject/strings": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.3.0.tgz",
"integrity": "sha512-j/AzIGZ503cvhuF2ldRSjB0BrKzpsBMtCieDtn4TYMMZMQ9zScJn9wLzTQl/bRNvJbBE6TOspK0r8/Ngae/f2Q==",
"requires": {
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/constants": "^5.3.0",
"@ethersproject/logger": "^5.3.0"
}
},
"@ethersproject/web": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.3.0.tgz",
"integrity": "sha512-Ni6/DHnY6k/TD41LEkv0RQDx4jqWz5e/RZvrSecsxGYycF+MFy2z++T/yGc2peRunLOTIFwEksgEGGlbwfYmhQ==",
"requires": {
"@ethersproject/base64": "^5.3.0",
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/logger": "^5.3.0",
"@ethersproject/properties": "^5.3.0",
"@ethersproject/strings": "^5.3.0"
}
}
}
},
"@ethersproject/address": {
@@ -59,14 +138,6 @@
"bn.js": "^4.4.0"
}
},
"@ethersproject/base64": {
"version": "5.0.4",
"resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.0.4.tgz",
"integrity": "sha512-4KRykQ7BQMeOXfvio1YITwHjxwBzh92UoXIdzxDE1p53CK28bbHPdsPNYo0wl0El7lJAMpT2SOdL0hhbWRnyIA==",
"requires": {
"@ethersproject/bytes": "^5.0.4"
}
},
"@ethersproject/bignumber": {
"version": "5.0.8",
"resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.0.8.tgz",
@@ -94,18 +165,104 @@
}
},
"@ethersproject/hash": {
"version": "5.0.6",
"resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.0.6.tgz",
"integrity": "sha512-Gvh57v6BWhwnud6l7tMfQm32PRQ2DYx2WaAAQmAxAfYvmzUkpQCBstnGeNMXIL8/2wdkvcB2u+WZRWaZtsFuUQ==",
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.3.0.tgz",
"integrity": "sha512-gAFZSjUPQ32CIfoKSMtMEQ+IO0kQxqhwz9fCIFt2DtAq2u4pWt8mL9Z5P0r6KkLcQU8LE9FmuPPyd+JvBzmr1w==",
"requires": {
"@ethersproject/abstract-signer": "^5.0.6",
"@ethersproject/address": "^5.0.5",
"@ethersproject/bignumber": "^5.0.8",
"@ethersproject/bytes": "^5.0.4",
"@ethersproject/keccak256": "^5.0.3",
"@ethersproject/logger": "^5.0.5",
"@ethersproject/properties": "^5.0.4",
"@ethersproject/strings": "^5.0.4"
"@ethersproject/abstract-signer": "^5.3.0",
"@ethersproject/address": "^5.3.0",
"@ethersproject/bignumber": "^5.3.0",
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/keccak256": "^5.3.0",
"@ethersproject/logger": "^5.3.0",
"@ethersproject/properties": "^5.3.0",
"@ethersproject/strings": "^5.3.0"
},
"dependencies": {
"@ethersproject/address": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.3.0.tgz",
"integrity": "sha512-29TgjzEBK+gUEUAOfWCG7s9IxLNLCqvr+oDSk6L9TXD0VLvZJKhJV479tKQqheVA81OeGxfpdxYtUVH8hqlCvA==",
"requires": {
"@ethersproject/bignumber": "^5.3.0",
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/keccak256": "^5.3.0",
"@ethersproject/logger": "^5.3.0",
"@ethersproject/rlp": "^5.3.0"
}
},
"@ethersproject/bignumber": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.3.0.tgz",
"integrity": "sha512-5xguJ+Q1/zRMgHgDCaqAexx/8DwDVLRemw2i6uR8KyGjwGdXI8f32QZZ1cKGucBN6ekJvpUpHy6XAuQnTv0mPA==",
"requires": {
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/logger": "^5.3.0",
"bn.js": "^4.11.9"
}
},
"@ethersproject/bytes": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.3.0.tgz",
"integrity": "sha512-rqLJjdVqCcn7glPer7Fxh87PRqlnRScVAoxcIP3PmOUNApMWJ6yRdOFfo2KvPAdO7Le3yEI1o0YW+Yvr7XCYvw==",
"requires": {
"@ethersproject/logger": "^5.3.0"
}
},
"@ethersproject/constants": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.3.0.tgz",
"integrity": "sha512-4y1feNOwEpgjAfiCFWOHznvv6qUF/H6uI0UKp8xdhftb+H+FbKflXg1pOgH5qs4Sr7EYBL+zPyPb+YD5g1aEyw==",
"requires": {
"@ethersproject/bignumber": "^5.3.0"
}
},
"@ethersproject/keccak256": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.3.0.tgz",
"integrity": "sha512-Gv2YqgIUmRbYVNIibafT0qGaeGYLIA/EdWHJ7JcVxVSs2vyxafGxOJ5VpSBHWeOIsE6OOaCelYowhuuTicgdFQ==",
"requires": {
"@ethersproject/bytes": "^5.3.0",
"js-sha3": "0.5.7"
}
},
"@ethersproject/logger": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.3.0.tgz",
"integrity": "sha512-8bwJ2gxJGkZZnpQSq5uSiZSJjyVTWmlGft4oH8vxHdvO1Asy4TwVepAhPgxIQIMxXZFUNMych1YjIV4oQ4I7dA=="
},
"@ethersproject/properties": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.3.0.tgz",
"integrity": "sha512-PaHxJyM5/bfusk6vr3yP//JMnm4UEojpzuWGTmtL5X4uNhNnFNvlYilZLyDr4I9cTkIbipCMsAuIcXWsmdRnEw==",
"requires": {
"@ethersproject/logger": "^5.3.0"
}
},
"@ethersproject/rlp": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.3.0.tgz",
"integrity": "sha512-oI0joYpsRanl9guDubaW+1NbcpK0vJ3F/6Wpcanzcnqq+oaW9O5E98liwkEDPcb16BUTLIJ+ZF8GPIHYxJ/5Pw==",
"requires": {
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/logger": "^5.3.0"
}
},
"@ethersproject/strings": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.3.0.tgz",
"integrity": "sha512-j/AzIGZ503cvhuF2ldRSjB0BrKzpsBMtCieDtn4TYMMZMQ9zScJn9wLzTQl/bRNvJbBE6TOspK0r8/Ngae/f2Q==",
"requires": {
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/constants": "^5.3.0",
"@ethersproject/logger": "^5.3.0"
}
},
"js-sha3": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz",
"integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc="
}
}
},
"@ethersproject/keccak256": {
@@ -129,14 +286,6 @@
"resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.0.6.tgz",
"integrity": "sha512-FrX0Vnb3JZ1md/7GIZfmJ06XOAA8r3q9Uqt9O5orr4ZiksnbpXKlyDzQtlZ5Yv18RS8CAUbiKH9vwidJg1BPmQ=="
},
"@ethersproject/networks": {
"version": "5.0.4",
"resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.0.4.tgz",
"integrity": "sha512-/wHDTRms5mpJ09BoDrbNdFWINzONe05wZRgohCXvEv39rrH/Gd/yAnct8wC0RsW3tmFOgjgQxuBvypIxuUynTw==",
"requires": {
"@ethersproject/logger": "^5.0.5"
}
},
"@ethersproject/properties": {
"version": "5.0.4",
"resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.0.4.tgz",
@@ -154,17 +303,6 @@
"@ethersproject/logger": "^5.0.5"
}
},
"@ethersproject/signing-key": {
"version": "5.0.5",
"resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.0.5.tgz",
"integrity": "sha512-Z1wY7JC1HVO4CvQWY2TyTTuAr8xK3bJijZw1a9G92JEmKdv1j255R/0YLBBcFTl2J65LUjtXynNJ2GbArPGi5g==",
"requires": {
"@ethersproject/bytes": "^5.0.4",
"@ethersproject/logger": "^5.0.5",
"@ethersproject/properties": "^5.0.3",
"elliptic": "6.5.3"
}
},
"@ethersproject/strings": {
"version": "5.0.5",
"resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.0.5.tgz",
@@ -176,31 +314,108 @@
}
},
"@ethersproject/transactions": {
"version": "5.0.6",
"resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.0.6.tgz",
"integrity": "sha512-htsFhOD+NMBxx676A8ehSuwVV49iqpSB+CkjPZ02tpNew0K6p8g0CZ46Z1ZP946gIHAU80xQ0NACHYrjIUaCFA==",
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.3.0.tgz",
"integrity": "sha512-cdfK8VVyW2oEBCXhURG0WQ6AICL/r6Gmjh0e4Bvbv6MCn/GBd8FeBH3rtl7ho+AW50csMKeGv3m3K1HSHB2jMQ==",
"requires": {
"@ethersproject/address": "^5.0.4",
"@ethersproject/bignumber": "^5.0.7",
"@ethersproject/bytes": "^5.0.4",
"@ethersproject/constants": "^5.0.4",
"@ethersproject/keccak256": "^5.0.3",
"@ethersproject/logger": "^5.0.5",
"@ethersproject/properties": "^5.0.3",
"@ethersproject/rlp": "^5.0.3",
"@ethersproject/signing-key": "^5.0.4"
}
},
"@ethersproject/web": {
"version": "5.0.9",
"resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.0.9.tgz",
"integrity": "sha512-//QNlv1MSkOII1hv3+HQwWoiVFS+BMVGI0KYeUww4cyrEktnx1QIez5bTSab9s9fWTFaWKNmQNBwMbxAqPuYDw==",
"requires": {
"@ethersproject/base64": "^5.0.3",
"@ethersproject/bytes": "^5.0.4",
"@ethersproject/logger": "^5.0.5",
"@ethersproject/properties": "^5.0.3",
"@ethersproject/strings": "^5.0.4"
"@ethersproject/address": "^5.3.0",
"@ethersproject/bignumber": "^5.3.0",
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/constants": "^5.3.0",
"@ethersproject/keccak256": "^5.3.0",
"@ethersproject/logger": "^5.3.0",
"@ethersproject/properties": "^5.3.0",
"@ethersproject/rlp": "^5.3.0",
"@ethersproject/signing-key": "^5.3.0"
},
"dependencies": {
"@ethersproject/address": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.3.0.tgz",
"integrity": "sha512-29TgjzEBK+gUEUAOfWCG7s9IxLNLCqvr+oDSk6L9TXD0VLvZJKhJV479tKQqheVA81OeGxfpdxYtUVH8hqlCvA==",
"requires": {
"@ethersproject/bignumber": "^5.3.0",
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/keccak256": "^5.3.0",
"@ethersproject/logger": "^5.3.0",
"@ethersproject/rlp": "^5.3.0"
}
},
"@ethersproject/bignumber": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.3.0.tgz",
"integrity": "sha512-5xguJ+Q1/zRMgHgDCaqAexx/8DwDVLRemw2i6uR8KyGjwGdXI8f32QZZ1cKGucBN6ekJvpUpHy6XAuQnTv0mPA==",
"requires": {
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/logger": "^5.3.0",
"bn.js": "^4.11.9"
}
},
"@ethersproject/bytes": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.3.0.tgz",
"integrity": "sha512-rqLJjdVqCcn7glPer7Fxh87PRqlnRScVAoxcIP3PmOUNApMWJ6yRdOFfo2KvPAdO7Le3yEI1o0YW+Yvr7XCYvw==",
"requires": {
"@ethersproject/logger": "^5.3.0"
}
},
"@ethersproject/constants": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.3.0.tgz",
"integrity": "sha512-4y1feNOwEpgjAfiCFWOHznvv6qUF/H6uI0UKp8xdhftb+H+FbKflXg1pOgH5qs4Sr7EYBL+zPyPb+YD5g1aEyw==",
"requires": {
"@ethersproject/bignumber": "^5.3.0"
}
},
"@ethersproject/keccak256": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.3.0.tgz",
"integrity": "sha512-Gv2YqgIUmRbYVNIibafT0qGaeGYLIA/EdWHJ7JcVxVSs2vyxafGxOJ5VpSBHWeOIsE6OOaCelYowhuuTicgdFQ==",
"requires": {
"@ethersproject/bytes": "^5.3.0",
"js-sha3": "0.5.7"
}
},
"@ethersproject/logger": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.3.0.tgz",
"integrity": "sha512-8bwJ2gxJGkZZnpQSq5uSiZSJjyVTWmlGft4oH8vxHdvO1Asy4TwVepAhPgxIQIMxXZFUNMych1YjIV4oQ4I7dA=="
},
"@ethersproject/properties": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.3.0.tgz",
"integrity": "sha512-PaHxJyM5/bfusk6vr3yP//JMnm4UEojpzuWGTmtL5X4uNhNnFNvlYilZLyDr4I9cTkIbipCMsAuIcXWsmdRnEw==",
"requires": {
"@ethersproject/logger": "^5.3.0"
}
},
"@ethersproject/rlp": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.3.0.tgz",
"integrity": "sha512-oI0joYpsRanl9guDubaW+1NbcpK0vJ3F/6Wpcanzcnqq+oaW9O5E98liwkEDPcb16BUTLIJ+ZF8GPIHYxJ/5Pw==",
"requires": {
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/logger": "^5.3.0"
}
},
"@ethersproject/signing-key": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.3.0.tgz",
"integrity": "sha512-+DX/GwHAd0ok1bgedV1cKO0zfK7P/9aEyNoaYiRsGHpCecN7mhLqcdoUiUzE7Uz86LBsxm5ssK0qA1kBB47fbQ==",
"requires": {
"@ethersproject/bytes": "^5.3.0",
"@ethersproject/logger": "^5.3.0",
"@ethersproject/properties": "^5.3.0",
"bn.js": "^4.11.9",
"elliptic": "6.5.4",
"hash.js": "1.1.7"
}
},
"js-sha3": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz",
"integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc="
}
}
},
"@kwsites/file-exists": {
@@ -700,9 +915,9 @@
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
},
"ccxt": {
"version": "1.51.46",
"resolved": "https://registry.npmjs.org/ccxt/-/ccxt-1.51.46.tgz",
"integrity": "sha512-DuAzG5iSCnZOlmN/AensPrETukZ4WHYKaoi8SNCCd0/j8vAtVsRwgGzHv4Am0feDZ9oH8yzGtI1IlEjg7h64LA=="
"version": "1.51.61",
"resolved": "https://registry.npmjs.org/ccxt/-/ccxt-1.51.61.tgz",
"integrity": "sha512-ywz04QrqU4qW07i1mzhlF1yv6p2hs37ndYqYG9R5Fln1FUHXfxiwnCbBK3LOdYeal7fdT8lGUCqL6LCEXgtjcQ=="
},
"child_process": {
"version": "1.0.2",
@@ -983,17 +1198,17 @@
"integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
},
"elliptic": {
"version": "6.5.3",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==",
"version": "6.5.4",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",
"integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==",
"requires": {
"bn.js": "^4.4.0",
"brorand": "^1.0.1",
"bn.js": "^4.11.9",
"brorand": "^1.1.0",
"hash.js": "^1.0.0",
"hmac-drbg": "^1.0.0",
"inherits": "^2.0.1",
"minimalistic-assert": "^1.0.0",
"minimalistic-crypto-utils": "^1.0.0"
"hmac-drbg": "^1.0.1",
"inherits": "^2.0.4",
"minimalistic-assert": "^1.0.1",
"minimalistic-crypto-utils": "^1.0.1"
}
},
"encodeurl": {
+1 -1
View File
@@ -8,7 +8,7 @@
},
"dependencies": {
"@octokit/rest": "^18.0.12",
"ccxt": "^1.23.67",
"ccxt": "^1.51.61",
"child_process": "^1.0.2",
"open": "^6.4.0",
"rimraf": "^3.0.2",
+45 -11
View File
@@ -6,6 +6,8 @@ exports.newWeb3Server = function newWeb3Server() {
getNetworkClientStatus: getNetworkClientStatus,
createWalletAccount: createWalletAccount,
getWalletBalances: getWalletBalances,
signData: signData,
recoverAddress: recoverAddress,
initialize: initialize,
finalize: finalize,
run: run
@@ -56,7 +58,7 @@ exports.newWeb3Server = function newWeb3Server() {
return status
}
} catch (err) {
return { error: 'Could not connect to ' + key + '. ' + err.message + '.' }
return { error: 'Could not connect to ' + key + '. ' + err.stack + '.' }
}
}
@@ -73,7 +75,7 @@ exports.newWeb3Server = function newWeb3Server() {
}
} catch (err) {
return { error: 'Could not create the account. ' + err.message }
return { error: 'Could not create the account. ' + err.stack }
}
}
@@ -116,22 +118,22 @@ exports.newWeb3Server = function newWeb3Server() {
for (let j = 0; j < walletAccount.tokenBalances.length; j++) {
let tokenBalance = walletAccount.tokenBalances[j]
if (tokenBalance.referenceParent === undefined) { continue }
if (tokenBalance.referenceParent.parentNode === undefined) { continue }
if (tokenBalance.referenceParent.smartContracts === undefined) { continue }
if (tokenBalance.referenceParent === undefined) { continue }
if (tokenBalance.referenceParent.parentNode === undefined) { continue }
if (tokenBalance.referenceParent.smartContracts === undefined) { continue }
if (tokenBalance.referenceParent.config.codeName === undefined) {
tokenBalance.error = 'Reference Parent without config.codeName defined.'
continue
}
}
if (tokenBalance.referenceParent.smartContracts.config.address === undefined) {
tokenBalance.error = 'Reference Parent Smart Contract without config.address defined.'
continue
}
}
let tokenContractAddress = tokenBalance.referenceParent.smartContracts.config.address
// The minimum ABI to get ERC20 Token balance
// The minimum ABI to get ERC20 Token balance
let minABI = [
// balanceOf
{
@@ -152,8 +154,8 @@ exports.newWeb3Server = function newWeb3Server() {
];
let contract = new web3.eth.Contract(minABI, tokenContractAddress);
try {
try {
tokenBalance.value = await contract.methods.balanceOf(walletAccount.config.address).call()
} catch (err) {
if (err.message.indexOf('Provided address') >= 0) {
@@ -170,7 +172,7 @@ exports.newWeb3Server = function newWeb3Server() {
return responseData
}
} catch (err) {
return { error: 'Could not connect to ' + key + '. ' + err.message + '.' }
return { error: 'Could not connect to ' + key + '. ' + err.stack + '.' }
}
}
@@ -202,4 +204,36 @@ exports.newWeb3Server = function newWeb3Server() {
}
}
}
async function signData(privateKey, data) {
try {
let web3 = new Web3()
let signature = web3.eth.accounts.sign(data, privateKey)
return {
signature: signature,
result: 'Ok'
}
} catch (err) {
return { error: 'Could not sign the data. ' + err.stack }
}
}
async function recoverAddress(signature) {
try {
let signatureObject = JSON.parse(signature)
let web3 = new Web3()
let address = web3.eth.accounts.recover(signatureObject)
return {
address: address,
result: 'Ok'
}
} catch (err) {
return { error: 'Could not recover address. ' + err.stack }
}
}
}
+69
View File
@@ -0,0 +1,69 @@
const { execSync } = require("child_process");
const os = require("os");
// Minimum versions required
const npmNeededVersion = '5'
const nodeNeededVersion = '12'
const gitNeededVersion = '2'
function systemCheck () {
try {
// Gather Installed Versions of Node, NPM and Git
const npmVersionRaw = execSync( "npm -v",{ encoding: 'utf8', timeout: 30000 })
const nodeVersionRaw = execSync( "node -v",{ encoding: 'utf8',timeout: 30000 })
const gitVersionRaw = execSync( "git --version",{ encoding: 'utf8',timeout: 30000 })
const npmVersion = npmVersionRaw.trim().split('.')
const nodeVersion = nodeVersionRaw.trim().substring(1).split('.')
const gitVersion = gitVersionRaw.trim().split(' ')[2].split('.')
// Make sure update version of npm is installed
if ( npmVersion[0] < npmNeededVersion ) {
console.log('');
console.log("ERROR: the version of npm you have installed is out of date. Please update your installation of npm and try again.");
console.log('');
process.exit();
}
// Make sure update version of node is installed
if ( nodeVersion[0] < nodeNeededVersion ) {
console.log('');
console.log("ERROR: the version of node you have installed is out of date. Please update your installation of node and try again.");
console.log('');
process.exit();
}
// Make sure updated version of git is installed
if ( gitVersion[0] < gitNeededVersion ) {
console.log('');
console.log("ERROR: the version of git you have installed is out of date. Please update your installation of git and try again.");
console.log('');
process.exit();
}
// Check windows system
if (os.platform() == "win32") {
// Verify C:\Windows\System32 is on the windows PATH
const path = execSync( "echo %PATH%",{ encoding: 'utf8',timeout: 30000 })
let check = path.includes('System32')
if ( check === false ) {
console.log('');
console.log("ERROR: it appears C:\\Windows\\System32 is missing from your PATH. Please add to your path and try again.");
console.log('');
process.exit();
}
}
} catch (error) {
console.log('');
console.log("There was an error with your system: ");
console.log('');
console.log( error );
return;
}
};
module.exports = systemCheck
@@ -3,6 +3,7 @@
"menuItems": [
{
"action": "Play Tutorial Step",
"actionProject": "Foundations",
"label": "Play",
"iconPathOn": "play",
"iconPathOff": "play",
@@ -10,6 +11,7 @@
},
{
"action": "Resume Tutorial Step",
"actionProject": "Foundations",
"label": "Resume",
"iconPathOn": "resume",
"iconPathOff": "resume",
@@ -3,6 +3,7 @@
"menuItems": [
{
"action": "Play Tutorial Topic",
"actionProject": "Foundations",
"label": "Play",
"iconPathOn": "play",
"iconPathOff": "play",
@@ -10,6 +11,7 @@
},
{
"action": "Resume Tutorial Topic",
"actionProject": "Foundations",
"label": "Resume",
"iconPathOn": "resume",
"iconPathOff": "resume",
@@ -11,7 +11,7 @@ function newEthereumFunctionLibraryAccounts() {
let params = {
method: 'createWalletAccount',
entropy: walletAccountNode.id
entropy: walletAccountNode.id + (new Date()).valueOf()
}
let url = 'WEB3' // we don't need to ask this to any specific superalgos node.
@@ -0,0 +1,241 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 512.00001 511.99998"
version="1.1"
id="svg36"
sodipodi:docname="okex.svg"
width="512"
height="512"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
inkscape:export-filename="E:\Superalgos\Projects\Foundations\Icons-SVG-Sources\exchanges\okex.png"
inkscape:export-xdpi="100"
inkscape:export-ydpi="100">
<metadata
id="metadata42">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs40" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1017"
id="namedview38"
showgrid="false"
lock-margins="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="0.53036163"
inkscape:cx="-196.62891"
inkscape:cy="370.07333"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg36"
inkscape:document-rotation="0" />
<path
d="M 0,512 V 0"
fill="#dbd9d9"
id="path2"
style="stroke-width:1.2779" />
<path
d="m 228.45498,228.44296 a 115.89518,115.88909 0 0 0 55.12976,0 116.08688,116.08077 0 0 1 85.0077,-85.00322 115.89518,115.88909 0 1 0 -225.15793,0 116.04853,116.04243 0 0 1 85.02047,85.00322 z"
fill="#7abdf7"
id="path4"
style="stroke-width:1.2779" />
<path
d="m 283.58474,283.54426 a 115.89518,115.88909 0 0 0 -55.12976,0 116.08688,116.08077 0 0 1 -85.00769,85.00323 115.89518,115.88909 0 1 0 225.15792,0 116.04853,116.04243 0 0 1 -85.02047,-85.00323 z"
fill="#0d74f5"
id="path6"
style="stroke-width:1.2779" />
<path
d="m 396.15732,140.10452 a 115.76739,115.7613 0 0 0 -27.55211,3.32244 116.02298,116.01687 0 0 1 -84.99491,84.99044 115.89518,115.88909 0 0 0 0,55.12686 116.04853,116.04243 0 0 1 84.99491,85.00323 115.89518,115.88909 0 1 0 27.55211,-228.46852 z"
fill="#4494f7"
id="path8"
style="stroke-width:1.2779" />
<path
d="m 228.45498,283.54426 a 115.89518,115.88909 0 0 0 0,-55.12686 116.04853,116.04243 0 0 1 -85.00769,-84.99044 115.89518,115.88909 0 1 0 0,225.14608 116.06132,116.05521 0 0 1 85.00769,-85.02878 z"
fill="#005cf4"
id="path10"
style="stroke-width:1.2779" />
<path
d="m 283.58474,228.44296 a 116.08688,116.08077 0 0 0 85.0077,-85.00322 116.08688,116.08077 0 0 0 -85.0077,85.00322 z"
fill="#186ef9"
id="path12"
style="stroke-width:1.2779" />
<path
d="m 283.58474,283.54426 a 116.04853,116.04243 0 0 0 85.0077,85.00323 116.08688,116.08077 0 0 0 -85.0077,-85.00323 z"
fill="#0246f2"
id="path14"
style="stroke-width:1.2779" />
<path
d="m 228.45498,228.44296 a 116.08688,116.08077 0 0 0 -85.00769,-85.00322 116.08688,116.08077 0 0 0 85.00769,85.00322 z"
fill="#0046f8"
id="path16"
style="stroke-width:1.2779" />
<path
d="m 228.45498,283.54426 a 116.08688,116.08077 0 0 0 -85.00769,85.00323 116.08688,116.08077 0 0 0 85.00769,-85.00323 z"
fill="#0729f1"
id="path18"
style="stroke-width:1.2779" />
<path
d="m 228.45498,228.44296 a 115.89518,115.88909 0 0 0 55.12976,0 116.08688,116.08077 0 0 1 85.0077,-85.00322 115.89518,115.88909 0 1 0 -225.15793,0 116.04853,116.04243 0 0 1 85.02047,85.00322 z"
fill="#7abdf7"
id="path20"
style="stroke-width:1.2779" />
<path
d="m 283.58474,283.54426 a 115.89518,115.88909 0 0 0 -55.12976,0 116.08688,116.08077 0 0 1 -85.00769,85.00323 115.89518,115.88909 0 1 0 225.15792,0 116.04853,116.04243 0 0 1 -85.02047,-85.00323 z"
fill="#0d74f5"
id="path22"
style="stroke-width:1.2779" />
<path
d="m 396.15732,140.10452 a 115.76739,115.7613 0 0 0 -27.55211,3.32244 116.02298,116.01687 0 0 1 -84.99491,84.99044 115.89518,115.88909 0 0 0 0,55.12686 116.04853,116.04243 0 0 1 84.99491,85.00323 115.89518,115.88909 0 1 0 27.55211,-228.46852 z"
fill="#4494f7"
id="path24"
style="stroke-width:1.2779" />
<path
d="m 228.45498,283.54426 a 115.89518,115.88909 0 0 0 0,-55.12686 116.04853,116.04243 0 0 1 -85.00769,-84.99044 115.89518,115.88909 0 1 0 0,225.14608 116.06132,116.05521 0 0 1 85.00769,-85.02878 z"
fill="#005cf4"
id="path26"
style="stroke-width:1.2779" />
<path
d="m 283.58474,228.44296 a 116.08688,116.08077 0 0 0 85.0077,-85.00322 116.08688,116.08077 0 0 0 -85.0077,85.00322 z"
fill="#186ef9"
id="path28"
style="stroke-width:1.2779" />
<path
d="m 283.58474,283.54426 a 116.04853,116.04243 0 0 0 85.0077,85.00323 116.08688,116.08077 0 0 0 -85.0077,-85.00323 z"
fill="#0246f2"
id="path30"
style="stroke-width:1.2779" />
<path
d="m 228.45498,228.44296 a 116.08688,116.08077 0 0 0 -85.00769,-85.00322 116.08688,116.08077 0 0 0 85.00769,85.00322 z"
fill="#0046f8"
id="path32"
style="stroke-width:1.2779" />
<path
d="m 228.45498,283.54426 a 116.08688,116.08077 0 0 0 -85.00769,85.00323 116.08688,116.08077 0 0 0 85.00769,-85.00323 z"
fill="#0729f1"
id="path34"
style="stroke-width:1.2779" />
<rect
x="-600"
y="0"
class="st3"
width="128"
height="128"
id="rect18"
style="fill:#f0353d" />
<rect
x="-472"
y="0"
class="st4"
width="128"
height="128"
id="rect20"
style="fill:#fd6a33" />
<rect
x="-344"
y="0"
class="st5"
width="128"
height="128"
id="rect22"
style="fill:#ff8c29" />
<rect
x="-215.99994"
y="0"
class="st6"
width="128"
height="128"
id="rect24"
style="fill:#ffd1a9" />
<rect
x="-600"
y="128.00002"
class="st1"
width="128"
height="128"
id="rect26"
style="fill:#365558" />
<rect
x="-472"
y="128.00002"
class="st0"
width="128"
height="128"
id="rect28"
style="fill:#0295aa" />
<rect
x="-344"
y="128.00002"
class="st7"
width="128"
height="128"
id="rect30"
style="fill:#4acfd9" />
<rect
x="-600"
y="256"
class="st8"
width="128"
height="128"
id="rect32"
style="fill:#9baaab" />
<rect
x="-472"
y="256"
class="st9"
width="128"
height="128"
id="rect34"
style="fill:#cdd4d5" />
<rect
x="-344"
y="256"
class="st10"
width="128"
height="128"
id="rect36"
style="fill:#e6eaea" />
<rect
x="-215.99994"
y="256"
class="st11"
width="128"
height="128"
id="rect38"
style="fill:#ffffff" />
<rect
x="-600"
y="384"
class="st12"
width="128"
height="128"
id="rect40"
style="fill:#bcd643" />
</svg>

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

@@ -1 +1 @@
{"type":"Data Mine","name":"Candles","config":"{\n \"codeName\": \"Candles\"\n}","project":"Foundations","sensorBots":[{"type":"Sensor Bot","name":"Exchange Raw Data","config":"{\n \"codeName\": \"Exchange-Raw-Data\"\n}","project":"Foundations","processes":[{"type":"Process Definition","name":"Historic-OHLCVs","config":"{\n \"codeName\": \"Historic-OHLCVs\",\n \"description\": \"Retrieves and saves historical maket data\",\n \"deadWaitTime\": 0,\n \"normalWaitTime\": 60000,\n \"retryWaitTime\": 10000,\n \"botModule\": \"Exchange Raw Data Historic OHLCVs\"\n}","project":"Foundations","processOutput":{"type":"Process Output","name":"New Process Output","project":"Foundations","outputDatasets":[],"outputDatasetFolders":[],"id":"dfe2556e-a765-4e38-9d30-7f91090c0069","savedPayload":{"position":{"x":19705.67390477555,"y":18305.314530096774},"targetPosition":{"x":19666.516047109537,"y":18602.747988508916},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},"processDependencies":{"type":"Process Dependencies","name":"New Process Dependencies","project":"Foundations","statusDependencies":[{"type":"Status Dependency","name":"Exchange Raw Data Historic-OHLCVs","config":"{\n \"mainUtility\": \"Self Reference\"\n}","project":"Foundations","id":"ea39c98b-18e2-44ce-9f7f-86a8a76a688a","savedPayload":{"position":{"x":20031.77290451477,"y":18126.735984334173},"targetPosition":{"x":19849.144475812154,"y":18364.741986421544},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":1,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Status Report","name":"New Status Report","id":"181c7c34-7243-497a-9ddb-1b0067c6d66e"}}}],"dataDependencies":[],"dataMineDataDependencies":[],"id":"5c7fae5a-6da6-4864-a167-f2f21d578c72","savedPayload":{"position":{"x":19849.144475812154,"y":18364.741986421544},"targetPosition":{"x":19666.516047109537,"y":18602.747988508916},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},"statusReport":{"type":"Status Report","name":"New Status Report","project":"Foundations","id":"181c7c34-7243-497a-9ddb-1b0067c6d66e","savedPayload":{"position":{"x":19943.679906862923,"y":18487.94295879939},"targetPosition":{"x":19666.516047109537,"y":18602.747988508916},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{}}},"executionStartedEvent":{"type":"Execution Started Event","name":"","project":"Foundations","id":"957e7e3a-b167-40be-93b5-9ba4ceff56e5","savedPayload":{"position":{"x":19963.94950552168,"y":18641.90584617493},"targetPosition":{"x":19666.516047109537,"y":18602.747988508916},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{}}},"executionFinishedEvent":{"type":"Execution Finished Event","name":"New Execution Finished Event","project":"Foundations","id":"fe40a546-43ee-49df-908a-7e72f598f0cd","savedPayload":{"position":{"x":19904.52204919691,"y":18785.376417211533},"targetPosition":{"x":19666.516047109537,"y":18602.747988508916},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{}}},"id":"5eb11d6a-022e-4f60-97c4-d6cf90b249dc","savedPayload":{"position":{"x":19666.516047109537,"y":18602.747988508916},"targetPosition":{"x":19389.35218735615,"y":18717.55301821844},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}}],"products":[{"type":"Product Definition","name":"Candles","config":"{\n\"codeName\": \"Candles\"\n}","project":"Foundations","datasets":[{"type":"Dataset Definition","name":"One-Min","config":"{\n\"codeName\": \"One-Min\"\n}","project":"Foundations","id":"1c3696e4-c28e-4744-9100-706d6dce0c3c","savedPayload":{"position":{"x":19839.35218735615,"y":18717.55301821844},"targetPosition":{"x":19689.35218735615,"y":18717.55301821844},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"angleToParent":1,"distanceToParent":2,"arrangementStyle":0},"uiObject":{}}}],"id":"2443883b-6959-42a3-ae3b-ef3102ffcdcc","savedPayload":{"position":{"x":19689.35218735615,"y":18717.55301821844},"targetPosition":{"x":19389.35218735615,"y":18717.55301821844},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},{"type":"Product Definition","name":"Volumes","config":"{\n\"codeName\": \"Volumes\"\n}","project":"Foundations","datasets":[{"type":"Dataset Definition","name":"One-Min","config":"{\n\"codeLine truncated
{"type":"Data Mine","name":"Candles","config":"{\n \"codeName\": \"Candles\"\n}","project":"Foundations","sensorBots":[{"type":"Sensor Bot","name":"Exchange Raw Data","config":"{\n \"codeName\": \"Exchange-Raw-Data\"\n}","project":"Foundations","processes":[{"type":"Process Definition","name":"Historic-OHLCVs","config":"{\n \"codeName\": \"Historic-OHLCVs\",\n \"description\": \"Retrieves and saves historical maket data\",\n \"deadWaitTime\": 0,\n \"normalWaitTime\": 60000,\n \"retryWaitTime\": 10000,\n \"botModule\": \"Exchange Raw Data Historic OHLCVs\"\n}","project":"Foundations","processOutput":{"type":"Process Output","name":"New Process Output","project":"Foundations","outputDatasets":[],"outputDatasetFolders":[],"id":"dfe2556e-a765-4e38-9d30-7f91090c0069","savedPayload":{"position":{"x":19705.67390477555,"y":18305.314530096774},"targetPosition":{"x":19666.516047109537,"y":18602.747988508916},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},"processDependencies":{"type":"Process Dependencies","name":"New Process Dependencies","project":"Foundations","statusDependencies":[{"type":"Status Dependency","name":"Exchange Raw Data Historic-OHLCVs","config":"{\n \"mainUtility\": \"Self Reference\"\n}","project":"Foundations","id":"ea39c98b-18e2-44ce-9f7f-86a8a76a688a","savedPayload":{"position":{"x":20031.77290451477,"y":18126.735984334173},"targetPosition":{"x":19849.144475812154,"y":18364.741986421544},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":1,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Status Report","name":"New Status Report","id":"181c7c34-7243-497a-9ddb-1b0067c6d66e"}}}],"dataDependencies":[],"dataMineDataDependencies":[],"id":"5c7fae5a-6da6-4864-a167-f2f21d578c72","savedPayload":{"position":{"x":19849.144475812154,"y":18364.741986421544},"targetPosition":{"x":19666.516047109537,"y":18602.747988508916},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},"statusReport":{"type":"Status Report","name":"Exchange-Raw-Data Historic-OHLCVs Status Report","project":"Foundations","id":"181c7c34-7243-497a-9ddb-1b0067c6d66e","savedPayload":{"position":{"x":19943.679906862923,"y":18487.94295879939},"targetPosition":{"x":19666.516047109537,"y":18602.747988508916},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{}}},"executionStartedEvent":{"type":"Execution Started Event","name":"","project":"Foundations","id":"957e7e3a-b167-40be-93b5-9ba4ceff56e5","savedPayload":{"position":{"x":19963.94950552168,"y":18641.90584617493},"targetPosition":{"x":19666.516047109537,"y":18602.747988508916},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{}}},"executionFinishedEvent":{"type":"Execution Finished Event","name":"New Execution Finished Event","project":"Foundations","id":"fe40a546-43ee-49df-908a-7e72f598f0cd","savedPayload":{"position":{"x":19904.52204919691,"y":18785.376417211533},"targetPosition":{"x":19666.516047109537,"y":18602.747988508916},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{}}},"id":"5eb11d6a-022e-4f60-97c4-d6cf90b249dc","savedPayload":{"position":{"x":19666.516047109537,"y":18602.747988508916},"targetPosition":{"x":19389.35218735615,"y":18717.55301821844},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}}],"products":[{"type":"Product Definition","name":"Candles","config":"{\n\"codeName\": \"Candles\"\n}","project":"Foundations","datasets":[{"type":"Dataset Definition","name":"One-Min","config":"{\n\"codeName\": \"One-Min\"\n}","project":"Foundations","id":"1c3696e4-c28e-4744-9100-706d6dce0c3c","savedPayload":{"position":{"x":19839.35218735615,"y":18717.55301821844},"targetPosition":{"x":19689.35218735615,"y":18717.55301821844},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"angleToParent":1,"distanceToParent":2,"arrangementStyle":0},"uiObject":{}}}],"id":"2443883b-6959-42a3-ae3b-ef3102ffcdcc","savedPayload":{"position":{"x":19689.35218735615,"y":18717.55301821844},"targetPosition":{"x":19389.35218735615,"y":18717.55301821844},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},{"type":"Product Definition","name":"Volumes","config":"{\n\"codeName\": \"Volumes\"\n}","project":"Foundations","datasets":[{"type":"Dataset Definition","name"Line truncated
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -1 +1 @@
{"type":"Data Mine","name":"Sparta","config":"{\n\"codeName\": \"Sparta\"\n}","project":"Foundations","sensorBots":[],"indicatorBots":[{"type":"Indicator Bot","name":"Simple Moving Average (SMA)","config":"{\n\"codeName\": \"SMA\"\n}","project":"Foundations","processes":[{"type":"Process Definition","name":"Multi-Time-Frame-Market","config":"{\n \"codeName\": \"Multi-Time-Frame-Market\",\n \"description\": \"Calculates SMAs for Time Frames of 01-hs and above.\",\n \"deadWaitTime\": 0,\n \"normalWaitTime\": 0,\n \"retryWaitTime\": 10000,\n \"sleepWaitTime\": 3600000,\n \"comaWaitTime\": 86400000,\n \"framework\": {\n \"name\": \"Multi-Time-Frame-Market\"\n }\n }","project":"Foundations","processOutput":{"type":"Process Output","name":"New Process Output","project":"Foundations","outputDatasets":[{"type":"Output Dataset","name":"Multi-Time-Frame-Market Popular SMAs","project":"Foundations","id":"5302effb-1f09-4a30-9f71-6956b8b9ca88","savedPayload":{"position":{"x":10609.044651705652,"y":17428.90566641547},"targetPosition":{"x":10995.890269605332,"y":17540.32974347027},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"3b21f9d7-2cbc-4c23-80c8-cc5e5b06a22c"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base11 SMAs","project":"Foundations","id":"8221593c-6298-4b4c-bfc2-cffbc9e5cd0f","savedPayload":{"position":{"x":10652.515125452519,"y":17324.96443352291},"targetPosition":{"x":10995.890269605332,"y":17540.32974347027},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"af9b9cef-2a74-486f-b79e-047d68669a1f"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base7 SMAs","project":"Foundations","id":"aabd0857-b4fc-404a-8967-967475ed3993","savedPayload":{"position":{"x":10721.675023375876,"y":17240.07387795538},"targetPosition":{"x":10995.890269605332,"y":17540.32974347027},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"78a6ef37-4df8-4ac8-83a0-c9a732467c59"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base6 SMAs","project":"Foundations","id":"dd00a77a-761e-404b-9e44-627335668112","savedPayload":{"position":{"x":10809.956405495142,"y":17178.031642194932},"targetPosition":{"x":10995.890269605332,"y":17540.32974347027},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"c0862b3d-d35a-4d3e-8d80-258b8a01c37c"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base5 SMAs","project":"Foundations","id":"b6426833-d2c7-4300-b610-801e12a7edfd","savedPayload":{"position":{"x":10936.584878620257,"y":17141.406608785455},"targetPosition":{"x":10995.890269605332,"y":17540.32974347027},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"a5d28568-fb58-469a-9820-b9f0e8eab705"}}}],"outputDatasetFolders":[],"id":"85a56739-9351-444b-95e9-a57470dca38a","savedPayload":{"position":{"x":10995.890269605332,"y":17540.32974347027},"targetPosition":{"x":11302.555356491408,"y":17880.959414907546},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},"processDependencies":{"type":"Process Dependencies","name":"New Process Dependencies","project":"Foundations","statusDependencies":[{"type":"Status Dependency","name":"Simple Moving Average (SMA) Multi-Time-Frame-Market","config":"{\"mainUtility\": \"Self Reference\"}","project":"Foundations","id":"d49d1e94-1960-4121-8e40-be8af52947ee","savedPayload":{"position":{"x":11067.618896327327,"y":17267.479023725446},"targetPosition":{"x":11205.707967556615,"y":17422.24521572421},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":2,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Status Report","name":"New Status Report","id":"81346f2f-13f2-46f4-85f5-a04b4d80f455"}}},{"type":"Status Dependency","name":"Candles Volumes Multi-Time-Frame-Market","config":"{\"mainUtility\": \"Market Ending Point\"}","project":"Foundations","id":"f7cf0949-06fc-4c98-a399-61fac1671c6e","savedPayload":{"position":{"x":11151.101786685287,"y":17208.702149919078},"targetPosition":{"Line truncated
{"type":"Data Mine","name":"Sparta","config":"{\n\"codeName\": \"Sparta\"\n}","project":"Superalgos","sensorBots":[],"apiDataFetcherBots":[],"indicatorBots":[{"type":"Indicator Bot","name":"Simple Moving Average (SMA)","config":"{\n\"codeName\": \"SMA\"\n}","project":"Superalgos","processes":[{"type":"Process Definition","name":"Multi-Time-Frame-Market","config":"{\n \"codeName\": \"Multi-Time-Frame-Market\",\n \"description\": \"Calculates SMAs for Time Frames of 01-hs and above.\",\n \"deadWaitTime\": 0,\n \"normalWaitTime\": 0,\n \"retryWaitTime\": 10000,\n \"sleepWaitTime\": 3600000,\n \"comaWaitTime\": 86400000,\n \"framework\": {\n \"name\": \"Multi-Time-Frame-Market\"\n }\n }","project":"Superalgos","processOutput":{"type":"Process Output","name":"New Process Output","project":"Superalgos","outputDatasets":[{"type":"Output Dataset","name":"Multi-Time-Frame-Market Popular SMAs","project":"Superalgos","id":"6b361e67-c005-4c68-8e60-9561afea7995","savedPayload":{"position":{"x":14543.634455080679,"y":17851.215894240788},"targetPosition":{"x":14930.48007298036,"y":17962.639971295586},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"24e17411-dccd-44b9-864d-ee83550186a8"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base11 SMAs","project":"Superalgos","id":"5d513ab5-6e74-4b56-9ff9-889c8fea55b6","savedPayload":{"position":{"x":14587.104928827546,"y":17747.274661348227},"targetPosition":{"x":14930.48007298036,"y":17962.639971295586},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"b2698fb2-3dee-406f-9bd6-461771adb181"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base7 SMAs","project":"Superalgos","id":"36eca54d-9b12-494b-89d1-63da6b41d84f","savedPayload":{"position":{"x":14656.264826750903,"y":17662.384105780697},"targetPosition":{"x":14930.48007298036,"y":17962.639971295586},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"d435f8db-8340-4e1a-b133-3f0042fc1e07"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base6 SMAs","project":"Superalgos","id":"3cf7431e-358e-4fe7-b3e9-4b0825f8382b","savedPayload":{"position":{"x":14744.54620887017,"y":17600.34187002025},"targetPosition":{"x":14930.48007298036,"y":17962.639971295586},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"59b1356d-d6fa-48c1-8fce-7f401cc9e35c"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base5 SMAs","project":"Superalgos","id":"09d7bdff-7ce9-44f2-98eb-6e2846be35d8","savedPayload":{"position":{"x":14871.174681995284,"y":17563.716836610773},"targetPosition":{"x":14930.48007298036,"y":17962.639971295586},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"bda8eb74-bd2b-42d8-b008-03caa80d16d6"}}}],"outputDatasetFolders":[],"id":"0102062f-55a7-40b2-bb5a-5fdec10094d3","savedPayload":{"position":{"x":14930.48007298036,"y":17962.639971295586},"targetPosition":{"x":15237.145159866435,"y":18303.269642732863},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},"processDependencies":{"type":"Process Dependencies","name":"New Process Dependencies","project":"Superalgos","statusDependencies":[{"type":"Status Dependency","name":"","config":"{\"mainUtility\": \"Self Reference\"}","project":"Superalgos","id":"b10b3a53-b2a3-419d-895a-6970ca5f6d64","savedPayload":{"position":{"x":15002.208699702354,"y":17689.789251550763},"targetPosition":{"x":15140.297770931642,"y":17844.55544354953},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":2,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Status Report","name":"New Status Report","id":"d8c4906e-d779-4637-af38-c3e44751ec62"}}},{"type":"Status Dependency","name":"","config":"{\"mainUtility\": \"Market Ending Point\"}","project":"Superalgos","id":"7a5e25af-1d32-40ee-9d15-904395addd9c","savedPayload":{"position":{"x":15085.691590060314,"y":17631.012377744395},"targetPosition":{"x":15140.297770931642,"y":17844.55544354953},"floatingObject":{"isPinned":falLine truncated
@@ -1 +1 @@
{"type":"Trading Mine","name":"Masters","config":"{ \n\"codeName\": \"Masters\"\n}","project":"Foundations","tradingBots":[{"type":"Trading Bot","name":"Low Frequency","config":"{\n\"codeName\": \"Low-Frequency\"\n}","project":"Foundations","processes":[{"type":"Process Definition","name":"Trading","config":"{\n \"codeName\": \"Trading\",\n \"sessionRunWaitTime\": 5000,\n \"retryWaitTime\": 10000,\n \"framework\": {\n \"name\": \"Low-Frequency-Trading-Process\"\n }\n }","project":"Foundations","processOutput":{"type":"Process Output","name":"New Process Output","project":"Foundations","outputDatasets":[],"outputDatasetFolders":[{"type":"Output Dataset Folder","name":"Trading Engine","project":"Foundations","outputDatasets":[],"outputDatasetFolders":[{"type":"Output Dataset Folder","name":"Trading Episode","project":"Foundations","outputDatasets":[{"type":"Output Dataset","name":"Multi-Time-Frame-Market Trading Episode Counters","project":"Foundations","id":"ec8d74ba-a4ad-417a-b479-6bae95b8a1fe","savedPayload":{"position":{"x":24955.97457254189,"y":18456.46644293786},"targetPosition":{"x":24741.86240363471,"y":18060.668541066385},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"3ed03a02-381d-43fe-9faa-761728c53bd8"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Daily Trading Episode Counters","project":"Foundations","id":"22b0af33-8c2f-4194-839b-affd18f298d5","savedPayload":{"position":{"x":24879.601232363748,"y":18489.07023931273},"targetPosition":{"x":24741.86240363471,"y":18060.668541066385},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Daily","id":"15f5b150-f1cf-403c-8cb9-2c7c4e1db8e8"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Trading Episode Statistics","project":"Foundations","id":"23ab91ae-2e78-4993-bb69-855f69cef1ce","savedPayload":{"position":{"x":24798.53736157276,"y":18507.085329665024},"targetPosition":{"x":24741.86240363471,"y":18060.668541066385},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"fc9dc0f7-35e0-4548-bb91-f920825d694f"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Daily Trading Episode Statistics","project":"Foundations","id":"d0a4515a-279d-4c27-8de2-168108861242","savedPayload":{"position":{"x":24715.543493063306,"y":18509.89823169951},"targetPosition":{"x":24741.86240363471,"y":18060.668541066385},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Daily","id":"91953362-8751-4440-a898-21245cd47c15"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Episode Candle","project":"Foundations","id":"7fc80977-5b37-413e-8107-0a89a16e08b0","savedPayload":{"position":{"x":24633.445883487308,"y":18497.413155411115},"targetPosition":{"x":24741.86240363471,"y":18060.668541066385},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"17fb41f5-61b5-4433-9a10-950ff8216a7e"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Daily Episode Candle","project":"Foundations","id":"a6888750-1043-420c-9253-633e1399c5e4","savedPayload":{"position":{"x":24555.040268473647,"y":18470.05526509864},"targetPosition":{"x":24741.86240363471,"y":18060.668541066385},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Daily","id":"bbc9467d-28bf-432b-9e49-582d1bcabfb9"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Episode Balances","project":"Foundations","id":"0ad114df-f076-4a86-8c62-4c4a146da73c","savedPayload":{"position":{"x":24482.996657204443,"y":18428.756200904503},"targetPosition":{"x":24741.86240363471,"y":18060.668541066385},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"acddff59-b51b-4b45-b58f-71d4077755ee"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Daily Episode Balances","project":"Foundations","id":"04b51302-957d-4365-ad55-9f89d60e261c","savedPayload":{"position":{"x":24419.76840845468,"y":18374.92235Line truncated
{"type":"Trading Mine","name":"Masters","config":"{ \n\"codeName\": \"Masters\"\n}","project":"Foundations","tradingBots":[{"type":"Trading Bot","name":"Low Frequency","config":"{\n\"codeName\": \"Low-Frequency\"\n}","project":"Foundations","processes":[{"type":"Process Definition","name":"Trading","config":"{\n \"codeName\": \"Trading\",\n \"sessionRunWaitTime\": 5000,\n \"retryWaitTime\": 10000,\n \"framework\": {\n \"name\": \"Low-Frequency-Trading-Process\"\n }\n }","project":"Foundations","processOutput":{"type":"Process Output","name":"New Process Output","project":"Foundations","outputDatasets":[],"outputDatasetFolders":[{"type":"Output Dataset Folder","name":"Trading Engine","project":"Foundations","outputDatasets":[],"outputDatasetFolders":[{"type":"Output Dataset Folder","name":"Trading Episode","project":"Foundations","outputDatasets":[{"type":"Output Dataset","name":"Multi-Time-Frame-Market Trading Episode Counters","project":"Foundations","id":"ec8d74ba-a4ad-417a-b479-6bae95b8a1fe","savedPayload":{"position":{"x":24955.97457254189,"y":18456.46644293786},"targetPosition":{"x":24741.86240363471,"y":18060.668541066385},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"3ed03a02-381d-43fe-9faa-761728c53bd8"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Daily Trading Episode Counters","project":"Foundations","id":"22b0af33-8c2f-4194-839b-affd18f298d5","savedPayload":{"position":{"x":24879.601232363748,"y":18489.07023931273},"targetPosition":{"x":24741.86240363471,"y":18060.668541066385},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Daily","id":"15f5b150-f1cf-403c-8cb9-2c7c4e1db8e8"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Trading Episode Statistics","project":"Foundations","id":"23ab91ae-2e78-4993-bb69-855f69cef1ce","savedPayload":{"position":{"x":24798.53736157276,"y":18507.085329665024},"targetPosition":{"x":24741.86240363471,"y":18060.668541066385},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"fc9dc0f7-35e0-4548-bb91-f920825d694f"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Daily Trading Episode Statistics","project":"Foundations","id":"d0a4515a-279d-4c27-8de2-168108861242","savedPayload":{"position":{"x":24715.543493063306,"y":18509.89823169951},"targetPosition":{"x":24741.86240363471,"y":18060.668541066385},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Daily","id":"91953362-8751-4440-a898-21245cd47c15"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Episode Candle","project":"Foundations","id":"7fc80977-5b37-413e-8107-0a89a16e08b0","savedPayload":{"position":{"x":24633.445883487308,"y":18497.413155411115},"targetPosition":{"x":24741.86240363471,"y":18060.668541066385},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"17fb41f5-61b5-4433-9a10-950ff8216a7e"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Daily Episode Candle","project":"Foundations","id":"a6888750-1043-420c-9253-633e1399c5e4","savedPayload":{"position":{"x":24555.040268473647,"y":18470.05526509864},"targetPosition":{"x":24741.86240363471,"y":18060.668541066385},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Daily","id":"bbc9467d-28bf-432b-9e49-582d1bcabfb9"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Episode Balances","project":"Foundations","id":"0ad114df-f076-4a86-8c62-4c4a146da73c","savedPayload":{"position":{"x":24482.996657204443,"y":18428.756200904503},"targetPosition":{"x":24741.86240363471,"y":18060.668541066385},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"acddff59-b51b-4b45-b58f-71d4077755ee"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Daily Episode Balances","project":"Foundations","id":"04b51302-957d-4365-ad55-9f89d60e261c","savedPayload":{"position":{"x":24419.76840845468,"y":18374.92235Line truncated
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -1 +0,0 @@
{"type":"Workspace","name":"Custom Charts Tutorials","rootNodes":[{"type":"Network","name":"My Network","project":"Foundations","networkNodes":[{"type":"Network Node","name":"My Computer","config":"{ \n\"host\": \"localhost\", \n\"webPort\": \"34248\", \n\"webSocketsPort\": \"18041\"\n}","project":"Foundations","dataTasks":{"type":"Data Tasks","name":"New Data Tasks","project":"Foundations","projectDataTasks":[{"type":"Project Data Tasks","name":"Foundations","project":"Foundations","exchangeDataTasks":[{"type":"Exchange Data Tasks","name":"Binance","project":"Foundations","marketDataTasks":[{"type":"Market Data Tasks","name":"Binance BTC/USDT","project":"Foundations","dataMineTasks":[{"type":"Data Mine Tasks","name":"Sparta","project":"Foundations","taskManagers":[{"type":"Task Manager","name":"Sparta","project":"Foundations","tasks":[{"type":"Task","name":"Simple Moving Average (SMA)","project":"Foundations","bot":{"type":"Indicator Bot Instance","name":"Simple Moving Average (SMA)","config":"{ \n\"parameter1\": \"Value for parameter1 defined at the Product Definition\"\n}","project":"Foundations","processes":[{"type":"Indicator Process Instance","name":"Simple Moving Average (SMA) Multi-Time-Frame-Market","project":"Foundations","id":"07281d67-3aad-46e6-b78d-8b85bf2fdb26","savedPayload":{"position":{"x":25070.356993272086,"y":28790.11115747996},"targetPosition":{"x":25090.356993272086,"y":28756.11115747996},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false},"referenceParent":{"type":"Process Definition","name":"Multi-Time-Frame-Market","id":"456269f6-9849-4d5f-9c8c-7cd7d1eef297"}}},{"type":"Indicator Process Instance","name":"Simple Moving Average (SMA) Multi-Time-Frame-Daily","project":"Foundations","id":"bfc9c489-a981-4800-8f61-092f19ff0e93","savedPayload":{"position":{"x":25172.356993272086,"y":28806.11115747996},"targetPosition":{"x":25090.356993272086,"y":28756.11115747996},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false},"referenceParent":{"type":"Process Definition","name":"Multi-Time-Frame-Daily","id":"333ae5d7-7ec1-4f08-b206-91e3b4f2c99f"}}}],"id":"b1ab4a4a-256f-4cc3-a1df-b921c8fe4605","savedPayload":{"position":{"x":25090.356993272086,"y":28756.11115747996},"targetPosition":{"x":25177.356993272086,"y":28674.11115747996},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},"id":"19a527e8-8570-4766-8190-e2fbc7ece275","savedPayload":{"position":{"x":25177.356993272086,"y":28674.11115747996},"targetPosition":{"x":25124.356993272086,"y":28583.11115747996},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},{"type":"Task","name":"Exponential Moving Average (EMA)","project":"Foundations","bot":{"type":"Indicator Bot Instance","name":"Exponential Moving Average (EMA)","config":"{ \n\"parameter1\": \"Value for parameter1 defined at the Product Definition\"\n}","project":"Foundations","processes":[{"type":"Indicator Process Instance","name":"Exponential Moving Average (EMA) Multi-Time-Frame-Market","project":"Foundations","id":"098228d9-c139-46bc-8938-46c84811e33d","savedPayload":{"position":{"x":25191.356993272086,"y":28759.11115747996},"targetPosition":{"x":25211.356993272086,"y":28715.11115747996},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false},"referenceParent":{"type":"Process Definition","name":"Multi-Time-Frame-Market","id":"278c34a7-199d-400e-8a06-087149e3d391"}}},{"type":"Indicator Process Instance","name":"Exponential Moving Average (EMA) Multi-Time-Frame-Daily","project":"Foundations","id":"16d1a19b-fd61-4d41-9cad-56cc68774b62","savedPayload":{"position":{"x":25134.356993272086,"y":28660.11115747996},"targetPosition":{"x":25211.356993272086,"y":28715.11115747996},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false},"referenceParent":{"type":"Process Definition","name":"Multi-Time-Frame-Daily","id":"943ea24f-ee24-4eae-9b4b-e8a73122b1c2"}}}],"id":"dab1daf1-4a5d-4abb-b4a6-3ebfe99aa543","savedPayload":{"position":{"x":25211.356993272086,"y":28715.11115747996},"targetPosition":{"x":25176.356993272086,"y":28674.11115747996},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},"id":"603927bd-8140-45d6-ba57-47b3d7d5a77f","savedPayload":{"position":{"x":25176.356993272086,"y":28674.11115747996},"targetPosition":{"x":25124Line truncated
@@ -119,6 +119,14 @@
{
"codeName": "luno",
"iconName": "luno"
},
{
"codeName": "okex",
"iconName": "okex"
},
{
"codeName": "okex5",
"iconName": "okex"
}
]
}
@@ -52,7 +52,7 @@
},
{
"style": "Javascript",
"text": "UI.projects.foundations.utilities.nodeConfig.savePropertyAtNodeConfig(node.payload,'showPanels', true)"
"text": "UI.projects.foundations.utilities.nodeConfig.saveConfigProperty(node.payload,'showPanels', true)"
},
{
"style": "Text",
@@ -1,7 +1,7 @@
{
"tutorial": "How to aggregate data from different Exchanges in the same Chart ",
"tutorial": "Aggregate data from different Exchanges in a Chart ",
"pageNumber": "1",
"type": "How to combine Exchanges in a Chart Tutorial",
"type": "Combine Exchanges in a Chart Tutorial",
"definition": {
"text": "This Tutorial covers the process of pulling together the most diverse set of data: data from different exchanges! By the end of this tutorial you will be able to build charts almost impossible to find anywhere else.",
"updated": 1617376996248
@@ -504,6 +504,10 @@
invalidSince = true
return nextValidOHLCVs[0][0]
}
let processingDate = new Date(since)
processingDate = processingDate.getUTCFullYear() + '-' + TS.projects.foundations.utilities.miscellaneousFunctions.pad(processingDate.getUTCMonth() + 1, 2) + '-' + TS.projects.foundations.utilities.miscellaneousFunctions.pad(processingDate.getUTCDate(), 2);
TS.projects.foundations.functionLibraries.processFunctions.processHeartBeat(processIndex, "No Data Found. Fast-Forwarding to Next Data @ " + processingDate, 0)
}
}
@@ -1,11 +1,13 @@
{
"requires": true,
"name": "exchange-raw-data",
"version": "0.0.6",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"ccxt": {
"version": "1.47.49",
"resolved": "https://registry.npmjs.org/ccxt/-/ccxt-1.47.49.tgz",
"integrity": "sha512-aGjOGKX/wfStwD24dH7FweP2ktdbZBjhgLxkipFVaewnjsftyiuzCCikMS7IvSRON/aAMG0oqKUdVHL382BFMA=="
"version": "1.51.61",
"resolved": "https://registry.npmjs.org/ccxt/-/ccxt-1.51.61.tgz",
"integrity": "sha512-ywz04QrqU4qW07i1mzhlF1yv6p2hs37ndYqYG9R5Fln1FUHXfxiwnCbBK3LOdYeal7fdT8lGUCqL6LCEXgtjcQ=="
}
}
}
@@ -1,13 +1,12 @@
{
"name": "exchange-raw-data",
"version": "0.0.6",
"description": "Sensor Bot",
"main": "HistoricOHLCVs.js",
"author": {
"name": "Luis-Fernando-Molina"
},
"dependencies": {
"ccxt": "^1.47.49"
}
"name": "exchange-raw-data",
"version": "0.0.6",
"description": "Sensor Bot",
"main": "HistoricOHLCVs.js",
"author": {
"name": "Luis-Fernando-Molina"
},
"dependencies": {
"ccxt": "^1.51.61"
}
}
@@ -98,6 +98,13 @@
tradingSystem.addError([tradingSystemOrder.id, message, docs])
logError("getOrder -> Error = " + err.message);
if ( /[0-9a-z]+ NotFound/.test(err.message) ) {
logInfo("getOrder -> NotFound, so order is actually closed.")
order = {
status: 'NotFound'
}
return order
}
}
}
@@ -55,8 +55,10 @@ exports.newFoundationsBotModulesOrdersCalculations = function (processIndex) {
/* This calculation needs to happen only once, the first time the order is checked. */
if (tradingEngineOrder.orderBaseAsset.actualSize.value !== tradingEngineOrder.orderBaseAsset.actualSize.config.initialValue) { return }
/* We receive the actual size from the exchange at the order.amount field. */
tradingEngineOrder.orderBaseAsset.actualSize.value = order.amount
if ( order.amount !== undefined) {
/* We receive the actual size from the exchange at the order.amount field. */
tradingEngineOrder.orderBaseAsset.actualSize.value = order.amount
}
recalculateActualSize()
recalculateSizePlaced()
@@ -122,7 +124,7 @@ exports.newFoundationsBotModulesOrdersCalculations = function (processIndex) {
available, but it seems sometimes it is not. In those cases we use the price.
*/
tradingEngineOrder.orderStatistics.actualRate.value = order.average
} else {
} else if (order.price !== undefined) {
/*
We use the order.price when the average is not available.
*/
@@ -260,8 +262,10 @@ exports.newFoundationsBotModulesOrdersCalculations = function (processIndex) {
We know this field will go up until reaching the Actual Size. Once it reaches that number
the order will be 100% filled.
*/
tradingEngineOrder.orderStatistics.percentageFilled.value = order.filled * 100 / tradingEngineOrder.orderBaseAsset.actualSize.value
tradingEngineOrder.orderStatistics.percentageFilled.value = TS.projects.foundations.utilities.miscellaneousFunctions.truncateToThisPrecision(tradingEngineOrder.orderStatistics.percentageFilled.value, 10)
if (order.filled !== undefined) {
tradingEngineOrder.orderStatistics.percentageFilled.value = order.filled * 100 / tradingEngineOrder.orderBaseAsset.actualSize.value
tradingEngineOrder.orderStatistics.percentageFilled.value = TS.projects.foundations.utilities.miscellaneousFunctions.truncateToThisPrecision(tradingEngineOrder.orderStatistics.percentageFilled.value, 10)
}
}
async function feesPaidCalculation(tradingEngineStage, tradingSystemOrder, tradingEngineOrder, order, applyFeePercentage) {
@@ -303,8 +307,10 @@ exports.newFoundationsBotModulesOrdersCalculations = function (processIndex) {
take it from there for our Order Base Asset. The amount in order.filled does
not reflect the Fees Paid, even if we are paying the fees in Base Asset.
*/
tradingEngineOrder.orderBaseAsset.sizeFilled.value = order.filled
tradingEngineOrder.orderBaseAsset.sizeFilled.value = TS.projects.foundations.utilities.miscellaneousFunctions.truncateToThisPrecision(tradingEngineOrder.orderBaseAsset.sizeFilled.value, 10)
if (order.filled !== undefined) {
tradingEngineOrder.orderBaseAsset.sizeFilled.value = order.filled
tradingEngineOrder.orderBaseAsset.sizeFilled.value = TS.projects.foundations.utilities.miscellaneousFunctions.truncateToThisPrecision(tradingEngineOrder.orderBaseAsset.sizeFilled.value, 10)
}
/*
For Quoted Asset, CCXT does not return any field with the size filled, so we
need to calculate that by ourselves.
@@ -344,4 +350,4 @@ exports.newFoundationsBotModulesOrdersCalculations = function (processIndex) {
}
}
}
}
}
@@ -197,7 +197,8 @@ exports.newFoundationsBotModulesSnapshots = function (processIndex) {
if (nodeWithCode.code === undefined) { return }
try {
let instructionsArray = nodeWithCode.code.split(' ')
const code = nodeWithCode.code
let instructionsArray = code.split(' ')
for (let i = 0; i < instructionsArray.length; i++) {
let instruction = instructionsArray[i]
instruction = instruction.replace('(', '')
@@ -664,59 +664,6 @@ exports.newFoundationsBotModulesTradingOrders = function (processIndex) {
return false
}
if (order === null) {
/*
Some exchanges, like Coinbase Pro, deletes orders after being cancelled, and when we request information
about them, it returns null. We will interprate this as ORDER NOT FOUND.
*/
message = 'Order Not Found at the Exchange'
docs = {
project: 'Foundations',
category: 'Topic',
type: 'TS LF Trading Bot Warning - ' + message,
placeholder: {}
}
tradingSystem.addWarning(
[
[tradingSystemOrder.id, tradingEngineOrder.id],
message,
docs
]
)
/* Close this Order */
tradingEngineOrder.status.value = 'Closed'
/*
We must be carefull here not to overide an already defined exitType. It can happen
for instance that the order was cancellerd from the but veryfing the cancellation
was not possible because of a connection to the exchange problem. In that case
the exit type was defined but the order was kept open until the verification could be done.
*/
if (tradingEngineOrder.exitType.value === tradingEngineOrder.exitType.config.initialValue) {
tradingEngineOrder.exitType.value = 'Not Found at the Exchange'
}
/* Initialize this */
tradingEngine.tradingCurrent.tradingEpisode.distanceToTradingEvent.closeOrder.value = 1
await updateEndsWithCycle(tradingEngineOrder)
let message = "Order Closed"
let docs = {
project: 'Foundations',
category: 'Topic',
type: 'TS LF Trading Bot Info - ' + message,
placeholder: {}
}
contextInfo = {
exitType: tradingEngineOrder.exitType.value
}
TS.projects.education.utilities.docsFunctions.buildPlaceholder(docs, undefined, undefined, undefined, undefined, undefined, contextInfo)
tradingSystem.addInfo([tradingSystemOrder.id, message, docs])
return true
}
const AT_EXCHANGE_STATUS = {
OPEN: 'open',
CLOSED: 'closed',
@@ -1168,6 +1115,36 @@ exports.newFoundationsBotModulesTradingOrders = function (processIndex) {
)
return false
}
if (order.status === 'NotFound') {
/*
Some exchanges, like Coinbase Pro, deletes orders after being cancelled, and when we request information
about them, it returns null. We will interprate this as ORDER NOT FOUND.
*/
const message = 'Order Not Found at the Exchange'
let docs = {
project: 'Superalgos',
category: 'Topic',
type: 'TS LF Trading Bot Warning - ' + message,
placeholder: {}
}
tradingSystem.addWarning(
[
[tradingSystemOrder.id, tradingEngineOrder.id],
message,
docs
]
)
/*
We must be carefull here not to overide an already defined exitType. It can happen
for instance that the order was cancellerd from the but veryfing the cancellation
was not possible because of a connection to the exchange problem. In that case
the exit type was defined but the order was kept open until the verification could be done.
*/
if (tradingEngineOrder.exitType.value === tradingEngineOrder.exitType.config.initialValue) {
tradingEngineOrder.exitType.value = 'Not Found at the Exchange'
}
}
/*
Close this Order. Note that we are not closing the order until we have the exchange
@@ -325,7 +325,7 @@ function newCircularMenuItem() {
/* The first click ask for confirmation. */
if (temporaryStatus === STATUS_NO_ACTION_TAKEN_YET) {
setStatus(thisObject.confirmationLabel, UI_COLOR.GOLDEN_ORANGE, 100, STATUS_WAITING_CONFIRMATION)
setStatus(thisObject.confirmationLabel, UI_COLOR.GOLDEN_ORANGE, 250, STATUS_WAITING_CONFIRMATION)
return
}
/* A Click during confirmation executes the pre-defined action. */
@@ -28,8 +28,12 @@ function newUiObject() {
hasError: undefined,
hasWarning: undefined,
hasInfo: undefined,
valueAtAngle: true,
valueAtAngle: false,
valueAngleOffset: 0,
percentageAtAngle: false,
percentageAngleOffset: 0,
statusAtAngle: false,
statusAngleOffset: 0,
run: run,
stop: stop,
heartBeat: heartBeat,
@@ -1887,13 +1891,13 @@ function newUiObject() {
label = label.substring(0, MAX_LABEL_LENGTH) + '...'
}
if (thisObject.valueAtAngle === true && thisObject.payload.angle !== undefined) {
if (thisObject.percentageAtAngle === true && thisObject.payload.angle !== undefined) {
labelPoint = {
x: position.x - getTextWidth(label) / 2,
y: position.y
}
labelPoint.x = labelPoint.x + radius * 7 / 3 * Math.cos(toRadians(thisObject.payload.angle + thisObject.valueAngleOffset))
labelPoint.y = labelPoint.y + radius * 7 / 3 * Math.sin(toRadians(thisObject.payload.angle + thisObject.valueAngleOffset)) + lineSeparator * 1
labelPoint.x = labelPoint.x + radius * 7 / 3 * Math.cos(toRadians(thisObject.payload.angle + thisObject.percentageAngleOffset))
labelPoint.y = labelPoint.y + radius * 7 / 3 * Math.sin(toRadians(thisObject.payload.angle + thisObject.percentageAngleOffset)) + lineSeparator * 1
} else {
if (thisObject.isOnFocus === true) {
labelPoint = {
@@ -1948,15 +1952,25 @@ function newUiObject() {
label = label.substring(0, MAX_LABEL_LENGTH) + '...'
}
if (thisObject.isOnFocus === true) {
if (thisObject.statusAtAngle === true && thisObject.payload.angle !== undefined) {
labelPoint = {
x: position.x - getTextWidth(label) / 2,
y: position.y + radius * 2 / 3 + lineSeparator * 4 + 30
y: position.y
}
labelPoint.x = labelPoint.x + radius * 7 / 3 * Math.cos(toRadians(thisObject.payload.angle + thisObject.statusAngleOffset))
labelPoint.y = labelPoint.y + radius * 7 / 3 * Math.sin(toRadians(thisObject.payload.angle + thisObject.statusAngleOffset)) + lineSeparator * 2
} else {
labelPoint = {
x: position.x - getTextWidth(label) / 2,
y: position.y + thisObject.payload.floatingObject.currentImageSize / 2 + lineSeparator * 4
if (thisObject.isOnFocus === true) {
labelPoint = {
x: position.x - getTextWidth(label) / 2,
y: position.y + radius * 2 / 3 + lineSeparator * 4 + 30
}
} else {
labelPoint = {
x: position.x - getTextWidth(label) / 2,
y: position.y + thisObject.payload.floatingObject.currentImageSize / 2 + lineSeparator * 4
}
}
}
@@ -511,7 +511,7 @@ function newLayer() {
}
}
} else {
UI.projects.foundations.utilities.nodeConfig.savePropertyAtNodeConfig(thisObject.payload, 'showPanels', panelsVisibleButton.showPanels)
UI.projects.foundations.utilities.nodeConfig.saveConfigProperty(thisObject.payload, 'showPanels', panelsVisibleButton.showPanels)
}
}
}
@@ -560,7 +560,7 @@ function newLayer() {
}
}
UI.projects.foundations.utilities.nodeConfig.savePropertyAtNodeConfig(thisObject.payload, 'status', thisObject.status)
UI.projects.foundations.utilities.nodeConfig.saveConfigProperty(thisObject.payload, 'status', thisObject.status)
let eventData = thisObject
thisObject.container.eventHandler.raiseEvent('Status Changed', eventData)
}
@@ -114,7 +114,7 @@ function newLayersPanel() {
}
function saveObjectStateVisibleLayers() {
UI.projects.foundations.utilities.nodeConfig.savePropertyAtNodeConfig(thisObject.payload, 'visibleLayers', desiredVisibleLayers)
UI.projects.foundations.utilities.nodeConfig.saveConfigProperty(thisObject.payload, 'visibleLayers', desiredVisibleLayers)
}
function saveObjectStatePanelLocation() {
@@ -122,7 +122,7 @@ function newLayersPanel() {
upOrDown: thisObject.upDownButton.status,
leftOrRight: thisObject.leftRightButton.status
}
UI.projects.foundations.utilities.nodeConfig.savePropertyAtNodeConfig(thisObject.payload, 'panelLocation', panelLocation)
UI.projects.foundations.utilities.nodeConfig.saveConfigProperty(thisObject.payload, 'panelLocation', panelLocation)
}
function readObjectState() {
@@ -1,12 +1,12 @@
function newFoundationsUtilitiesNodeConfig() {
let thisObject = {
savePropertyAtNodeConfig: savePropertyAtNodeConfig,
saveConfigProperty: saveConfigProperty,
loadConfigProperty: loadConfigProperty
}
return thisObject
function savePropertyAtNodeConfig(payload, propertyName, value) {
function saveConfigProperty(payload, propertyName, value) {
try {
let config = JSON.parse(payload.node.config)
config[propertyName] = value
@@ -6,7 +6,7 @@ function newFoundationsUtilitiesStatusBar() {
return thisObject
function changeStatus(newStatus) {
let statusParagraph = document.getElementById('credits-page-status-paragraph')
let statusParagraph = document.getElementById('splash-text-status-paragraph')
statusParagraph.lastChild.data = newStatus
try {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

@@ -1 +1,212 @@
{"type":"Features","name":"Superalgos","project":"Governance","featureClasses":[{"type":"Feature Class","name":"Superalgos","config":"{\n \"description\": \"\", \"relativeWeight\": 0 \n}","project":"Governance","featureClasses":[{"type":"Feature Class","name":"Visual Designer","config":"{\n \"description\": \"\", \"relativeWeight\": 0 \n}","project":"Governance","featureClasses":[],"features":[],"id":"18584f3f-6e48-4a68-89f1-0268185156e9","savedPayload":{"position":{"x":35870.70509831249,"y":38274.83557568774},"targetPosition":{"x":35628,"y":38098.5},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},{"type":"Feature Class","name":"Visual Debugger","config":"{\n \"description\": \"\", \"relativeWeight\": 0 \n}","project":"Governance","featureClasses":[],"features":[],"id":"0e329071-a542-405f-ae8c-2933098759c1","savedPayload":{"position":{"x":35720.70509831249,"y":38383.81695488855},"targetPosition":{"x":35628,"y":38098.5},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},{"type":"Feature Class","name":"Charting System","config":"{\n \"description\": \"\", \"relativeWeight\": 0 \n}","project":"Governance","featureClasses":[],"features":[],"id":"7edc83c0-74fc-4427-816d-4db5d840577f","savedPayload":{"position":{"x":35535.29490168751,"y":38383.81695488855},"targetPosition":{"x":35628,"y":38098.5},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},{"type":"Feature Class","name":"Data Mining","config":"{\n \"description\": \"\", \"relativeWeight\": 0 \n}","project":"Governance","featureClasses":[],"features":[],"id":"025c0e15-ad8d-49ae-b501-577bb82c207d","savedPayload":{"position":{"x":35385.29490168751,"y":38274.83557568774},"targetPosition":{"x":35628,"y":38098.5},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}}],"features":[],"id":"136b6e7a-f042-441b-84be-395b56b65b70","savedPayload":{"position":{"x":35628,"y":38098.5},"targetPosition":{"x":35628,"y":37798.5},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}}],"features":[],"id":"1d2c1985-c762-4ece-b350-15bd893bd1f4","savedPayload":{"position":{"x":35628,"y":37798.5},"targetPosition":{"x":35628,"y":37798.5},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"angleToParent":1,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}}
{
"type": "Features",
"name": "Superalgos",
"project": "Governance",
"featureClasses": [
{
"type": "Feature Class",
"name": "Superalgos",
"config": "{\n \"description\": \"\", \"relativeWeight\": 0 \n}",
"project": "Governance",
"featureClasses": [
{
"type": "Feature Class",
"name": "Visual Designer",
"config": "{\n \"description\": \"\", \"relativeWeight\": 0 \n}",
"project": "Governance",
"featureClasses": [],
"features": [],
"id": "18584f3f-6e48-4a68-89f1-0268185156e9",
"savedPayload": {
"position": {
"x": 35870.70509831249,
"y": 38274.83557568774
},
"targetPosition": {
"x": 35628,
"y": 38098.5
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
{
"type": "Feature Class",
"name": "Visual Debugger",
"config": "{\n \"description\": \"\", \"relativeWeight\": 0 \n}",
"project": "Governance",
"featureClasses": [],
"features": [],
"id": "0e329071-a542-405f-ae8c-2933098759c1",
"savedPayload": {
"position": {
"x": 35720.70509831249,
"y": 38383.81695488855
},
"targetPosition": {
"x": 35628,
"y": 38098.5
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
{
"type": "Feature Class",
"name": "Charting System",
"config": "{\n \"description\": \"\", \"relativeWeight\": 0 \n}",
"project": "Governance",
"featureClasses": [],
"features": [],
"id": "7edc83c0-74fc-4427-816d-4db5d840577f",
"savedPayload": {
"position": {
"x": 35535.29490168751,
"y": 38383.81695488855
},
"targetPosition": {
"x": 35628,
"y": 38098.5
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
{
"type": "Feature Class",
"name": "Data Mining",
"config": "{\n \"description\": \"\", \"relativeWeight\": 0 \n}",
"project": "Governance",
"featureClasses": [],
"features": [
{
"type": "Feature",
"name": "Feature X",
"config": "{}",
"project": "Governance",
"featureClasses": [],
"features": [],
"id": "1b9dd977-f388-4434-a3f9-2e7a10726848",
"savedPayload": {
"position": {
"x": 35142.58980337503,
"y": 38451.171151375485
},
"targetPosition": {
"x": 35385.29490168751,
"y": 38274.83557568774
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
}
],
"id": "025c0e15-ad8d-49ae-b501-577bb82c207d",
"savedPayload": {
"position": {
"x": 35385.29490168751,
"y": 38274.83557568774
},
"targetPosition": {
"x": 35628,
"y": 38098.5
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
}
],
"features": [],
"id": "136b6e7a-f042-441b-84be-395b56b65b70",
"savedPayload": {
"position": {
"x": 35628,
"y": 38098.5
},
"targetPosition": {
"x": 35628,
"y": 37798.5
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
}
],
"features": [],
"id": "1d2c1985-c762-4ece-b350-15bd893bd1f4",
"savedPayload": {
"position": {
"x": 35628,
"y": 37798.5
},
"targetPosition": {
"x": 35628,
"y": 37798.5
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
}
+167 -71
View File
@@ -6,7 +6,7 @@
"poolClasses": [
{
"type": "Pool Class",
"name": "Software",
"name": "Software Projects",
"config": "{\n \"description\": \"\"\n}",
"project": "Governance",
"poolClasses": [],
@@ -180,7 +180,7 @@
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"isCollapsed": true,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
@@ -213,12 +213,12 @@
"id": "6a456247-13b7-41f2-80b3-957c1af55009",
"savedPayload": {
"position": {
"x": 25599.401355365237,
"y": 30867.356170711148
"x": 25700.116150324728,
"y": 30728.73414780495
},
"targetPosition": {
"x": 25305.957075145096,
"y": 30804.98266346582
"x": 25400.116150324728,
"y": 30728.73414780495
},
"floatingObject": {
"isPinned": false,
@@ -243,12 +243,12 @@
"id": "5bbe5a09-fe32-4802-8e14-d06615a24510",
"savedPayload": {
"position": {
"x": 25398.66217345758,
"y": 31090.299618354366
"x": 25550.116150324728,
"y": 30988.541768940282
},
"targetPosition": {
"x": 25305.957075145096,
"y": 30804.98266346582
"x": 25400.116150324728,
"y": 30728.73414780495
},
"floatingObject": {
"isPinned": false,
@@ -267,12 +267,12 @@
"id": "95431b88-cbff-459c-a707-fd3518e79c73",
"savedPayload": {
"position": {
"x": 25305.957075145096,
"y": 30804.98266346582
"x": 25400.116150324728,
"y": 30728.73414780495
},
"targetPosition": {
"x": 25083.013627501878,
"y": 30604.243481558162
"x": 25140.308529189395,
"y": 30578.73414780495
},
"floatingObject": {
"isPinned": false,
@@ -304,12 +304,12 @@
"id": "6b4bee15-622d-4df6-9662-4d7b8d44f198",
"savedPayload": {
"position": {
"x": 24958.266613011223,
"y": 31191.132041998444
"x": 25140.308529189395,
"y": 31178.73414780495
},
"targetPosition": {
"x": 25020.64012025655,
"y": 30897.687761778303
"x": 25140.308529189395,
"y": 30878.73414780495
},
"floatingObject": {
"isPinned": false,
@@ -333,12 +333,12 @@
"id": "ab43c779-d6d6-451d-a444-cfb8b68df07e",
"savedPayload": {
"position": {
"x": 25020.64012025655,
"y": 30897.687761778303
"x": 25140.308529189395,
"y": 30878.73414780495
},
"targetPosition": {
"x": 25083.013627501878,
"y": 30604.243481558162
"x": 25140.308529189395,
"y": 30578.73414780495
},
"floatingObject": {
"isPinned": false,
@@ -358,8 +358,8 @@
"id": "85dbdcb9-5b59-432e-86a0-fab37e20a55d",
"savedPayload": {
"position": {
"x": 25083.013627501878,
"y": 30604.243481558162
"x": 25140.308529189395,
"y": 30578.73414780495
},
"targetPosition": {
"x": 24990.308529189395,
@@ -368,7 +368,7 @@
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"isCollapsed": true,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
@@ -393,20 +393,20 @@
"pools": [
{
"type": "Pool",
"name": "Usage",
"config": "{}",
"name": "Mentorship Program",
"config": "{\n \"codeName\": \"Mentorship-Program\"\n}",
"project": "Governance",
"poolClasses": [],
"pools": [],
"id": "60712b3c-ee76-40ba-8de2-e03aa61f6dde",
"savedPayload": {
"position": {
"x": 24808.183476228434,
"y": 31071.64273248506
"x": 25177.761863855485,
"y": 31018.51189569167
},
"targetPosition": {
"x": 24700.673091364843,
"y": 30791.5686045359
"x": 24917.954242720152,
"y": 30868.51189569167
},
"floatingObject": {
"isPinned": false,
@@ -423,20 +423,50 @@
},
{
"type": "Pool",
"name": "User Referrals",
"config": "{\n \"codeName\": \"User-Referrals\"\n}",
"name": "Referral Program",
"config": "{\n \"codeName\": \"Referral-Program\"\n}",
"project": "Governance",
"poolClasses": [],
"pools": [],
"id": "639a6504-a0d0-4d7e-ad99-80ba5115ac72",
"savedPayload": {
"position": {
"x": 24511.87697404989,
"y": 31024.71239297299
"x": 24995.59995625091,
"y": 31158.28964357839
},
"targetPosition": {
"x": 24700.673091364843,
"y": 30791.5686045359
"x": 24917.954242720152,
"y": 30868.51189569167
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
{
"type": "Pool",
"name": "Support-Program",
"config": "{\n\"codeName\": \"Support-Program\"\n}",
"project": "Governance",
"poolClasses": [],
"pools": [],
"id": "18fa6e35-77df-4446-87a9-9d3e6b83eb05",
"savedPayload": {
"position": {
"x": 24767.954242720152,
"y": 31128.319516827003
},
"targetPosition": {
"x": 24917.954242720152,
"y": 30868.51189569167
},
"floatingObject": {
"isPinned": false,
@@ -455,12 +485,12 @@
"id": "9b6c24b9-e21d-458b-b509-1828d40b4239",
"savedPayload": {
"position": {
"x": 24700.673091364843,
"y": 30791.5686045359
"x": 24917.954242720152,
"y": 30868.51189569167
},
"targetPosition": {
"x": 24747.603430876912,
"y": 30495.26210235736
"x": 24840.308529189395,
"y": 30578.73414780495
},
"floatingObject": {
"isPinned": false,
@@ -492,12 +522,12 @@
"id": "6b11cf29-2957-417d-a268-3569178eca9e",
"savedPayload": {
"position": {
"x": 24262.193234251947,
"y": 30847.933253732845
"x": 24540.308529189395,
"y": 31098.349390075615
},
"targetPosition": {
"x": 24504.89833256443,
"y": 30671.597678045102
"x": 24690.308529189395,
"y": 30838.541768940282
},
"floatingObject": {
"isPinned": false,
@@ -516,12 +546,12 @@
"id": "e2113b73-9a38-4c59-8fbe-95a7539379c5",
"savedPayload": {
"position": {
"x": 24504.89833256443,
"y": 30671.597678045102
"x": 24690.308529189395,
"y": 30838.541768940282
},
"targetPosition": {
"x": 24747.603430876912,
"y": 30495.26210235736
"x": 24840.308529189395,
"y": 30578.73414780495
},
"floatingObject": {
"isPinned": false,
@@ -545,20 +575,20 @@
"pools": [
{
"type": "Pool",
"name": "Stacking",
"config": "{\n \"description\": \"\"\n}",
"name": "Stacking-Program",
"config": "{\n \"codeName\": \"Staking-Program\"\n}",
"project": "Governance",
"poolClasses": [],
"pools": [],
"id": "ea79efd3-c3d9-4c80-a1d0-1cab106e0242",
"savedPayload": {
"position": {
"x": 24154.99042651983,
"y": 30401.40142333322
"x": 24260.753033415953,
"y": 30734.025574866464
},
"targetPosition": {
"x": 24451.29692869837,
"y": 30448.33176284529
"x": 24550.530781302674,
"y": 30656.379861335707
},
"floatingObject": {
"isPinned": false,
@@ -577,12 +607,12 @@
"id": "c7cd91a3-96b0-4115-aaaa-fddae1c1b246",
"savedPayload": {
"position": {
"x": 24451.29692869837,
"y": 30448.33176284529
"x": 24550.530781302674,
"y": 30656.379861335707
},
"targetPosition": {
"x": 24747.603430876912,
"y": 30495.26210235736
"x": 24840.308529189395,
"y": 30578.73414780495
},
"floatingObject": {
"isPinned": false,
@@ -602,8 +632,8 @@
"id": "ae18dd6f-80f7-4fa0-a386-7ffd75e45063",
"savedPayload": {
"position": {
"x": 24747.603430876912,
"y": 30495.26210235736
"x": 24840.308529189395,
"y": 30578.73414780495
},
"targetPosition": {
"x": 24990.308529189395,
@@ -1047,8 +1077,8 @@
"id": "86787666-908c-4b27-8265-cd460732030f",
"savedPayload": {
"position": {
"x": 24747.603430876912,
"y": 30142.590950981874
"x": 24690.308529189395,
"y": 30318.926526669617
},
"targetPosition": {
"x": 24990.308529189395,
@@ -1057,7 +1087,7 @@
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"isCollapsed": true,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
@@ -1084,12 +1114,12 @@
"id": "5d878af1-e32c-4458-8fb7-98df55f1e54a",
"savedPayload": {
"position": {
"x": 25175.71872581436,
"y": 29748.292616892526
"x": 24690.308529189395,
"y": 29799.31128439895
},
"targetPosition": {
"x": 25083.013627501878,
"y": 30033.60957178107
"x": 24840.308529189395,
"y": 30059.118905534284
},
"floatingObject": {
"isPinned": false,
@@ -1113,8 +1143,74 @@
"id": "a2acb2b1-c88f-47f2-b31b-b0cde52801ac",
"savedPayload": {
"position": {
"x": 25083.013627501878,
"y": 30033.60957178107
"x": 24840.308529189395,
"y": 30059.118905534284
},
"targetPosition": {
"x": 24990.308529189395,
"y": 30318.926526669617
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": true,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
{
"type": "Pool Class",
"name": "Features",
"config": "{}",
"project": "Governance",
"poolClasses": [],
"pools": [
{
"type": "Pool",
"name": "Features",
"config": "{}",
"project": "Governance",
"poolClasses": [],
"pools": [],
"id": "2d34ec1b-e281-4163-a44b-6ac33a54e002",
"savedPayload": {
"position": {
"x": 25290.308529189395,
"y": 29799.31128439895
},
"targetPosition": {
"x": 25140.308529189395,
"y": 30059.118905534284
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
},
"referenceParent": {
"type": "Features",
"name": "Superalgos",
"id": "1d2c1985-c762-4ece-b350-15bd893bd1f4"
}
}
}
],
"id": "8c3175a1-17aa-4e27-bcbe-063468ecc87e",
"savedPayload": {
"position": {
"x": 25140.308529189395,
"y": 30059.118905534284
},
"targetPosition": {
"x": 24990.308529189395,
@@ -1148,7 +1244,7 @@
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": true,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
@@ -1,401 +1,307 @@
{
"type": "User Profile",
"name": "Julian-Molina",
"config": "{\n \"codeName\": \"\",\n \"tokens\": 500000\n}",
"config": "{\n \"signature\": {\n \"message\": \"julian-molina\",\n \"messageHash\": \"0x34eae63163cc918a1a1fab82836b0f15e33051925812cf7d5f8ffe5ff0854f2c\",\n \"v\": \"0x1b\",\n \"r\": \"0x8560ff34239215408cb869d3c90c30ed11ab6634c4269b255d2b4159b7690fe5\",\n \"s\": \"0x017b2c5e080b0f340dcd09f8ba5c67119a3b62c375252d96f541c57db109a0b7\",\n \"signature\": \"0x8560ff34239215408cb869d3c90c30ed11ab6634c4269b255d2b4159b7690fe5017b2c5e080b0f340dcd09f8ba5c67119a3b62c375252d96f541c57db109a0b71b\"\n }\n}",
"project": "Governance",
"contributionClaims": {
"type": "Contribution Claims",
"name": "New Contribution Claims",
"tokenPowerSwitch": {
"type": "Token Power Switch",
"name": "New Token Power Switch",
"config": "{}",
"project": "Governance",
"assetContributionsFolder": [
{
"type": "Asset Contributions Folder",
"name": "Tutorials",
"config": "{}",
"project": "Governance",
"assetContributionsFolder": [
{
"type": "Asset Contributions Folder",
"name": "Tutorials Created",
"config": "{}",
"project": "Governance",
"assetContributionsFolder": [],
"assetContributionClaims": [
{
"type": "Asset Contribution Claim",
"name": "",
"config": "{\n \"description\": \"\"\n}",
"project": "Governance",
"id": "b62215fd-405b-4b81-a446-d667de2fd23b",
"savedPayload": {
"position": {
"x": 26082.78190893733,
"y": 22758.100619195047
},
"targetPosition": {
"x": 25822.974287801997,
"y": 22908.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {},
"referenceParent": {
"type": "Asset",
"name": "Getting Started Tutorial",
"id": "6c3f251e-cb80-42b7-935b-23bcbe218f97"
}
}
}
],
"id": "30c01eef-80cf-4fb8-9231-af6694be0af9",
"savedPayload": {
"position": {
"x": 25822.974287801997,
"y": 22908.100619195047
},
"targetPosition": {
"x": 25563.166666666664,
"y": 23058.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
{
"type": "Asset Contributions Folder",
"name": "Tutorials Mantainance",
"config": "{}",
"project": "Governance",
"assetContributionsFolder": [],
"assetContributionClaims": [
{
"type": "Asset Contribution Claim",
"name": "",
"config": "{\n \"description\": \"\"\n}",
"project": "Governance",
"id": "4a841aaa-0730-4783-91be-87d718ee4e15",
"savedPayload": {
"position": {
"x": 26082.78190893733,
"y": 23358.100619195047
},
"targetPosition": {
"x": 25822.974287801997,
"y": 23208.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {},
"referenceParent": {
"type": "Asset",
"name": "Getting Started Tutorial",
"id": "6c3f251e-cb80-42b7-935b-23bcbe218f97"
}
}
}
],
"id": "03cd14ee-432e-4c7c-b2b0-79dc24d07820",
"savedPayload": {
"position": {
"x": 25822.974287801997,
"y": 23208.100619195047
},
"targetPosition": {
"x": 25563.166666666664,
"y": 23058.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
"referralProgram": {
"type": "Referral Program",
"name": "New Referral Program",
"config": "{}",
"project": "Governance",
"userReferrers": [
{
"type": "User Referrer",
"name": "Jeremy",
"config": "{}",
"project": "Governance",
"id": "0aa9db01-7605-4a51-abd9-e233de6721d6",
"savedPayload": {
"position": {
"x": 25532.618466191747,
"y": 23465.846712854385
},
"targetPosition": {
"x": 25233.45732703739,
"y": 23488.265740930314
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {},
"referenceParent": {
"type": "User Profile",
"name": "Jeremy",
"id": "759e9012-c995-47ed-92f1-7d204bf2b58e"
}
}
],
"assetContributionClaims": [],
"id": "9318707a-afa0-4c84-8028-473eb448f96b",
}
],
"tokensAwarded": {
"type": "Tokens Awarded",
"name": "New Tokens Awarded",
"project": "Governance",
"id": "208f866a-459d-4dd8-93ea-1a2b8bfa3dac",
"savedPayload": {
"position": {
"x": 25563.166666666664,
"y": 23058.100619195047
"x": 25402.453344456477,
"y": 23736.137373225112
},
"targetPosition": {
"x": 25263.166666666664,
"y": 23058.100619195047
"x": 25233.45732703739,
"y": 23488.265740930314
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
"uiObject": {}
}
},
"id": "a9ddce61-97b0-47e8-ad6c-e9438aca3913",
"savedPayload": {
"position": {
"x": 25233.45732703739,
"y": 23488.265740930314
},
"targetPosition": {
"x": 24963.166666666664,
"y": 23358.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": true,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
],
"featureContributionsFolder": [],
"positionContributionsFolder": [],
"id": "43a4118b-fc68-46a9-a7d8-fa4baafa5ad6",
"savedPayload": {
"position": {
"x": 25263.166666666664,
"y": 23058.100619195047
},
"targetPosition": {
"x": 24963.166666666664,
"y": 23058.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
"votesDistribution": {
"type": "Votes Distribution",
"name": "New Votes Distribution",
"config": "{\n\"codeName\": \"\"\n}",
"project": "Governance",
"votesSwitch": [
{
"type": "Votes Switch",
"name": "Test",
"config": "{\n \"description\": \"\"\n}",
},
"mentorshipProgram": {
"type": "Mentorship Program",
"name": "New Mentorship Program",
"config": "{}",
"project": "Governance",
"userMentors": [
{
"type": "User Mentor",
"name": "Jeremy",
"config": "{}",
"project": "Governance",
"id": "0e176a01-3ed2-4b02-b070-601236ea2393",
"savedPayload": {
"position": {
"x": 25429.475731817543,
"y": 23702.252371245373
},
"targetPosition": {
"x": 25150.213607224283,
"y": 23592.650063935456
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {},
"referenceParent": {
"type": "User Profile",
"name": "Jeremy",
"id": "759e9012-c995-47ed-92f1-7d204bf2b58e"
}
}
}
],
"tokensAwarded": {
"type": "Tokens Awarded",
"name": "New Tokens Awarded",
"project": "Governance",
"votesSwitch": [],
"claimVotesSwitch": [
{
"type": "Claim Votes Switch",
"name": "New Claim Votes Switch",
"config": "{}",
"project": "Governance",
"claimVotesSwitch": [],
"positionClaimVotes": [
{
"type": "Position Claim Vote",
"name": "Luis-Fernando-Molina Project Leader Superalgos",
"config": "{}",
"project": "Governance",
"id": "ab4d6901-a84c-44d3-a97a-7bc14de9ff31",
"savedPayload": {
"position": {
"x": 25113.166666666664,
"y": 23837.523482601046
},
"targetPosition": {
"x": 24813.166666666664,
"y": 23837.523482601046
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {},
"referenceParent": {
"type": "Position Contribution Claim",
"name": "Project Leader Superalgos",
"id": "a2bb4366-f480-4685-80b0-e40af9cddd8c"
}
}
},
{
"type": "Position Claim Vote",
"name": "Luis-Fernando-Molina Project Leader Superalgos",
"config": "{}",
"project": "Governance",
"id": "2248b955-af4b-42e6-9649-9b6a689d0ade",
"savedPayload": {
"position": {
"x": 24663.166666666664,
"y": 24097.33110373638
},
"targetPosition": {
"x": 24813.166666666664,
"y": 23837.523482601046
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {},
"referenceParent": {
"type": "Position Contribution Claim",
"name": "Project Leader Superalgos",
"id": "be2aedec-06fd-41fa-8599-08105931f75f"
}
}
}
],
"assetClaimVotes": [],
"featureClaimVotes": [],
"id": "6029fd9b-94b4-4b62-960a-14fb88107cdb",
"savedPayload": {
"position": {
"x": 24813.166666666664,
"y": 23837.523482601046
},
"targetPosition": {
"x": 24663.166666666664,
"y": 23577.715861465713
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
}
],
"weightVotesSwitch": [
{
"type": "Weight Votes Switch",
"name": "New Weight Votes Switch",
"config": "{}",
"project": "Governance",
"weightVotesSwitch": [],
"poolWeightVotes": [],
"assetWeightVotes": [],
"featureWeightVotes": [],
"positionWeightVotes": [
{
"type": "Position Weight Vote",
"name": "Superalgos Project Leader",
"config": "{}",
"project": "Governance",
"id": "11a8ac12-eba4-472d-b44b-8783720f8c6a",
"savedPayload": {
"position": {
"x": 24063.166666666664,
"y": 23577.715861465713
},
"targetPosition": {
"x": 24363.166666666664,
"y": 23577.715861465713
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {},
"referenceParent": {
"type": "Position",
"name": "Project Leader",
"id": "5f694173-4568-46b2-a52c-4244320919f7"
}
}
}
],
"id": "d98792e3-620f-4827-b17f-74096a2fe5c8",
"savedPayload": {
"position": {
"x": 24363.166666666664,
"y": 23577.715861465713
},
"targetPosition": {
"x": 24663.166666666664,
"y": 23577.715861465713
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
}
],
"userProfileVotesSwitch": [],
"id": "f4127f8b-eb94-4e5e-aea9-71ea43ba5b5b",
"id": "27f046ba-de7c-45a3-9086-d6f4e0ac0fd7",
"savedPayload": {
"position": {
"x": 24663.166666666664,
"y": 23577.715861465713
"x": 25194.926287077134,
"y": 23889.299311802995
},
"targetPosition": {
"x": 24813.166666666664,
"y": 23317.90824033038
"x": 25150.213607224283,
"y": 23592.650063935456
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
"uiObject": {}
}
},
"id": "362a1ecb-dce9-4ebb-9b00-a20d3631f2f3",
"savedPayload": {
"position": {
"x": 25150.213607224283,
"y": 23592.650063935456
},
"targetPosition": {
"x": 24963.166666666664,
"y": 23358.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": true,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
],
"id": "84b2e7e0-577a-4edc-98fd-003905decb99",
},
"supportProgram": {
"type": "Support Program",
"name": "New Support Program",
"config": "{}",
"project": "Governance",
"userSupports": [],
"id": "f1020b53-23d4-4fea-b5d3-5409e13197a9",
"savedPayload": {
"position": {
"x": 25029.92294685356,
"y": 23650.578992849594
},
"targetPosition": {
"x": 24963.166666666664,
"y": 23358.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
"votingProgram": {
"type": "Voting Program",
"name": "New Voting Program",
"config": "{}",
"project": "Governance",
"votesSwitch": [],
"id": "0b2863a0-d280-4a9a-9e2c-fe5bdbc54854",
"savedPayload": {
"position": {
"x": 24896.41038647977,
"y": 23650.578992849594
},
"targetPosition": {
"x": 24963.166666666664,
"y": 23358.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
"claimsProgram": {
"type": "Claims Program",
"name": "New Claims Program",
"config": "{}",
"project": "Governance",
"assetClaimsFolders": [],
"featureClaimsFolders": [],
"positionClaimsFolders": [],
"id": "bec9399a-9f85-4cb5-bff4-9938a3bc7ac4",
"savedPayload": {
"position": {
"x": 24776.119726109046,
"y": 23592.650063935456
},
"targetPosition": {
"x": 24963.166666666664,
"y": 23358.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
"stackingProgram": {
"type": "Staking Program",
"name": "New Staking Program",
"config": "{}",
"project": "Governance",
"id": "d66a7bf2-963a-4d28-b896-c41e83f610ae",
"savedPayload": {
"position": {
"x": 24692.876006295937,
"y": 23488.265740930314
},
"targetPosition": {
"x": 24963.166666666664,
"y": 23358.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
"id": "86a8ca4c-76d4-4eb0-9acb-5650095c6667",
"savedPayload": {
"position": {
"x": 24813.166666666664,
"y": 23317.90824033038
"x": 24963.166666666664,
"y": 23358.100619195047
},
"targetPosition": {
"x": 24963.166666666664,
@@ -405,7 +311,7 @@
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
@@ -414,37 +320,6 @@
}
}
},
"userReferrer": {
"type": "User Referrer",
"name": "Luis-Fernando-Molina",
"config": "{\n \"description\": \"\"\n}",
"project": "Governance",
"id": "edf7bcda-23f6-49bb-b9b2-9a34edcb4a40",
"savedPayload": {
"position": {
"x": 24813.166666666664,
"y": 22798.292998059715
},
"targetPosition": {
"x": 24963.166666666664,
"y": 23058.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {},
"referenceParent": {
"type": "User Profile",
"name": "Luis-Fernando-Molina",
"id": "148911b3-b2f3-44fb-8cb4-017991789132"
}
}
},
"id": "1fd95e41-4b22-48d5-be3a-904c37afcb11",
"savedPayload": {
"position": {
@@ -458,8 +333,8 @@
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": true,
"angleToParent": 1,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
File diff suppressed because it is too large. Load diff
@@ -144,32 +144,6 @@
"type": "Governance Project",
"name": "New Governance Project",
"project": "Governance",
"projectDefinition": {
"type": "Project Definition",
"name": "Governance",
"config": "{ \n \"codeName\": \"Governance\"\n}",
"project": "Foundations",
"id": "ba1aa656-d184-493a-b332-e4db109065f0",
"savedPayload": {
"position": {
"x": 13832,
"y": 10738.5
},
"targetPosition": {
"x": 13532,
"y": 10738.5
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {}
}
},
"id": "db380c52-cf90-475b-87df-c005dd51cdf6",
"savedPayload": {
"position": {
@@ -193,369 +167,6 @@
}
}
},
{
"type": "User Profile",
"name": "Julian-Molina",
"config": "{\n \"codeName\": \"\",\n \"tokens\": 500000\n}",
"project": "Governance",
"contributionClaims": {
"type": "Contribution Claims",
"name": "New Contribution Claims",
"config": "{}",
"project": "Governance",
"assetContributionsFolder": [
{
"type": "Asset Contributions Folder",
"name": "Tutorials",
"config": "{}",
"project": "Governance",
"assetContributionsFolder": [
{
"type": "Asset Contributions Folder",
"name": "Tutorials Created",
"config": "{}",
"project": "Governance",
"assetContributionsFolder": [],
"assetContributionClaims": [
{
"type": "Asset Contribution Claim",
"name": "",
"config": "{\n \"description\": \"\"\n}",
"project": "Governance",
"id": "b62215fd-405b-4b81-a446-d667de2fd23b",
"savedPayload": {
"position": {
"x": 26082.78190893733,
"y": 22758.100619195047
},
"targetPosition": {
"x": 25822.974287801997,
"y": 22908.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {},
"referenceParent": {
"type": "Asset",
"name": "Getting Started Tutorial",
"id": "6c3f251e-cb80-42b7-935b-23bcbe218f97"
}
}
}
],
"id": "30c01eef-80cf-4fb8-9231-af6694be0af9",
"savedPayload": {
"position": {
"x": 25822.974287801997,
"y": 22908.100619195047
},
"targetPosition": {
"x": 25563.166666666664,
"y": 23058.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
{
"type": "Asset Contributions Folder",
"name": "Tutorials Mantainance",
"config": "{}",
"project": "Governance",
"assetContributionsFolder": [],
"assetContributionClaims": [
{
"type": "Asset Contribution Claim",
"name": "",
"config": "{\n \"description\": \"\"\n}",
"project": "Governance",
"id": "4a841aaa-0730-4783-91be-87d718ee4e15",
"savedPayload": {
"position": {
"x": 26082.78190893733,
"y": 23358.100619195047
},
"targetPosition": {
"x": 25822.974287801997,
"y": 23208.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {},
"referenceParent": {
"type": "Asset",
"name": "Getting Started Tutorial",
"id": "6c3f251e-cb80-42b7-935b-23bcbe218f97"
}
}
}
],
"id": "03cd14ee-432e-4c7c-b2b0-79dc24d07820",
"savedPayload": {
"position": {
"x": 25822.974287801997,
"y": 23208.100619195047
},
"targetPosition": {
"x": 25563.166666666664,
"y": 23058.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
}
],
"assetContributionClaims": [],
"id": "9318707a-afa0-4c84-8028-473eb448f96b",
"savedPayload": {
"position": {
"x": 25563.166666666664,
"y": 23058.100619195047
},
"targetPosition": {
"x": 25263.166666666664,
"y": 23058.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
}
],
"featureContributionsFolder": [],
"positionContributionsFolder": [],
"id": "43a4118b-fc68-46a9-a7d8-fa4baafa5ad6",
"savedPayload": {
"position": {
"x": 25263.166666666664,
"y": 23058.100619195047
},
"targetPosition": {
"x": 24963.166666666664,
"y": 23058.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
"votesDistribution": {
"type": "Votes Distribution",
"name": "New Votes Distribution",
"config": "{\n\"codeName\": \"\"\n}",
"project": "Governance",
"votesSwitch": [
{
"type": "Votes Switch",
"name": "Test",
"config": "{\n \"description\": \"\"\n}",
"project": "Governance",
"votesSwitch": [],
"claimVotesSwitch": [],
"weightVotesSwitch": [],
"userProfileVotesSwitch": [],
"id": "f4127f8b-eb94-4e5e-aea9-71ea43ba5b5b",
"savedPayload": {
"position": {
"x": 24663.166666666664,
"y": 23577.715861465713
},
"targetPosition": {
"x": 24813.166666666664,
"y": 23317.90824033038
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
}
],
"id": "84b2e7e0-577a-4edc-98fd-003905decb99",
"savedPayload": {
"position": {
"x": 24813.166666666664,
"y": 23317.90824033038
},
"targetPosition": {
"x": 24963.166666666664,
"y": 23058.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
"userReferrer": {
"type": "User Referrer",
"name": "",
"config": "{\n \"description\": \"\"\n}",
"project": "Governance",
"id": "edf7bcda-23f6-49bb-b9b2-9a34edcb4a40",
"savedPayload": {
"position": {
"x": 24813.166666666664,
"y": 22798.292998059715
},
"targetPosition": {
"x": 24963.166666666664,
"y": 23058.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {}
}
},
"id": "1fd95e41-4b22-48d5-be3a-904c37afcb11",
"savedPayload": {
"position": {
"x": 24963.166666666664,
"y": 23058.100619195047
},
"targetPosition": {
"x": 24963.166666666664,
"y": 23058.100619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": true,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
{
"type": "Positions",
"name": "Superalgos",
"project": "Governance",
"positionClasss": [],
"positions": [
{
"type": "Position",
"name": "Project Leader",
"config": "{\n \"description\": \"\", \"relativeWeight\": 0 \n}",
"project": "Governance",
"positions": [],
"positionClasss": [],
"id": "5f694173-4568-46b2-a52c-4244320919f7",
"savedPayload": {
"position": {
"x": 30231,
"y": 38070
},
"targetPosition": {
"x": 30231,
"y": 37770
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
}
],
"id": "50c68665-5da2-48a8-b229-7a1563ae82d2",
"savedPayload": {
"position": {
"x": 30231,
"y": 37770
},
"targetPosition": {
"x": 30231,
"y": 37770
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": true,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
{
"type": "Docs Space",
"name": "New Docs Space",
@@ -1172,8 +783,36 @@
"id": "8d15645e-8cdf-4aba-a8d0-e8a4aeeae35f",
"savedPayload": {
"position": {
"x": 35331.25096043528,
"y": 10800.794129455984
"x": 35428.97902204032,
"y": 10921.478234845728
},
"targetPosition": {
"x": 35605.314597728066,
"y": 10678.773136533244
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
},
{
"type": "Plugin File",
"name": "Julian-Molina",
"config": "{\n \"project\": \"Governance\",\n \"fileName\": \"Julian-Molina\"\n}",
"project": "Foundations",
"id": "39cd9f98-5266-4eee-ace2-cad6db5b29e4",
"savedPayload": {
"position": {
"x": 35306.95802911758,
"y": 10647.414597552948
},
"targetPosition": {
"x": 35605.314597728066,
@@ -1206,7 +845,7 @@
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": true,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
@@ -1521,7 +1160,7 @@
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"isCollapsed": true,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
@@ -1559,7 +1198,36 @@
"type": "Plugin Positions",
"name": "New Plugin Positions",
"project": "Governance",
"pluginFiles": [],
"pluginFiles": [
{
"type": "Plugin File",
"name": "Superalgos",
"config": "{\n \"project\": \"Governance\",\n \"fileName\": \"Superalgos\"\n}",
"project": "Foundations",
"id": "ccaa3acb-687b-4e61-8a15-251f5524ed13",
"savedPayload": {
"position": {
"x": 35942.095312981444,
"y": 9960.039006389541
},
"targetPosition": {
"x": 35910.73677400115,
"y": 10258.395575000022
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": true,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
}
],
"id": "4adb08aa-1703-4a6d-a8f5-eec6f5d8d1cc",
"savedPayload": {
"position": {
@@ -1573,7 +1241,7 @@
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"isCollapsed": true,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
@@ -1657,6 +1325,34 @@
"isRunning": false
}
}
},
{
"type": "User Profile",
"name": "Jeremy",
"config": "{\n \"codeName\": \"\",\n \"tokens\": 1000\n}",
"project": "Governance",
"id": "759e9012-c995-47ed-92f1-7d204bf2b58e",
"savedPayload": {
"position": {
"x": 19667.166666666664,
"y": 23061.600619195047
},
"targetPosition": {
"x": 19667.166666666664,
"y": 23061.600619195047
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"angleToParent": 2,
"distanceToParent": 3,
"arrangementStyle": 0
},
"uiObject": {
"isRunning": false
}
}
}
]
}
@@ -1,5 +1,5 @@
{
"type": "Asset Contributions Folder",
"type": "Asset Claims Folder",
"menuItems": [
{
"action": "Configure",
@@ -8,12 +8,21 @@
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Install Missing Claims",
"actionProject": "Governance",
"actionFunction": "payload.executeAction",
"label": "Install Missing Claims",
"relatedUiObject": "Asset Contribution Claim",
"askConfirmation": true,
"confirmationLabel": "Confirm to Install"
},
{
"action": "Add UI Object",
"actionProject": "Foundations",
"actionFunction": "payload.executeAction",
"label": "Add Asset Contributions Folder",
"relatedUiObject": "Asset Contributions Folder"
"label": "Add Asset Claims Folder",
"relatedUiObject": "Asset Claims Folder"
},
{
"action": "Add UI Object",
@@ -42,14 +51,17 @@
"addLeftIcons": true,
"level": 2,
"attachingRules": {
"compatibleTypes": "->Contribution Claims->Asset Contributions Folder->"
"compatibleTypes": "->Claims Program->Asset Claims Folder->"
},
"propertyNameAtParent": "assetContributionsFolder",
"referencingRules": {
"compatibleTypes": "->Asset Class->"
},
"propertyNameAtParent": "assetClaimsFolders",
"childrenNodesProperties": [
{
"name": "assetContributionsFolder",
"name": "assetClaimsFolders",
"type": "array",
"childType": "Asset Contributions Folder",
"childType": "Asset Claims Folder",
"autoAdd": false
},
{
@@ -9,9 +9,9 @@
"iconPathOff": "configuration"
},
{
"action": "Install Assets",
"action": "Install Missing Assets",
"actionProject": "Governance",
"label": "Install Assets",
"label": "Install Missing Assets",
"askConfirmation": true,
"confirmationLabel": "Confirm to Proceed",
"workDoneLabel": "Done",
@@ -33,7 +33,7 @@
"addLeftIcons": true,
"level": 2,
"attachingRules": {
"compatibleTypes": "->Asset Contributions Folder->"
"compatibleTypes": "->Asset Claims Folder->"
},
"referencingRules": {
"compatibleTypes": "->Asset->"
@@ -9,9 +9,9 @@
"iconPathOff": "configuration"
},
{
"action": "Install Assets",
"action": "Install Missing Assets",
"actionProject": "Governance",
"label": "Install Assets",
"label": "Install Missing Assets",
"askConfirmation": true,
"confirmationLabel": "Confirm to Proceed",
"workDoneLabel": "Done",
@@ -9,10 +9,10 @@
"iconPathOff": "configuration"
},
{
"action": "Install Votes",
"action": "Install Missing Votes",
"actionProject": "Governance",
"actionFunction": "payload.executeAction",
"label": "Install Votes",
"label": "Install Missing Votes",
"relatedUiObject": "Weight Votes Switch",
"askConfirmation": true,
"confirmationLabel": "Confirm to Install"
@@ -65,7 +65,7 @@
"addLeftIcons": true,
"level": 2,
"referencingRules": {
"compatibleTypes": "->Pools->Pool Class->Assets->Asset Class->Features->Feature Class->Positions->Position Class->"
"compatibleTypes": "->Asset Claims Folder->Feature Claims Folder->Position Claims Folder->"
},
"attachingRules": {
"compatibleTypes": "->Claim Votes Switch->Votes Switch->"
@@ -1,5 +1,5 @@
{
"type": "Contribution Claims",
"type": "Claims Program",
"menuItems": [
{
"action": "Configure",
@@ -11,23 +11,32 @@
{
"action": "Add UI Object",
"actionProject": "Foundations",
"label": "Add Asset Contributions Folder",
"relatedUiObject": "Asset Contributions Folder",
"label": "Add Asset Claims Folder",
"relatedUiObject": "Asset Claims Folder",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"actionProject": "Foundations",
"actionFunction": "payload.executeAction",
"label": "Add Feature Contributions Folder",
"relatedUiObject": "Feature Contributions Folder"
"label": "Add Feature Claims Folder",
"relatedUiObject": "Feature Claims Folder"
},
{
"action": "Add UI Object",
"actionProject": "Foundations",
"actionFunction": "payload.executeAction",
"label": "Add Position Contributions Folder",
"relatedUiObject": "Position Contributions Folder"
"label": "Add Position Claims Folder",
"relatedUiObject": "Position Claims Folder"
},
{
"action": "Add UI Object",
"actionProject": "Foundations",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "tokensAwarded",
"actionFunction": "payload.executeAction",
"label": "Add Tokens Awarded",
"relatedUiObject": "Tokens Awarded"
},
{
"action": "Delete UI Object",
@@ -47,29 +56,35 @@
"config": "{}"
},
"attachingRules": {
"compatibleTypes": "->User Profile->"
"compatibleTypes": "->Token Power Switch->"
},
"addLeftIcons": true,
"level": 1,
"propertyNameAtParent": "contributionClaims",
"propertyNameAtParent": "claimsProgram",
"childrenNodesProperties": [
{
"name": "assetContributionsFolder",
"name": "assetClaimsFolders",
"type": "array",
"childType": "Asset Contributions Folder",
"childType": "Asset Claims Folder",
"autoAdd": false
},
{
"name": "featureContributionsFolder",
"name": "featureClaimsFolders",
"type": "array",
"childType": "Feature Contributions Folder",
"childType": "Feature Claims Folder",
"autoAdd": false
},
{
"name": "positionContributionsFolder",
"name": "positionClaimsFolders",
"type": "array",
"childType": "Position Contributions Folder",
"childType": "Position Claims Folder",
"autoAdd": false
},
{
"name": "tokensAwarded",
"type": "node",
"childType": "Tokens Awarded",
"autoAdd": true
}
]
}
Loaded 100 of 150 files, more files were not shown because too many files have changed in this diff. Show more