This contract has methods to efficiently send ERC20 or Ether to many recipients at once.
It does not enforce any fee by itself, so you can safely use it in your own project as is, saving $100+ on the deployment fee.
The contract code is based on the OpenZeppelin contracts and open source. You are free learn, copy and use it in your own projects as you wish
Hi there, I'm trying to use multiTransferTokenEqual_71p on BscScan to send my tokens to several addresses at once, each receiving 110000. Since my token has 9 decimals, I set the _amount (uint256) to be 110000000000000 (110000 + 9 zeroes) but on MetaMask I get "Transaction Error. Exception thrown in contract code.". I can however successfully send using the method with less zeroes in the amount. Can you please let me know how I can fix the problem? Thanks in advance.
Hi @olegabr, I am very new to all this, so sorry for the newb/basic questions.
I was trying to copy you MultiSend BSC contract and add to Defender, but I was not getting the ABI to work once I copied the source code into remix. I know it is just something I missed and was hoping you could point me in the right direction.
Thanks for your great contribution.
Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending?
Internal JSON-RPC error.
{
"code": 3,
"message": "execution reverted: ERC20: insufficient allowance",
"data": "0x08c379a00000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001d45524332303a20696e737566666369656e7420616c6c6f77616e6365000000"
}
error. I also have enough tokens in my account. What is the solution? Thank you