Skip to content

Commit ed83fb3

Browse files
committed
fix: sip010 refs and passing manifest
1 parent 2cdcfd0 commit ed83fb3

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/stacks-contracts/services/contract-generator.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class ContractGenerator {
8484
"DAO_BITFLOW_POOL"
8585
),
8686
bitflow_pool_trait: getTraitReference(this.network, "BITFLOW_POOL"),
87-
sip10_trait: getTraitReference(this.network, "SIP10"),
87+
sip10_trait: getTraitReference(this.network, "BITFLOW_SIP010"),
8888
bitflow_xyk_core_address: getAddressReference(
8989
this.network,
9090
"BITFLOW_CORE"
@@ -449,12 +449,9 @@ export class ContractGenerator {
449449
// generated at runtime based on script parameters
450450
generateDaoContracts(
451451
senderAddress: string,
452-
tokenSymbol: string
452+
tokenSymbol: string,
453+
daoManifest: string
453454
): GeneratedDaoContracts {
454-
// set dao manifest, passed to proposal for dao construction
455-
const daoManifest =
456-
"This is where the DAO can put it's mission, purpose, and goals.";
457-
458455
// get contract names using token symbol
459456
const contractNames = generateContractNames(tokenSymbol);
460457

src/types/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export type NetworkTraits = {
2222
DAO_TOKEN: string;
2323
DAO_BITFLOW_POOL: string;
2424
BITFLOW_POOL: string;
25+
BITFLOW_SIP010: string;
2526
};
2627

2728
export type NetworkTraitsMap = {

0 commit comments

Comments
 (0)