메인터이너
maintainer 모듈은 마진 풀을 관리하고, 금리를 구성하고, 어떤 DeepBook 풀이 margin lending에 접근할 수 있는지 제어하는 함수를 제공한다. 이 함수들은 적절한 capability를 가진 maintainer로 제한된다.
API
다음은 MarginPool이 제공하는 maintainer 함수가다.
Click to open
Create a 마진 풀
특정 자산에 대한 새로운 마진 풀을 생성하고 등록한다. 자산 type당 하나의 마진 풀만 존재할 수 있다.
File not found in manifest:
packages/deepbook_margin/sources/margin_pool.move. You probably need to run `pnpm prebuild` and restart the site.Click to open
Enable or disable DeepBook 풀
이 마진 풀에서 차입할 수 있는 DeepBook 풀을 제어한다. 활성화된 풀과 연결된 margin manager만 대출을 받을 수 있다.
File not found in manifest:
packages/deepbook_margin/sources/margin_pool.move. You probably need to run `pnpm prebuild` and restart the site.Click to open
Update 풀 파라미터
금리 파라미터와 마진 풀 configuration setting을 업데이트한다.
File not found in manifest:
packages/deepbook_margin/sources/margin_pool.move. You probably need to run `pnpm prebuild` and restart the site.Click to open
Withdraw fees
마진 풀에서 누적된 maintainer 및 프로토콜 수수료를 인출한다.
File not found in manifest:
packages/deepbook_margin/sources/margin_pool.move. You probably need to run `pnpm prebuild` and restart the site.이벤트
Click to open
MaintainerCapUpdated
maintainer capability가 업데이트될 때 방출된다.
File not found in manifest:
packages/deepbook_margin/sources/margin_registry.move. You probably need to run `pnpm prebuild` and restart the site.Click to open
PauseCapUpdated
pause capability가 업데이트될 때 방출된다.
File not found in manifest:
packages/deepbook_margin/sources/margin_registry.move. You probably need to run `pnpm prebuild` and restart the site.Click to open
DeepbookPoolRegistered
DeepBook 풀이 margin registry에 등록될 때 방출된다.
File not found in manifest:
packages/deepbook_margin/sources/margin_registry.move. You probably need to run `pnpm prebuild` and restart the site.Click to open
DeepbookPoolUpdatedRegistry
DeepBook 풀의 enabled status가 registry에서 업데이트될 때 방출된다.
File not found in manifest:
packages/deepbook_margin/sources/margin_registry.move. You probably need to run `pnpm prebuild` and restart the site.Click to open
DeepbookPoolConfigUpdated
DeepBook 풀의 configuration이 registry에서 업데이트될 때 방출된다.
File not found in manifest:
packages/deepbook_margin/sources/margin_registry.move. You probably need to run `pnpm prebuild` and restart the site.