Near-One / near-plugins

Implementation of common patterns used for NEAR smart contracts.
Creative Commons Zero v1.0 Universal
27 stars 12 forks source link

chore: deduplicate `Pausable` docs and examples #53

Closed mooori closed 1 year ago

mooori commented 1 year ago

This PR deduplicates Pausable docs and examples as proposed in #48. Now there’s only one Pausable contract in /near-plugins/tests/contracts/pausable/src/lib.rs. Via cargo test it is compiled, deployed on chain and transactions are sent to it. These actions happen in /near-plugins/tests/pausable.rs.

Summary of what was removed and motivation behind it:

Pausable contract in ./README.md

examples/pausable-examples/README.md

examples/pausable-examples/pausable-base