poanetwork / posdao-contracts

Smart contracts for POSDAO (Proof of Stake Decentralized Autonomous Organization consensus), a DPOS consensus implemented in Solidity and running within EVM with swappable BFT consensus
Other
106 stars 50 forks source link

Include custom registry and service contracts #11

Closed DemiMarie closed 5 years ago

DemiMarie commented 5 years ago

This is necessary for service transactions to work. The registry contract should only allow calls to the service contract, and the service contract should only expose the functions that should be called as part of service transactions. The service contract should also include rate-limiting logic.

varasev commented 5 years ago

The contracts were added in https://github.com/poanetwork/pos-contracts/commit/8a9935d7173cc1bd1b08e588f9771381db20b035, https://github.com/poanetwork/pos-contracts/commit/8f417b93672466e5d8e9b6c53deee0601d5b230c, https://github.com/poanetwork/pos-contracts/commit/0ca27978aef2a6f7ff543efadb269a418eb673e8.