You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you tried deploying it on Devnet?
Devnet RPC endpoint supports debug_traceTransaction, which will definitely helps a lot with contract development.
See https://docs.dogechain.dog/ for the endpoint.
Address transfer function does not trigger when contract executed
Steps to reproduce
Open https://millionada.github.io/dogechain/
Buy ticket
Scratch ticket
Expected behaviour
1% of transaction amount sent to dev address
Actual behaviour
transfer function does not produce record in dogechain explorer
Logs
https://explorer.dogechain.dog/tx/0xc3e8c11083b4213f4a10662632ae432da7b39a5bd32f193753fdc71bb61769e3
address payable dev_fund = payable(0x24aF739A63ead20d7fa9e67caDc7b32869D5B69A);
function scratch() public payable {
totalPlayers++;
dev_fund.transfer(ticketPrice /100);
Contract source code
https://explorer.dogechain.dog/address/0xd3fD6945515E854F58235D91604aF288358FFDC1/contracts#address-tabs
The text was updated successfully, but these errors were encountered: