MCPcopy Create free account
hub / github.com/SmartTokenLabs/TokenScript / passiveRenegotiateAll

Function passiveRenegotiateAll

bootstrap-js/tokenscript-bootstrap.js:1186–1199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1184 }
1185
1186 async function passiveRenegotiateAll(){
1187 if (!tsActive) return;
1188
1189 await init();
1190
1191 if (!bar) return;
1192 if (!tokenNodesList) {
1193 return;
1194 }
1195 let tokens = Object.keys(tokenNodesList);
1196 // console.log('lets renegotiate');
1197 // console.log(tokens);
1198 tokens.forEach(tokenName=>negotiate(tokenName,tokenNodesList[tokenName].filter, tsDebug))
1199 }
1200
1201 async function setDefMessageAndBtn(filter = ''){
1202 if (!bar ) return;

Callers

nothing calls this directly

Calls 2

initFunction · 0.85
negotiateFunction · 0.85

Tested by

no test coverage detected