storage-incentives icon indicating copy to clipboard operation
storage-incentives copied to clipboard

Smart contracts for Swarm storage incentives

Results 37 storage-incentives issues
Sort by recently updated
recently updated
newest added

This implements the feature allowing staked nodes to change their overlay without restaking (called neighbourhood hopping, see [SWIP-19](https://github.com/ethersphere/SWIPs/pull/48)) Implemented by changing stake registry to be keyed with node address instead...

pull-request

Phase 4 is already in production for a while and Phase 5 is not planned but it appears under the `Future Implementations Plan` section.

issue

Change a structure of Staking and also add gas optimizations, custom errors etc

pull-request

### Problem The pattern where we have in PostageStamp `expireLimited(type(uint256).max);` will fail in FOR loop when there is too big a number of potential expires, so far this hasnt been...

issue

See: https://pkg.go.dev/github.com/ethereum/go-ethereum/cmd/abigen

good first issue
issue

So in each claim it automatically gets sent to a designated address (or if address(0), send to msg.sender) credit: @mfw78

issue

When simulating ethereum network we should use current hardfork which is Shanghai https://docs.gnosischain.com/specs/hard-forks/shanghai-capella This is applicable to local hardhat setup in storage incentives repo but should also be used in...

issue

Users or nodes could send by mistake XDAI to contracts and lose it, to prevent that we can integrate a fallback that rejects those transactions. ``` receive() external payable {...

issue

Foundry is currently regarded as the most advanced tooling for working with smart contracts https://github.com/foundry-rs/foundry The main benefit is faster testing which saves developers time. Foundry also has some interesting...

issue