Skip to content

Commit

Permalink
Small edits in contracts initializations
Browse files Browse the repository at this point in the history
  • Loading branch information
jagracar committed Jan 4, 2024
1 parent c32f05b commit 1229310
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 20 deletions.
22 changes: 11 additions & 11 deletions python/contracts/daoGovernance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1005,24 +1005,24 @@ def get_total_votes(self, params):

sp.add_compilation_target("dao", DAOGovernance(
metadata=sp.utils.metadata_of_url("ipfs://QmSc7n5jmSe4hJw6qFBdp8n3Aiv97yutMiZn5zhyfTuEMt"),
administrator=sp.address("tz1g6JRCpsEnD2BLiAzPNK3GBD1fKicV9rCx"),
treasury=sp.address("KT1BVyCC1dfQKH4T35Zyp3zDY97CX2m5R6Qw"),
administrator=sp.address("tz1RssrimWo3B8TpCajiNjqBD3MfhUwEgxod"),
treasury=sp.address("KT1RRLSxpsiKpnVZQsBGCqG9HFBXbPBtUYBD"),
token=sp.address("KT1QrtA753MSv8VGxkDrKKyJniG5JtuHHbtV"),
representatives=sp.address("KT1UgY8wHUVU9Lhv54qJgrqgDSMZ2x6VeLr1"),
guardians=sp.address("tz1g6JRCpsEnD2BLiAzPNK3GBD1fKicV9rCx"),
quorum=40000 * token_decimals,
representatives=sp.address("KT19NxVsT4vXAUzSaJTBi8pJJbqWWWTRJXnP"),
guardians=sp.address("tz1RssrimWo3B8TpCajiNjqBD3MfhUwEgxod"),
quorum=1000000 * token_decimals,
governance_parameters=sp.record(
vote_method=sp.variant("linear", sp.unit),
vote_period=2,
wait_period=1,
vote_period=14,
wait_period=3,
escrow_amount=0 * token_decimals,
escrow_return=30,
min_amount=1 * token_decimals,
min_amount=1, # * token_decimals,
supermajority=70,
representatives_share=30,
representative_max_share=3,
quorum_update_period=3,
quorum_update_period=14,
quorum_update=20,
quorum_max_change=20,
min_quorum=10000 * token_decimals,
max_quorum=2000000 * token_decimals)))
min_quorum= 300000 * token_decimals,
max_quorum=2900000 * token_decimals)))
2 changes: 1 addition & 1 deletion python/contracts/daoTreasury.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,4 @@ def set_delegate(self, new_baker):

sp.add_compilation_target("daoTreasury", DAOTreasury(
metadata=sp.utils.metadata_of_url("ipfs://QmewNgfyryssmkFHnr46vPDXeA8JiDMyfViDhNGSb8Voe4"),
administrator=sp.address("tz1g6JRCpsEnD2BLiAzPNK3GBD1fKicV9rCx")))
administrator=sp.address("tz1RssrimWo3B8TpCajiNjqBD3MfhUwEgxod")))
10 changes: 2 additions & 8 deletions python/contracts/representatives.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,13 +428,7 @@ def get_representative_community(self, address):
sp.add_compilation_target("representatives", Representatives(
metadata=sp.utils.metadata_of_url("ipfs://QmSPr2fiDfnTXq7DemP9Eeh1dhrUwp4QFDDQYUhZKCqnMQ"),
representatives={
sp.address("tz1MrSstDn96CnAKvmnfNspVXpqZKX1moKdx"): "community 1",
sp.address("tz1g6JRCpsEnD2BLiAzPNK3GBD1fKicV9rCx"): "community 2",
sp.address("tz1iJP1EtP9iSkmaEKCZznDMst91oJGB9SZ5"): "community 3",
sp.address("tz1auzguranCBAHCf6s8Nw27gDroPeopXDbJ"): "community 4",
sp.address("tz1P9djZkQKQdvt68eixoyBf8ezNYjgrEdue"): "community 5",
sp.address("tz1VdRFNxALoiYPbD7LWdacZQSVcc2YudM6D"): "community 6",
sp.address("tz1ZVzMVj6EjRoDNFMCguG7nGdqmD7aau9kS"): "community 7"
sp.address("tz1RssrimWo3B8TpCajiNjqBD3MfhUwEgxod"): "test community",
},
minimum_votes=sp.nat(3),
minimum_votes=sp.nat(1),
expiration_time=sp.nat(7)))

0 comments on commit 1229310

Please sign in to comment.