10 releases

0.7.9 Jan 22, 2025
0.7.8 Sep 30, 2024
0.7.7 Aug 19, 2024
0.7.6 Jul 22, 2024
0.7.0 May 23, 2024

#4 in #loam

Download history 7/week @ 2024-10-16 10/week @ 2024-12-04 17/week @ 2024-12-11 134/week @ 2025-01-22 4/week @ 2025-01-29

138 downloads per month

Apache-2.0

31KB
70 lines

loam-subcontract-core

Contains the trait and implementation of the Core Subcontract, which contains core functionality needed by every Loam smart contract:

  • redeploy: Loam's subcontract pattern is built with upgradeability in mind. Every Loam smart contract gets a redeploy method, thanks to loam-subcontract-core, that allows it to be updated with new logic.
  • admin_get and admin_set: you want to make sure only the admin (you, probably, to start out) can call redeploy on your contract, to avoid attackers upgrading to a contract definition that kicks you out.

For more information about how to use and author Subcontracts, see the loam-sdk README.

Dependencies

~15–20MB
~404K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy