The protocol's source of truth. User and app contracts call it to check approvals and read fees.
is-allowed-user-contract-hash
read-onlyTrue if a contract's code hash is an approved user-contract implementation. Every user and app contract checks this before trusting another contract.
(is-allowed-user-contract-hash (hash (buff 32)))
Returns bool
get-protocol-config
read-onlyProtocol fee and treasuries.
Returns (ok { protocol-fee-ustx, protocol-treasury-principal, pond-pals-treasury-principal, ... })
decast-postx
contract hookGlobal post log, called by user contracts at the end of a post.
(decast-postx (interface-contract <decast-interface-trait>) (payload (buff 6144)))