Skip to content

Commit

Permalink
docs: init jsons
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinWoetzel committed Jul 8, 2024
1 parent c1afffd commit 014ba6f
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
# Build results
target/

# Testing configs
*.json

# Code coverage stuff
*.profraw

Expand Down
31 changes: 31 additions & 0 deletions contracts/lending/credit-agency/init/credit-agency-init.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"gov_contract": {
"address": "",
"code_hash": ""
},
"query_auth": {
"address": "secret1e0k5jza9jqctc5dt7mltnxmwpu3a3kqe0a6hf3",
"code_hash": "b6ec3cc640d26b6658d52e0cfb5f79abc3afd1643ec5112cfc6a9fb51d848e69"
},
"lend_market_id": 8702,
"lend_market_code_hash": "cffedf317ea76d945d9596737e5136acfe6d799fb08ad89859724e4f641058d3",
"market_viewing_key": "key",
"ctoken_token_id": 8701,
"ctoken_code_hash": "22fdfc0cbe8d9f904d2e343bb55094db56736486aa0056a862c990a7eda9f9a2",
"reward_token": {
"Cw20": {
"address": "secret13w6n5u3kpvqdunkavgfy40d7ma85xuhxrcxd0a",
"code_hash": "31cbe386f9b8f04994a7f3fa097ce52b713527da235f22658aa2ba413138dc5f"
}
},
"common_token": {
"Cw20": {
"address": "secret10wz305lmdjt7kvph44c8vvpnq6pqny6q5jlhtn",
"code_hash": "1691e4e24714e324a8d2345183027a918bba5c737bb2cbdbedda3cf8e7672faf"
}
},
"liquidation_price": "0.05",
"liquidation_threshold": "0.01",
"borrow_limit_ratio": "0.5",
"default_estimate_multiplier": "1.0"
}
26 changes: 26 additions & 0 deletions contracts/lending/market_v2/init/create-market.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"create_market": {
"name": "market0",
"symbol": "m0",
"decimals": 6,
"market_token": {
"Cw20": {
"address": "secret13w6n5u3kpvqdunkavgfy40d7ma85xuhxrcxd0a",
"code_hash": "31cbe386f9b8f04994a7f3fa097ce52b713527da235f22658aa2ba413138dc5f"
}
},
"interest_rate": {
"linear": {
"base": "0.02",
"slope": "0.01"
}
},
"interest_charge_period": 3600,
"collateral_ratio": "0.8",
"price_oracle": {
"address": "secret17z47r9u4nqytpdgvewxq4jqd965sfj2wpsnlak",
"code_hash": "113c47c016667817b315dde03b4ee9774edf1fb293a7ea3f02d983c6b1fa1cf1"
},
"reserve_factor": "0.1"
}
}

0 comments on commit 014ba6f

Please sign in to comment.