├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── actions-rs │ └── grcov.yml ├── pull_request_template.md └── workflows │ ├── main.yml │ ├── release-artifacts.yml │ └── tests.yml ├── .gitignore ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE ├── README.md ├── codecov.yml ├── contracts ├── custody_base │ ├── .cargo │ │ └── config │ ├── .editorconfig │ ├── Cargo.toml │ ├── README.md │ ├── examples │ │ └── schema.rs │ ├── schema │ │ ├── borrower_response.json │ │ ├── borrowers_response.json │ │ ├── config_response.json │ │ ├── cw20_hook_msg.json │ │ ├── execute_msg.json │ │ ├── instantiate_msg.json │ │ └── query_msg.json │ └── src │ │ ├── collateral.rs │ │ ├── contract.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── state.rs │ │ └── testing │ │ ├── mock_querier.rs │ │ ├── mod.rs │ │ └── tests.rs ├── custody_beth │ ├── .cargo │ │ └── config │ ├── .editorconfig │ ├── Cargo.toml │ ├── README.md │ ├── examples │ │ └── schema.rs │ ├── schema │ │ ├── borrower_response.json │ │ ├── borrowers_response.json │ │ ├── config_response.json │ │ ├── cw20_hook_msg.json │ │ ├── execute_msg.json │ │ ├── instantiate_msg.json │ │ └── query_msg.json │ └── src │ │ ├── collateral.rs │ │ ├── contract.rs │ │ ├── distribution.rs │ │ ├── error.rs │ │ ├── external │ │ ├── handle.rs │ │ └── mod.rs │ │ ├── lib.rs │ │ ├── state.rs │ │ └── testing │ │ ├── mock_querier.rs │ │ ├── mod.rs │ │ └── tests.rs ├── custody_bluna │ ├── .cargo │ │ └── config │ ├── .editorconfig │ ├── Cargo.toml │ ├── README.md │ ├── examples │ │ └── schema.rs │ ├── schema │ │ ├── borrower_response.json │ │ ├── borrowers_response.json │ │ ├── config_response.json │ │ ├── cw20_hook_msg.json │ │ ├── execute_msg.json │ │ ├── instantiate_msg.json │ │ └── query_msg.json │ └── src │ │ ├── collateral.rs │ │ ├── contract.rs │ │ ├── distribution.rs │ │ ├── error.rs │ │ ├── external │ │ ├── handle.rs │ │ └── mod.rs │ │ ├── lib.rs │ │ ├── state.rs │ │ └── testing │ │ ├── mock_querier.rs │ │ ├── mod.rs │ │ └── tests.rs ├── distribution_model │ ├── .cargo │ │ └── config │ ├── .editorconfig │ ├── Cargo.toml │ ├── README.md │ ├── examples │ │ └── schema.rs │ ├── schema │ │ ├── anc_emission_rate_response.json │ │ ├── config_response.json │ │ ├── execute_msg.json │ │ ├── instantiate_msg.json │ │ └── query_msg.json │ └── src │ │ ├── contract.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── state.rs │ │ └── tests.rs ├── interest_model │ ├── .cargo │ │ └── config │ ├── .editorconfig │ ├── Cargo.toml │ ├── README.md │ ├── examples │ │ └── schema.rs │ ├── schema │ │ ├── borrow_rate_response.json │ │ ├── config_response.json │ │ ├── execute_msg.json │ │ ├── instantiate_msg.json │ │ └── query_msg.json │ └── src │ │ ├── contract.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── state.rs │ │ └── tests.rs ├── liquidation │ ├── .cargo │ │ └── config │ ├── .editorconfig │ ├── Cargo.toml │ ├── README.md │ ├── examples │ │ └── schema.rs │ ├── schema │ │ ├── bid_response.json │ │ ├── bids_response.json │ │ ├── config_response.json │ │ ├── cw20_hook_msg.json │ │ ├── execute_msg.json │ │ ├── instantiate_msg.json │ │ ├── liquidation_amount_response.json │ │ └── query_msg.json │ └── src │ │ ├── bid.rs │ │ ├── contract.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── state.rs │ │ └── testing │ │ ├── mock_querier.rs │ │ ├── mod.rs │ │ └── tests.rs ├── liquidation_queue │ ├── .cargo │ │ └── config │ ├── .editorconfig │ ├── Cargo.toml │ ├── README.md │ ├── examples │ │ └── schema.rs │ ├── schema │ │ ├── bid_pool_response.json │ │ ├── bid_pools_response.json │ │ ├── bid_response.json │ │ ├── bids_response.json │ │ ├── collateral_info_response.json │ │ ├── config_response.json │ │ ├── cw20_hook_msg.json │ │ ├── execute_msg.json │ │ ├── instantiate_msg.json │ │ ├── liquidation_amount_response.json │ │ └── query_msg.json │ └── src │ │ ├── asserts.rs │ │ ├── bid.rs │ │ ├── contract.rs │ │ ├── lib.rs │ │ ├── querier.rs │ │ ├── query.rs │ │ ├── state.rs │ │ └── testing │ │ ├── bid_pools_tests.rs │ │ ├── mock_querier.rs │ │ ├── mod.rs │ │ ├── product_stress_tests.rs │ │ ├── query_liq_amount_tests.rs │ │ ├── query_tests.rs │ │ └── tests.rs ├── market │ ├── .cargo │ │ └── config │ ├── .editorconfig │ ├── Cargo.toml │ ├── README.md │ ├── examples │ │ └── schema.rs │ ├── schema │ │ ├── borrower_info_response.json │ │ ├── borrower_infos_response.json │ │ ├── config_response.json │ │ ├── cw20_hook_msg.json │ │ ├── epoch_state_response.json │ │ ├── execute_msg.json │ │ ├── instantiate_msg.json │ │ ├── query_msg.json │ │ └── state.json │ └── src │ │ ├── borrow.rs │ │ ├── contract.rs │ │ ├── deposit.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── querier.rs │ │ ├── response.proto │ │ ├── response.rs │ │ ├── state.rs │ │ └── testing │ │ ├── borrow_ut.rs │ │ ├── deposit_ut.rs │ │ ├── mock_querier.rs │ │ ├── mod.rs │ │ └── tests.rs ├── oracle │ ├── .cargo │ │ └── config │ ├── .editorconfig │ ├── Cargo.toml │ ├── README.md │ ├── examples │ │ └── schema.rs │ ├── schema │ │ ├── config_response.json │ │ ├── execute_msg.json │ │ ├── instantiate_msg.json │ │ ├── price_response.json │ │ ├── prices_response.json │ │ └── query_msg.json │ └── src │ │ ├── contract.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── state.rs │ │ └── tests.rs └── overseer │ ├── .cargo │ └── config │ ├── .editorconfig │ ├── Cargo.toml │ ├── README.md │ ├── examples │ └── schema.rs │ ├── schema │ ├── all_collaterals_response.json │ ├── borrow_limit_response.json │ ├── collaterals_response.json │ ├── config_response.json │ ├── epoch_state.json │ ├── execute_msg.json │ ├── instantiate_msg.json │ ├── query_msg.json │ └── whitelist_response.json │ └── src │ ├── collateral.rs │ ├── contract.rs │ ├── error.rs │ ├── lib.rs │ ├── querier.rs │ ├── state.rs │ └── testing │ ├── collateral_ut.rs │ ├── integration.rs │ ├── mock_querier.rs │ ├── mod.rs │ └── tests.rs └── packages └── moneymarket ├── .cargo └── config ├── .editorconfig ├── Cargo.toml ├── examples └── schema.rs ├── schema ├── array_of__tuple_of__canonical_addr_and__uint256.json ├── array_of__tuple_of__string_and__uint256.json ├── tuple_of__canonical_addr_and__uint256.json └── tuple_of__string_and__uint256.json └── src ├── common.rs ├── custody.rs ├── distribution_model.rs ├── interest_model.rs ├── lib.rs ├── liquidation.rs ├── liquidation_queue.rs ├── market.rs ├── mock_querier.rs ├── oracle.rs ├── overseer.rs ├── querier.rs ├── terraswap.rs ├── testing.rs └── tokens.rs /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/actions-rs/grcov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/.github/actions-rs/grcov.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/release-artifacts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/.github/workflows/release-artifacts.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/README.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/codecov.yml -------------------------------------------------------------------------------- /contracts/custody_base/.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/.cargo/config -------------------------------------------------------------------------------- /contracts/custody_base/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/.editorconfig -------------------------------------------------------------------------------- /contracts/custody_base/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/Cargo.toml -------------------------------------------------------------------------------- /contracts/custody_base/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/README.md -------------------------------------------------------------------------------- /contracts/custody_base/examples/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/examples/schema.rs -------------------------------------------------------------------------------- /contracts/custody_base/schema/borrower_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/schema/borrower_response.json -------------------------------------------------------------------------------- /contracts/custody_base/schema/borrowers_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/schema/borrowers_response.json -------------------------------------------------------------------------------- /contracts/custody_base/schema/config_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/schema/config_response.json -------------------------------------------------------------------------------- /contracts/custody_base/schema/cw20_hook_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/schema/cw20_hook_msg.json -------------------------------------------------------------------------------- /contracts/custody_base/schema/execute_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/schema/execute_msg.json -------------------------------------------------------------------------------- /contracts/custody_base/schema/instantiate_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/schema/instantiate_msg.json -------------------------------------------------------------------------------- /contracts/custody_base/schema/query_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/schema/query_msg.json -------------------------------------------------------------------------------- /contracts/custody_base/src/collateral.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/src/collateral.rs -------------------------------------------------------------------------------- /contracts/custody_base/src/contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/src/contract.rs -------------------------------------------------------------------------------- /contracts/custody_base/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/src/error.rs -------------------------------------------------------------------------------- /contracts/custody_base/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/src/lib.rs -------------------------------------------------------------------------------- /contracts/custody_base/src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/src/state.rs -------------------------------------------------------------------------------- /contracts/custody_base/src/testing/mock_querier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/src/testing/mock_querier.rs -------------------------------------------------------------------------------- /contracts/custody_base/src/testing/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/src/testing/mod.rs -------------------------------------------------------------------------------- /contracts/custody_base/src/testing/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_base/src/testing/tests.rs -------------------------------------------------------------------------------- /contracts/custody_beth/.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/.cargo/config -------------------------------------------------------------------------------- /contracts/custody_beth/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/.editorconfig -------------------------------------------------------------------------------- /contracts/custody_beth/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/Cargo.toml -------------------------------------------------------------------------------- /contracts/custody_beth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/README.md -------------------------------------------------------------------------------- /contracts/custody_beth/examples/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/examples/schema.rs -------------------------------------------------------------------------------- /contracts/custody_beth/schema/borrower_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/schema/borrower_response.json -------------------------------------------------------------------------------- /contracts/custody_beth/schema/borrowers_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/schema/borrowers_response.json -------------------------------------------------------------------------------- /contracts/custody_beth/schema/config_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/schema/config_response.json -------------------------------------------------------------------------------- /contracts/custody_beth/schema/cw20_hook_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/schema/cw20_hook_msg.json -------------------------------------------------------------------------------- /contracts/custody_beth/schema/execute_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/schema/execute_msg.json -------------------------------------------------------------------------------- /contracts/custody_beth/schema/instantiate_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/schema/instantiate_msg.json -------------------------------------------------------------------------------- /contracts/custody_beth/schema/query_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/schema/query_msg.json -------------------------------------------------------------------------------- /contracts/custody_beth/src/collateral.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/src/collateral.rs -------------------------------------------------------------------------------- /contracts/custody_beth/src/contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/src/contract.rs -------------------------------------------------------------------------------- /contracts/custody_beth/src/distribution.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/src/distribution.rs -------------------------------------------------------------------------------- /contracts/custody_beth/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/src/error.rs -------------------------------------------------------------------------------- /contracts/custody_beth/src/external/handle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/src/external/handle.rs -------------------------------------------------------------------------------- /contracts/custody_beth/src/external/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod handle; 2 | -------------------------------------------------------------------------------- /contracts/custody_beth/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/src/lib.rs -------------------------------------------------------------------------------- /contracts/custody_beth/src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/src/state.rs -------------------------------------------------------------------------------- /contracts/custody_beth/src/testing/mock_querier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/src/testing/mock_querier.rs -------------------------------------------------------------------------------- /contracts/custody_beth/src/testing/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/src/testing/mod.rs -------------------------------------------------------------------------------- /contracts/custody_beth/src/testing/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_beth/src/testing/tests.rs -------------------------------------------------------------------------------- /contracts/custody_bluna/.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/.cargo/config -------------------------------------------------------------------------------- /contracts/custody_bluna/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/.editorconfig -------------------------------------------------------------------------------- /contracts/custody_bluna/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/Cargo.toml -------------------------------------------------------------------------------- /contracts/custody_bluna/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/README.md -------------------------------------------------------------------------------- /contracts/custody_bluna/examples/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/examples/schema.rs -------------------------------------------------------------------------------- /contracts/custody_bluna/schema/borrower_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/schema/borrower_response.json -------------------------------------------------------------------------------- /contracts/custody_bluna/schema/borrowers_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/schema/borrowers_response.json -------------------------------------------------------------------------------- /contracts/custody_bluna/schema/config_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/schema/config_response.json -------------------------------------------------------------------------------- /contracts/custody_bluna/schema/cw20_hook_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/schema/cw20_hook_msg.json -------------------------------------------------------------------------------- /contracts/custody_bluna/schema/execute_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/schema/execute_msg.json -------------------------------------------------------------------------------- /contracts/custody_bluna/schema/instantiate_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/schema/instantiate_msg.json -------------------------------------------------------------------------------- /contracts/custody_bluna/schema/query_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/schema/query_msg.json -------------------------------------------------------------------------------- /contracts/custody_bluna/src/collateral.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/src/collateral.rs -------------------------------------------------------------------------------- /contracts/custody_bluna/src/contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/src/contract.rs -------------------------------------------------------------------------------- /contracts/custody_bluna/src/distribution.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/src/distribution.rs -------------------------------------------------------------------------------- /contracts/custody_bluna/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/src/error.rs -------------------------------------------------------------------------------- /contracts/custody_bluna/src/external/handle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/src/external/handle.rs -------------------------------------------------------------------------------- /contracts/custody_bluna/src/external/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod handle; 2 | -------------------------------------------------------------------------------- /contracts/custody_bluna/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/src/lib.rs -------------------------------------------------------------------------------- /contracts/custody_bluna/src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/src/state.rs -------------------------------------------------------------------------------- /contracts/custody_bluna/src/testing/mock_querier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/src/testing/mock_querier.rs -------------------------------------------------------------------------------- /contracts/custody_bluna/src/testing/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/src/testing/mod.rs -------------------------------------------------------------------------------- /contracts/custody_bluna/src/testing/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/custody_bluna/src/testing/tests.rs -------------------------------------------------------------------------------- /contracts/distribution_model/.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/.cargo/config -------------------------------------------------------------------------------- /contracts/distribution_model/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/.editorconfig -------------------------------------------------------------------------------- /contracts/distribution_model/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/Cargo.toml -------------------------------------------------------------------------------- /contracts/distribution_model/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/README.md -------------------------------------------------------------------------------- /contracts/distribution_model/examples/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/examples/schema.rs -------------------------------------------------------------------------------- /contracts/distribution_model/schema/anc_emission_rate_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/schema/anc_emission_rate_response.json -------------------------------------------------------------------------------- /contracts/distribution_model/schema/config_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/schema/config_response.json -------------------------------------------------------------------------------- /contracts/distribution_model/schema/execute_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/schema/execute_msg.json -------------------------------------------------------------------------------- /contracts/distribution_model/schema/instantiate_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/schema/instantiate_msg.json -------------------------------------------------------------------------------- /contracts/distribution_model/schema/query_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/schema/query_msg.json -------------------------------------------------------------------------------- /contracts/distribution_model/src/contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/src/contract.rs -------------------------------------------------------------------------------- /contracts/distribution_model/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/src/error.rs -------------------------------------------------------------------------------- /contracts/distribution_model/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/src/lib.rs -------------------------------------------------------------------------------- /contracts/distribution_model/src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/src/state.rs -------------------------------------------------------------------------------- /contracts/distribution_model/src/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/distribution_model/src/tests.rs -------------------------------------------------------------------------------- /contracts/interest_model/.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/.cargo/config -------------------------------------------------------------------------------- /contracts/interest_model/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/.editorconfig -------------------------------------------------------------------------------- /contracts/interest_model/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/Cargo.toml -------------------------------------------------------------------------------- /contracts/interest_model/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/README.md -------------------------------------------------------------------------------- /contracts/interest_model/examples/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/examples/schema.rs -------------------------------------------------------------------------------- /contracts/interest_model/schema/borrow_rate_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/schema/borrow_rate_response.json -------------------------------------------------------------------------------- /contracts/interest_model/schema/config_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/schema/config_response.json -------------------------------------------------------------------------------- /contracts/interest_model/schema/execute_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/schema/execute_msg.json -------------------------------------------------------------------------------- /contracts/interest_model/schema/instantiate_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/schema/instantiate_msg.json -------------------------------------------------------------------------------- /contracts/interest_model/schema/query_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/schema/query_msg.json -------------------------------------------------------------------------------- /contracts/interest_model/src/contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/src/contract.rs -------------------------------------------------------------------------------- /contracts/interest_model/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/src/error.rs -------------------------------------------------------------------------------- /contracts/interest_model/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/src/lib.rs -------------------------------------------------------------------------------- /contracts/interest_model/src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/src/state.rs -------------------------------------------------------------------------------- /contracts/interest_model/src/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/interest_model/src/tests.rs -------------------------------------------------------------------------------- /contracts/liquidation/.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/.cargo/config -------------------------------------------------------------------------------- /contracts/liquidation/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/.editorconfig -------------------------------------------------------------------------------- /contracts/liquidation/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/Cargo.toml -------------------------------------------------------------------------------- /contracts/liquidation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/README.md -------------------------------------------------------------------------------- /contracts/liquidation/examples/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/examples/schema.rs -------------------------------------------------------------------------------- /contracts/liquidation/schema/bid_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/schema/bid_response.json -------------------------------------------------------------------------------- /contracts/liquidation/schema/bids_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/schema/bids_response.json -------------------------------------------------------------------------------- /contracts/liquidation/schema/config_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/schema/config_response.json -------------------------------------------------------------------------------- /contracts/liquidation/schema/cw20_hook_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/schema/cw20_hook_msg.json -------------------------------------------------------------------------------- /contracts/liquidation/schema/execute_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/schema/execute_msg.json -------------------------------------------------------------------------------- /contracts/liquidation/schema/instantiate_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/schema/instantiate_msg.json -------------------------------------------------------------------------------- /contracts/liquidation/schema/liquidation_amount_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/schema/liquidation_amount_response.json -------------------------------------------------------------------------------- /contracts/liquidation/schema/query_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/schema/query_msg.json -------------------------------------------------------------------------------- /contracts/liquidation/src/bid.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/src/bid.rs -------------------------------------------------------------------------------- /contracts/liquidation/src/contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/src/contract.rs -------------------------------------------------------------------------------- /contracts/liquidation/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/src/error.rs -------------------------------------------------------------------------------- /contracts/liquidation/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/src/lib.rs -------------------------------------------------------------------------------- /contracts/liquidation/src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/src/state.rs -------------------------------------------------------------------------------- /contracts/liquidation/src/testing/mock_querier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/src/testing/mock_querier.rs -------------------------------------------------------------------------------- /contracts/liquidation/src/testing/mod.rs: -------------------------------------------------------------------------------- 1 | mod mock_querier; 2 | mod tests; 3 | -------------------------------------------------------------------------------- /contracts/liquidation/src/testing/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation/src/testing/tests.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/.cargo/config -------------------------------------------------------------------------------- /contracts/liquidation_queue/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/.editorconfig -------------------------------------------------------------------------------- /contracts/liquidation_queue/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/Cargo.toml -------------------------------------------------------------------------------- /contracts/liquidation_queue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/README.md -------------------------------------------------------------------------------- /contracts/liquidation_queue/examples/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/examples/schema.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/schema/bid_pool_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/schema/bid_pool_response.json -------------------------------------------------------------------------------- /contracts/liquidation_queue/schema/bid_pools_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/schema/bid_pools_response.json -------------------------------------------------------------------------------- /contracts/liquidation_queue/schema/bid_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/schema/bid_response.json -------------------------------------------------------------------------------- /contracts/liquidation_queue/schema/bids_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/schema/bids_response.json -------------------------------------------------------------------------------- /contracts/liquidation_queue/schema/collateral_info_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/schema/collateral_info_response.json -------------------------------------------------------------------------------- /contracts/liquidation_queue/schema/config_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/schema/config_response.json -------------------------------------------------------------------------------- /contracts/liquidation_queue/schema/cw20_hook_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/schema/cw20_hook_msg.json -------------------------------------------------------------------------------- /contracts/liquidation_queue/schema/execute_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/schema/execute_msg.json -------------------------------------------------------------------------------- /contracts/liquidation_queue/schema/instantiate_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/schema/instantiate_msg.json -------------------------------------------------------------------------------- /contracts/liquidation_queue/schema/liquidation_amount_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/schema/liquidation_amount_response.json -------------------------------------------------------------------------------- /contracts/liquidation_queue/schema/query_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/schema/query_msg.json -------------------------------------------------------------------------------- /contracts/liquidation_queue/src/asserts.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/src/asserts.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/src/bid.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/src/bid.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/src/contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/src/contract.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/src/lib.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/src/querier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/src/querier.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/src/query.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/src/query.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/src/state.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/src/testing/bid_pools_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/src/testing/bid_pools_tests.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/src/testing/mock_querier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/src/testing/mock_querier.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/src/testing/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/src/testing/mod.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/src/testing/product_stress_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/src/testing/product_stress_tests.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/src/testing/query_liq_amount_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/src/testing/query_liq_amount_tests.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/src/testing/query_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/src/testing/query_tests.rs -------------------------------------------------------------------------------- /contracts/liquidation_queue/src/testing/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/liquidation_queue/src/testing/tests.rs -------------------------------------------------------------------------------- /contracts/market/.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/.cargo/config -------------------------------------------------------------------------------- /contracts/market/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/.editorconfig -------------------------------------------------------------------------------- /contracts/market/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/Cargo.toml -------------------------------------------------------------------------------- /contracts/market/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/README.md -------------------------------------------------------------------------------- /contracts/market/examples/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/examples/schema.rs -------------------------------------------------------------------------------- /contracts/market/schema/borrower_info_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/schema/borrower_info_response.json -------------------------------------------------------------------------------- /contracts/market/schema/borrower_infos_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/schema/borrower_infos_response.json -------------------------------------------------------------------------------- /contracts/market/schema/config_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/schema/config_response.json -------------------------------------------------------------------------------- /contracts/market/schema/cw20_hook_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/schema/cw20_hook_msg.json -------------------------------------------------------------------------------- /contracts/market/schema/epoch_state_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/schema/epoch_state_response.json -------------------------------------------------------------------------------- /contracts/market/schema/execute_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/schema/execute_msg.json -------------------------------------------------------------------------------- /contracts/market/schema/instantiate_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/schema/instantiate_msg.json -------------------------------------------------------------------------------- /contracts/market/schema/query_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/schema/query_msg.json -------------------------------------------------------------------------------- /contracts/market/schema/state.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/schema/state.json -------------------------------------------------------------------------------- /contracts/market/src/borrow.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/src/borrow.rs -------------------------------------------------------------------------------- /contracts/market/src/contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/src/contract.rs -------------------------------------------------------------------------------- /contracts/market/src/deposit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/src/deposit.rs -------------------------------------------------------------------------------- /contracts/market/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/src/error.rs -------------------------------------------------------------------------------- /contracts/market/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/src/lib.rs -------------------------------------------------------------------------------- /contracts/market/src/querier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/src/querier.rs -------------------------------------------------------------------------------- /contracts/market/src/response.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/src/response.proto -------------------------------------------------------------------------------- /contracts/market/src/response.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/src/response.rs -------------------------------------------------------------------------------- /contracts/market/src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/src/state.rs -------------------------------------------------------------------------------- /contracts/market/src/testing/borrow_ut.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/src/testing/borrow_ut.rs -------------------------------------------------------------------------------- /contracts/market/src/testing/deposit_ut.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/src/testing/deposit_ut.rs -------------------------------------------------------------------------------- /contracts/market/src/testing/mock_querier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/src/testing/mock_querier.rs -------------------------------------------------------------------------------- /contracts/market/src/testing/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/src/testing/mod.rs -------------------------------------------------------------------------------- /contracts/market/src/testing/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/market/src/testing/tests.rs -------------------------------------------------------------------------------- /contracts/oracle/.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/.cargo/config -------------------------------------------------------------------------------- /contracts/oracle/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/.editorconfig -------------------------------------------------------------------------------- /contracts/oracle/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/Cargo.toml -------------------------------------------------------------------------------- /contracts/oracle/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/README.md -------------------------------------------------------------------------------- /contracts/oracle/examples/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/examples/schema.rs -------------------------------------------------------------------------------- /contracts/oracle/schema/config_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/schema/config_response.json -------------------------------------------------------------------------------- /contracts/oracle/schema/execute_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/schema/execute_msg.json -------------------------------------------------------------------------------- /contracts/oracle/schema/instantiate_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/schema/instantiate_msg.json -------------------------------------------------------------------------------- /contracts/oracle/schema/price_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/schema/price_response.json -------------------------------------------------------------------------------- /contracts/oracle/schema/prices_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/schema/prices_response.json -------------------------------------------------------------------------------- /contracts/oracle/schema/query_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/schema/query_msg.json -------------------------------------------------------------------------------- /contracts/oracle/src/contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/src/contract.rs -------------------------------------------------------------------------------- /contracts/oracle/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/src/error.rs -------------------------------------------------------------------------------- /contracts/oracle/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/src/lib.rs -------------------------------------------------------------------------------- /contracts/oracle/src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/src/state.rs -------------------------------------------------------------------------------- /contracts/oracle/src/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/oracle/src/tests.rs -------------------------------------------------------------------------------- /contracts/overseer/.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/.cargo/config -------------------------------------------------------------------------------- /contracts/overseer/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/.editorconfig -------------------------------------------------------------------------------- /contracts/overseer/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/Cargo.toml -------------------------------------------------------------------------------- /contracts/overseer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/README.md -------------------------------------------------------------------------------- /contracts/overseer/examples/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/examples/schema.rs -------------------------------------------------------------------------------- /contracts/overseer/schema/all_collaterals_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/schema/all_collaterals_response.json -------------------------------------------------------------------------------- /contracts/overseer/schema/borrow_limit_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/schema/borrow_limit_response.json -------------------------------------------------------------------------------- /contracts/overseer/schema/collaterals_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/schema/collaterals_response.json -------------------------------------------------------------------------------- /contracts/overseer/schema/config_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/schema/config_response.json -------------------------------------------------------------------------------- /contracts/overseer/schema/epoch_state.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/schema/epoch_state.json -------------------------------------------------------------------------------- /contracts/overseer/schema/execute_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/schema/execute_msg.json -------------------------------------------------------------------------------- /contracts/overseer/schema/instantiate_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/schema/instantiate_msg.json -------------------------------------------------------------------------------- /contracts/overseer/schema/query_msg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/schema/query_msg.json -------------------------------------------------------------------------------- /contracts/overseer/schema/whitelist_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/schema/whitelist_response.json -------------------------------------------------------------------------------- /contracts/overseer/src/collateral.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/src/collateral.rs -------------------------------------------------------------------------------- /contracts/overseer/src/contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/src/contract.rs -------------------------------------------------------------------------------- /contracts/overseer/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/src/error.rs -------------------------------------------------------------------------------- /contracts/overseer/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/src/lib.rs -------------------------------------------------------------------------------- /contracts/overseer/src/querier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/src/querier.rs -------------------------------------------------------------------------------- /contracts/overseer/src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/src/state.rs -------------------------------------------------------------------------------- /contracts/overseer/src/testing/collateral_ut.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/src/testing/collateral_ut.rs -------------------------------------------------------------------------------- /contracts/overseer/src/testing/integration.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/src/testing/integration.rs -------------------------------------------------------------------------------- /contracts/overseer/src/testing/mock_querier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/src/testing/mock_querier.rs -------------------------------------------------------------------------------- /contracts/overseer/src/testing/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/src/testing/mod.rs -------------------------------------------------------------------------------- /contracts/overseer/src/testing/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/contracts/overseer/src/testing/tests.rs -------------------------------------------------------------------------------- /packages/moneymarket/.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/.cargo/config -------------------------------------------------------------------------------- /packages/moneymarket/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/.editorconfig -------------------------------------------------------------------------------- /packages/moneymarket/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/Cargo.toml -------------------------------------------------------------------------------- /packages/moneymarket/examples/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/examples/schema.rs -------------------------------------------------------------------------------- /packages/moneymarket/schema/array_of__tuple_of__canonical_addr_and__uint256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/schema/array_of__tuple_of__canonical_addr_and__uint256.json -------------------------------------------------------------------------------- /packages/moneymarket/schema/array_of__tuple_of__string_and__uint256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/schema/array_of__tuple_of__string_and__uint256.json -------------------------------------------------------------------------------- /packages/moneymarket/schema/tuple_of__canonical_addr_and__uint256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/schema/tuple_of__canonical_addr_and__uint256.json -------------------------------------------------------------------------------- /packages/moneymarket/schema/tuple_of__string_and__uint256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/schema/tuple_of__string_and__uint256.json -------------------------------------------------------------------------------- /packages/moneymarket/src/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/common.rs -------------------------------------------------------------------------------- /packages/moneymarket/src/custody.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/custody.rs -------------------------------------------------------------------------------- /packages/moneymarket/src/distribution_model.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/distribution_model.rs -------------------------------------------------------------------------------- /packages/moneymarket/src/interest_model.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/interest_model.rs -------------------------------------------------------------------------------- /packages/moneymarket/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/lib.rs -------------------------------------------------------------------------------- /packages/moneymarket/src/liquidation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/liquidation.rs -------------------------------------------------------------------------------- /packages/moneymarket/src/liquidation_queue.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/liquidation_queue.rs -------------------------------------------------------------------------------- /packages/moneymarket/src/market.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/market.rs -------------------------------------------------------------------------------- /packages/moneymarket/src/mock_querier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/mock_querier.rs -------------------------------------------------------------------------------- /packages/moneymarket/src/oracle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/oracle.rs -------------------------------------------------------------------------------- /packages/moneymarket/src/overseer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/overseer.rs -------------------------------------------------------------------------------- /packages/moneymarket/src/querier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/querier.rs -------------------------------------------------------------------------------- /packages/moneymarket/src/terraswap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/terraswap.rs -------------------------------------------------------------------------------- /packages/moneymarket/src/testing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/testing.rs -------------------------------------------------------------------------------- /packages/moneymarket/src/tokens.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anchor-Protocol/money-market-contracts/HEAD/packages/moneymarket/src/tokens.rs --------------------------------------------------------------------------------