UNPKG

o1js

Version:

TypeScript framework for zk-SNARKs and zkApps

27 lines (25 loc) 509 B
export { PublicKey, Field, Bool, AuthRequired, UInt64, UInt32, Sign, BalanceChange, TokenId, MayUseToken, }; type Field = string; type Bool = boolean; type UInt64 = string; type UInt32 = string; type Sign = 'Positive' | 'Negative'; type BalanceChange = { magnitude: UInt64; sgn: Sign }; type PublicKey = string; type AuthRequired = 'Signature' | 'Proof' | 'Either' | 'None' | 'Impossible'; type TokenId = Field; type MayUseToken = { parentsOwnToken: Bool; inheritFromParent: Bool; };