axone-law-stone

Crates.ioaxone-law-stone
lib.rsaxone-law-stone
version7.0.0
created_at2024-12-13 18:24:17.953169+00
updated_at2024-12-13 22:12:29.711831+00
descriptionThe Smart Contract providing Governance as a Service.
homepagehttps://axone.xyz/
repositoryhttps://github.com/axone-protocol/contracts
max_upload_size
id1482409
size120,042
Chris (ccamel)

documentation

README

Law Stone

Overview

The axone-law-stone smart contract aims to provide GaaS (i.e. Governance as a Service) in any Cosmos blockchains using the CosmWasm framework and the Logic AXONE module.

This contract is built around a Prolog program describing the law by rules and facts. The law stone is immutable, this means it can only be questioned, there are no update mechanisms.

The axone-law-stone responsibility is to guarantee the availability of its rules in order to question them, but not to ensure the rules application.

To ensure reliability over time, the associated Prolog program is stored and pinned in a axone-objectarium contract. Moreover, all the eventual loaded files must be stored in a axone-objectarium contract as well, allowing the contract to pin them.

To be able to free the underlying resources (i.e. objects in axone-objectarium) if not used anymore, the contract admin can break the stone.

➡️ Checkout the examples for usage information.

Commit count: 1955

cargo fmt