Skip to content

Commit

Permalink
Disable empty givers
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueCarry committed Feb 1, 2024
1 parent 3e32d34 commit 6d4e4b1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions givers.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ exports.givers10000 = [
// { address: 'EQC5uEgW0MkTbCRBZB72maxCZT3m14OK2FcSLVr2H_7MTTSF', reward: 10000 },
// { address: 'EQC2nD9nQNRhcfWhdBzRK-wdlTO4hGxnPFzdSxKN777tab2_', reward: 10000 },
// { address: 'EQAqd4vV0O5oGfA7bl6fVORD_Y4PTNZG82AC2BObBux51g2w', reward: 10000 },
{ address: 'EQDcOxqaWgEhN_j6Tc4iIQNCj2dBf9AFm0S9QyouwifYo9KD', reward: 10000 },
{ address: 'EQAjYs4-QKve9gtwC_HrKNR0Eaqhze4sKUmRhRYeensX8iu3', reward: 10000 },
{ address: 'EQBGhm8bNil8tw4Z2Ekk4sKD-vV-LCz7BW_qIYCEjZpiMF6Q', reward: 10000 },
// { address: 'EQDcOxqaWgEhN_j6Tc4iIQNCj2dBf9AFm0S9QyouwifYo9KD', reward: 10000 },
// { address: 'EQAjYs4-QKve9gtwC_HrKNR0Eaqhze4sKUmRhRYeensX8iu3', reward: 10000 },
// { address: 'EQBGhm8bNil8tw4Z2Ekk4sKD-vV-LCz7BW_qIYCEjZpiMF6Q', reward: 10000 },
{ address: 'EQCtrloCD9BHbVT7q8aXkh-JtL_ZDvtJ5Y-eF2ahg1Ru1EUl', reward: 10000 },
{ address: 'EQCWMIUBrpwl7OeyEQsOF9-ZMKCQ7fh3_UOvM2N5y77u8uPc', reward: 10000 },
{ address: 'EQD_71XLqY8nVSf4i5pqGsCjz6EUo2kQEEQq0LUAgg6AHolO', reward: 10000 }, // 10 000
Expand Down
6 changes: 3 additions & 3 deletions givers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ export const givers10000 = [
// { address: 'EQC5uEgW0MkTbCRBZB72maxCZT3m14OK2FcSLVr2H_7MTTSF', reward: 10000 },
// { address: 'EQC2nD9nQNRhcfWhdBzRK-wdlTO4hGxnPFzdSxKN777tab2_', reward: 10000 },
// { address: 'EQAqd4vV0O5oGfA7bl6fVORD_Y4PTNZG82AC2BObBux51g2w', reward: 10000 },
{ address: 'EQDcOxqaWgEhN_j6Tc4iIQNCj2dBf9AFm0S9QyouwifYo9KD', reward: 10000 },
{ address: 'EQAjYs4-QKve9gtwC_HrKNR0Eaqhze4sKUmRhRYeensX8iu3', reward: 10000 },
{ address: 'EQBGhm8bNil8tw4Z2Ekk4sKD-vV-LCz7BW_qIYCEjZpiMF6Q', reward: 10000 },
// { address: 'EQDcOxqaWgEhN_j6Tc4iIQNCj2dBf9AFm0S9QyouwifYo9KD', reward: 10000 },
// { address: 'EQAjYs4-QKve9gtwC_HrKNR0Eaqhze4sKUmRhRYeensX8iu3', reward: 10000 },
// { address: 'EQBGhm8bNil8tw4Z2Ekk4sKD-vV-LCz7BW_qIYCEjZpiMF6Q', reward: 10000 },
{ address: 'EQCtrloCD9BHbVT7q8aXkh-JtL_ZDvtJ5Y-eF2ahg1Ru1EUl', reward: 10000 },
{ address: 'EQCWMIUBrpwl7OeyEQsOF9-ZMKCQ7fh3_UOvM2N5y77u8uPc', reward: 10000 },
{ address: 'EQD_71XLqY8nVSf4i5pqGsCjz6EUo2kQEEQq0LUAgg6AHolO', reward: 10000 }, // 10 000
Expand Down
2 changes: 1 addition & 1 deletion send_universal_TESTING.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function getPowInfo(liteClient, address, lastInfoRoot) {
return [seed, complexity, iterations];
}
else if (liteClient instanceof ton_lite_client_1.LiteClient) {
console.log('lastInfoRoot', lastInfoRoot);
// console.log('lastInfoRoot', lastInfoRoot)
const lastInfo = lastInfoRoot !== null && lastInfoRoot !== void 0 ? lastInfoRoot : (yield liteClient.getMasterchainInfo()).last;
const powInfo = yield liteClient.runMethod(address, 'get_pow_params', Buffer.from([]), lastInfo, { awaitSeqno: lastInfo.seqno, timeout: 100 });
const powStack = core_1.Cell.fromBase64(powInfo.result);
Expand Down
2 changes: 1 addition & 1 deletion send_universal_TESTING.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async function getPowInfo(liteClient: TonClient4 | LiteClient, address: Address,

return [seed, complexity, iterations]
} else if (liteClient instanceof LiteClient) {
console.log('lastInfoRoot', lastInfoRoot)
// console.log('lastInfoRoot', lastInfoRoot)
const lastInfo = lastInfoRoot ?? (await liteClient.getMasterchainInfo()).last
const powInfo = await liteClient.runMethod(address, 'get_pow_params', Buffer.from([]), lastInfo, {awaitSeqno: lastInfo.seqno, timeout: 100})
const powStack = Cell.fromBase64(powInfo.result as string)
Expand Down

0 comments on commit 6d4e4b1

Please sign in to comment.