Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bithalo committed Nov 17, 2024
1 parent b9d355b commit cfaaf2e
Show file tree
Hide file tree
Showing 3 changed files with 262 additions and 23 deletions.
5 changes: 4 additions & 1 deletion extractedText.txt
Original file line number Diff line number Diff line change
Expand Up @@ -526,9 +526,12 @@
}
{
"59":{"#en": "Network/API options"},
"39":{"#en": "Detect nodes automatically"},
"39":{"#en": "Detect nodes automatically"}
}
{
"All of the code is open source under the 'Coinleft Public License for BitBay' which is a license that allows users free use of the software without granting them commercial rights to create a competing project by copying the code. If such an act was to be taken it must be negotiated with the BitBay community which would result in an airdrop or profit share to its users. This helps BitBay maintain it's competitive advantage in the industry while letting users fully validate the code itself. The code has also been audited multiple times and those reports are published on Github. Users and companies should continue to audit it proving it's safety.": true,
"Detect nodes automatically": true,
"Supply my own API keys": true,
"Register API Keys": true,
"You already have API keys saved would you like to remove them and make new ones? If not you will stay with the current keys.": true,
"Success": true,
Expand Down
40 changes: 38 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4075,8 +4075,8 @@ <h6>${translateThis("Transaction Pending")}</h6>
var locked = false;
var activeActions = {};
let pendingTransactions = [];
var nodeList = ["0xAcC26A4470399A27CC515C24EabEa0FF65E43409","0x273fbBbBf88AB572008eF2EC05B17b805789CE20"];
var gatewayList = [{"pub":"ZnE78c08JAxmfHBag9dARazkTlMQmMeSLk1cyeFF1MRwj6mUK0y/2jzb1bj4JeLXL8kFWaPGpkBxfakk1gPrFk3+DCmVPz9cXsgQgqWbcpBLALcyKDHpc5XSbBnRXnwQgyvvhQrB8Zj2fM4eIeOltWFK0HS0d2VIKjGANiG3ync=","address":"0xcB905a189b216B7E21d29CAdE9A6423E9C8Df81d","isAffiliate":true,"url":"https://crack-popular-jay.ngrok-free.app/api"}]
var nodeList = ["0xAcC26A4470399A27CC515C24EabEa0FF65E43409", "0xB967532AF84A0116CD78B2f82Cc960e9EcF415f9"];
var gatewayList = [{"pub":"zoukWEeLvakRN9DoJmlNFnhSXkBlkLjPXBzX/GbgzbreIdqqxc2AaBDt4aPfxvsM3/DaucrVQmX38bhCtxIQkBBoAfchmoU++DJfprCwDhr50qZVq2H/S/9VCcmsTC2/vBwN9JzWQeuMjkgbEK5BZKIB+wCrMvDqtOElNhRUpKk=","address":"0xAcC26A4470399A27CC515C24EabEa0FF65E43409","isAffiliate":true,"url":"https://popular-asp-native.ngrok-free.app/api"},{"pub":"5Nux9SZrTXrgSBbs+RkDBUmddhzbXOFtCt3+PgkmfX/iOs0aXDmaBb+EBhLaRpngMczRg569EoyS+2xpkoYbQ7hJoEW8u0djkcPnq0HLzxz9hUAAJP9uDriez6kn7lFb6cRDpVO9R9sxKZoC4YjD+9AikowXwJJLujOMvB11MYc=","address":"0xB967532AF84A0116CD78B2f82Cc960e9EcF415f9","isAffiliate":false,"url":"https://crack-popular-jay.ngrok-free.app/api"}]
var currentTxHash = null;
var showMod = false;
const statusDescriptions = {
Expand Down Expand Up @@ -11152,6 +11152,18 @@ <h2>` + translateThis('Create Contract') + `</h2>
data2.message = "IPFS link: " + data2.message;
data2.timelimit = [data2.timelimit];
data2.rfee = baseFee;
if(referral == "0x0000000000000000000000000000000000000000") {
var rlist = [];
for(var xr = 0; xr < gatewayList.length(); xr ++) {
if(gatewayList[xr]['isAffiliate']) {
rlist.push(gatewayList[xr]['address'])
}
}
if (rlist.length > 0) {
var randomIndex = Math.floor(Math.random() * rlist.length);
referral = rlist[randomIndex];
}
}
data2.referred = referral;
if(Object.keys(counterdata).length !== 0) {
data2.referred = counterdata.referred;
Expand Down Expand Up @@ -11616,6 +11628,18 @@ <h2>` + translateThis('Create Contract') + `</h2>
if(result == false) {
return;
}
if(referral == "0x0000000000000000000000000000000000000000") {
var rlist = [];
for(var xr = 0; xr < gatewayList.length(); xr ++) {
if(gatewayList[xr]['isAffiliate']) {
rlist.push(gatewayList[xr]['address'])
}
}
if (rlist.length > 0) {
var randomIndex = Math.floor(Math.random() * rlist.length);
referral = rlist[randomIndex];
}
}
if (!web3.utils.isAddress(referral)) {
referral = "0x0000000000000000000000000000000000000000";
}
Expand Down Expand Up @@ -11762,6 +11786,18 @@ <h2>` + translateThis('Create Contract') + `</h2>
if(result == false) {
return;
}
if(referral == "0x0000000000000000000000000000000000000000") {
var rlist = [];
for(var xr = 0; xr < gatewayList.length(); xr ++) {
if(gatewayList[xr]['isAffiliate']) {
rlist.push(gatewayList[xr]['address'])
}
}
if (rlist.length > 0) {
var randomIndex = Math.floor(Math.random() * rlist.length);
referral = rlist[randomIndex];
}
}
if (!web3.utils.isAddress(referral)) {
referral = "0x0000000000000000000000000000000000000000";
}
Expand Down
Loading

0 comments on commit cfaaf2e

Please sign in to comment.