Skip to content

Commit

Permalink
feat!: Claimable trait for all contracts with no coreriff macro
Browse files Browse the repository at this point in the history
Possibility to claim/ import a contract to SmartDeploy which hasn't been deployed with the smartdeploy-cli. We keep the notion of ownership and redeployment.

Add an admin/ owner to the smartdeploy contract (justfile)
  • Loading branch information
asanson1404 committed Mar 27, 2024
1 parent dbfda19 commit 01cc586
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/smartdeploy/src/registry/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ loam_sdk::import_contract!(core_riff);
// loam_sdk::soroban_sdk::contractimport!(file = "../../target/loam/core_riff.wasm",);
// }

#[contracttype(export = false)]
pub struct ContractRegistry(pub Map<String, ContractType>);

#[contracttype(export = false)]
#[derive(Clone)]
Expand Down

0 comments on commit 01cc586

Please sign in to comment.