GGCCCC / airdrop_multi_claim

MIT License
99 stars 74 forks source link

I would like to know what optimization did you do #2

Open 1500256797 opened 2 years ago

1500256797 commented 2 years ago

I would like to know what optimization did you do . because, i meets "Exceeds block gas limit" this bug, so i guess you did some optimization.

GGCCCC commented 2 years ago

I would like to know what optimization did you do . because, i meets "Exceeds block gas limit" this bug, so i guess you did some optimization.

if it occurs when using estimateGas, you have to reduce claim times; or if you set gas manually, you have to reduce gas (mybe claim times as well).

1500256797 commented 2 years ago

could you share with me the difference between buyandfree and call function?

GGCCCC commented 2 years ago

could you share with me the difference between buyandfree and call function?

when you call Call function in air_drop_multi_claim_with_selfdestruct contract, the contract will create several Claimer subcontract, which will claim airdrop, transfer to your account and selfdestruct.