Relative Content

Tag Archive for ethereumsolidity

interacting with function from unpublished contract

[
{
“from”: “0xb9407830d585511d96e5dfff4646758a01aef59b”,
“topic”: “0xc7055204ed36db5349d262f15f91b6cc7ad9a35590718297a887419f77217e9b”,
“event”: “Response”,
“args”: {
“0”: true,
“1”: “Call this contract with function signature ‘0xddc24be3’ providing a ‘uint256’ argument of value: 39013626048177875853997655488989711994093844045072180110515763197087137086347 Also send some wei: 420007094035”,
“success”: true,
“decodedData”: “Call this contract with function signature ‘0xddc24be3’ providing a ‘uint256’ argument of value: 39013626048177875853997655488989711994093844045072180110515763197087137086347 Also send some wei: 420007094035”
}

Solidity daily point collection system

I have something stuck in my mind with solidty, I would like to ask him, if you have any information, I would be very pleased if you inform me.
Now I am writing a contract that claims points daily, in this contract a user will claim points every 24 hours. I keep the points and users in the chain, then when the time I set is over, I want to see the points of all users in this contract.
Does it make sense to keep these points and users in the contract?

Why the gas cost strangely so big when deploy

Description Why deploy the code failed. The error log is as following: gas 1000000000000000000 gas transaction cost 984375000000005328 gas execution cost 984374999999815072 gas revert The transaction has been reverted to the initial state. Note: The called function should be payable if you send value and the value you send should be less than your current […]