For the complete documentation index, see llms.txt
Compact standard library
CompactStandardLibrary ∙ 상세 API 레퍼런스
이 API는 Compact 프로그램에서 사용할 수 있는 표준 타입과 circuit을 제공합니다. API의 주요 부분은 다음과 같습니다:
- 공통 데이터 타입:
- 코인 관리 데이터 타입:
- 공통 함수:
- 해싱 함수:
- 타원 곡선 타입·함수:
JubjubPointJubjubScalarconstructJubjubPointjubjubPointXjubjubPointYSecp256k1PointSecp256k1BaseSecp256k1Scalarsecp256k1PointXsecp256k1PointYSecp256r1PointSecp256r1BaseSecp256r1Scalarsecp256r1PointXsecp256r1PointYCurve25519PointCurve25519BaseCurve25519Scalarcurve25519PointXcurve25519PointYecAddecNegecMulecMulGeneratorhashToCurve
- 필드 산술 함수:
- Merkle 트리 함수:
- 코인 관리 함수:
tokenTypenativeTokenownPublicKeycreateZswapInputcreateZswapOutputmintShieldedTokenevolveNoncereceiveShieldedsendShieldedsendImmediateShieldedmergeCoinmergeCoinImmediateshieldedBurnAddressmintUnshieldedTokensendUnshieldedreceiveUnshieldedunshieldedBalanceunshieldedBalanceLtunshieldedBalanceGteunshieldedBalanceGtunshieldedBalanceLte
- 블록 시간 함수:
- 암호 서명 타입·함수:
- Ledger 필드:
kernel-- 연산은 Ledger data types 참고
emit으로 발생시킬 수 있는 Events: