Skip to content

Commit 01cc586

Browse files
committed
feat!: Claimable trait for all contracts with no coreriff macro
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)
1 parent dbfda19 commit 01cc586

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contracts/smartdeploy/src/registry/contract.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ loam_sdk::import_contract!(core_riff);
2424
// loam_sdk::soroban_sdk::contractimport!(file = "../../target/loam/core_riff.wasm",);
2525
// }
2626

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

2830
#[contracttype(export = false)]
2931
#[derive(Clone)]

0 commit comments

Comments
 (0)