Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20ae09fba9 |
@ -1,9 +1,3 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>FLO Standard Operators</title>
|
|
||||||
<script id="floGlobals">
|
|
||||||
/* Constants for FLO blockchain operations !!Make sure to add this at begining!! */
|
/* Constants for FLO blockchain operations !!Make sure to add this at begining!! */
|
||||||
const floGlobals = {
|
const floGlobals = {
|
||||||
|
|
||||||
@ -33,15 +27,7 @@
|
|||||||
generalData: {},
|
generalData: {},
|
||||||
generalVC: {}
|
generalVC: {}
|
||||||
}
|
}
|
||||||
</script>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body onload="onLoadStartUp()">
|
|
||||||
TEST_MODE
|
|
||||||
(use console)
|
|
||||||
|
|
||||||
<script id="init_lib">
|
|
||||||
//All util libraries required for Standard operations (DO NOT EDIT ANY)
|
//All util libraries required for Standard operations (DO NOT EDIT ANY)
|
||||||
|
|
||||||
/* Reactor Event handling */
|
/* Reactor Event handling */
|
||||||
@ -7015,9 +7001,7 @@ Bitcoin.Util = {
|
|||||||
return obj
|
return obj
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
</script>
|
|
||||||
|
|
||||||
<script id="floCrypto">
|
|
||||||
/* FLO Crypto Operators*/
|
/* FLO Crypto Operators*/
|
||||||
const floCrypto = {
|
const floCrypto = {
|
||||||
|
|
||||||
@ -7299,8 +7283,7 @@ Bitcoin.Util = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
|
||||||
<script id="floBlockchainAPI">
|
|
||||||
/* FLO Blockchain Operator to send/receive data from blockchain using API calls*/
|
/* FLO Blockchain Operator to send/receive data from blockchain using API calls*/
|
||||||
const floBlockchainAPI = {
|
const floBlockchainAPI = {
|
||||||
|
|
||||||
@ -7723,8 +7706,7 @@ Bitcoin.Util = {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
|
||||||
<script id="floSupernode">
|
|
||||||
/* flo Supernode Operators to send/receive data from supernodes using websocket */
|
/* flo Supernode Operators to send/receive data from supernodes using websocket */
|
||||||
const floSupernode = {
|
const floSupernode = {
|
||||||
|
|
||||||
@ -8360,8 +8342,7 @@ Bitcoin.Util = {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
|
||||||
<script id="compactIDB">
|
|
||||||
/* Compact IndexedDB operations */
|
/* Compact IndexedDB operations */
|
||||||
|
|
||||||
window.indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
|
window.indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
|
||||||
@ -8548,8 +8529,7 @@ Bitcoin.Util = {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
|
||||||
<script id="floCloudAPI">
|
|
||||||
/* FLO Cloud operations to send/request application data*/
|
/* FLO Cloud operations to send/request application data*/
|
||||||
const floCloudAPI = {
|
const floCloudAPI = {
|
||||||
|
|
||||||
@ -8748,8 +8728,7 @@ Bitcoin.Util = {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
|
||||||
<script id="floDapps">
|
|
||||||
/* General functions for FLO Dapps*/
|
/* General functions for FLO Dapps*/
|
||||||
const floDapps = {
|
const floDapps = {
|
||||||
|
|
||||||
@ -9132,8 +9111,7 @@ Bitcoin.Util = {
|
|||||||
|
|
||||||
reactor.registerEvent("startUpErrorLog");
|
reactor.registerEvent("startUpErrorLog");
|
||||||
reactor.addEventListener("startUpErrorLog", log => console.error(log))
|
reactor.addEventListener("startUpErrorLog", log => console.error(log))
|
||||||
</script>
|
|
||||||
<script id="onLoadStartUp">
|
|
||||||
function onLoadStartUp() {
|
function onLoadStartUp() {
|
||||||
|
|
||||||
//floDapps.addStartUpFunction('Sample', Promised Function)
|
//floDapps.addStartUpFunction('Sample', Promised Function)
|
||||||
@ -9146,6 +9124,3 @@ Bitcoin.Util = {
|
|||||||
//App functions....
|
//App functions....
|
||||||
}).catch(error => console.error(error))
|
}).catch(error => console.error(error))
|
||||||
}
|
}
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
Loading…
Reference in New Issue
Block a user