mirror of
https://github.com/logos-messaging/logos-delivery-js.git
synced 2026-03-11 04:03:07 +00:00
* chore: update definitions to match the ABI * chore: improve exports and types * chore: use big endian instead of little endian * chore: improve logging * chore: update import * fix: use overloaded function call * chore: estimate gas * test * npm i * chore: regen locl * chore: update * chore: update playwright docker images * chore: cannot erase membership if it isn't expired/in grace period * chore: fix condition * chore: add `getMembershipStatus` method * refactor(rln): cache min/max rate limits at contract instantiation * chore: fix accessor * chore: rename arg * chore: allow chromebin path through env
43 lines
1.1 KiB
TypeScript
43 lines
1.1 KiB
TypeScript
import { RLNDecoder, RLNEncoder } from "./codec.js";
|
|
import { RLN_ABI } from "./contract/abi.js";
|
|
import { LINEA_CONTRACT, RLNContract } from "./contract/index.js";
|
|
import { RLNBaseContract } from "./contract/rln_base_contract.js";
|
|
import { createRLN } from "./create.js";
|
|
import { RLNCredentialsManager } from "./credentials_manager.js";
|
|
import { IdentityCredential } from "./identity.js";
|
|
import { Keystore } from "./keystore/index.js";
|
|
import { Proof } from "./proof.js";
|
|
import { RLNInstance } from "./rln.js";
|
|
import { MerkleRootTracker } from "./root_tracker.js";
|
|
import { extractMetaMaskSigner } from "./utils/index.js";
|
|
|
|
export {
|
|
RLNCredentialsManager,
|
|
RLNBaseContract,
|
|
createRLN,
|
|
Keystore,
|
|
RLNInstance,
|
|
IdentityCredential,
|
|
Proof,
|
|
RLNEncoder,
|
|
RLNDecoder,
|
|
MerkleRootTracker,
|
|
RLNContract,
|
|
LINEA_CONTRACT,
|
|
extractMetaMaskSigner,
|
|
RLN_ABI
|
|
};
|
|
|
|
export type {
|
|
DecryptedCredentials,
|
|
EncryptedCredentials,
|
|
Keccak256Hash,
|
|
KeystoreEntity,
|
|
MembershipHash,
|
|
KeystoreMembershipInfo,
|
|
Password,
|
|
Sha256Hash
|
|
} from "./keystore/types.js";
|
|
|
|
export * from "./contract/index.js";
|