Skip to content

Commit

Permalink
Merge pull request #49 from ethereum-attestation-service/bugfix
Browse files Browse the repository at this point in the history
Patch and parse all events in a unified way
  • Loading branch information
lbeder authored Aug 12, 2023
2 parents 504d782 + 4172dd0 commit e81336f
Show file tree
Hide file tree
Showing 10 changed files with 137 additions and 170 deletions.
4 changes: 2 additions & 2 deletions dist/eas.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { EAS as EASContract } from '@ethereum-attestation-service/eas-contracts';
import { Overrides } from 'ethers';
import { EIP712Proxy } from './eip712-proxy';
import { Delegated, Offchain } from './offchain';
import { AttestationRequest, DelegatedAttestationRequest, DelegatedProxyAttestationRequest, DelegatedProxyRevocationRequest, DelegatedRevocationRequest, MultiAttestationRequest, MultiDelegatedAttestationRequest, MultiDelegatedProxyAttestationRequest, MultiDelegatedProxyRevocationRequest, MultiDelegatedRevocationRequest, MultiRevocationRequest, RevocationRequest } from './request';
import { Base, SignerOrProvider, Transaction } from './transaction';
import { EAS as EASContract } from '@ethereum-attestation-service/eas-contracts';
import { Overrides } from 'ethers';
export { Overrides } from 'ethers';
export * from './request';
export interface Attestation {
Expand Down
25 changes: 15 additions & 10 deletions dist/eas.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/eas.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ export declare const ZERO_BYTES32 = "0x00000000000000000000000000000000000000000
export declare const getSchemaUID: (schema: string, resolverAddress: string, revocable: boolean) => string;
export declare const getUID: (schema: string, recipient: string, attester: string, time: bigint, expirationTime: bigint, revocable: boolean, refUID: string, data: string, bump: number) => string;
export declare const getOffchainUID: (version: number, schema: string, recipient: string, time: bigint, expirationTime: bigint, revocable: boolean, refUID: string, data: string) => string;
export declare const getUIDsFromAttestReceipt: (receipt: TransactionReceipt) => string[];
export declare const getTimestampFromTimestampReceipt: (receipt: TransactionReceipt) => bigint[];
export declare const getTimestampFromOffchainRevocationReceipt: (receipt: TransactionReceipt) => bigint[];
export declare const getUIDsFromMultiAttestTx: (res: Promise<TransactionResponse> | TransactionResponse) => Promise<string[]>;
export declare const getUIDFromAttestTx: (res: Promise<TransactionResponse> | TransactionResponse) => Promise<string>;
export declare const getUIDFromMultiDelegatedProxyAttestTx: (res: Promise<TransactionResponse> | TransactionResponse) => Promise<string[]>;
export declare const getUIDFromMultiDelegatedProxyAttestReceipt: (res: Promise<TransactionReceipt> | TransactionReceipt) => Promise<string[]>;
export declare const getUIDFromDelegatedProxyAttestTx: (res: Promise<TransactionResponse> | TransactionResponse) => Promise<string>;
export declare const getUIDFromDelegatedProxyAttestReceipt: (res: Promise<TransactionReceipt> | TransactionReceipt) => Promise<string>;
export declare const getUIDsFromAttestEvents: (logs?: ReadonlyArray<any>) => string[];
export declare const getTimestampFromTimestampEvents: (logs?: ReadonlyArray<any>) => bigint[];
export declare const getTimestampFromOffchainRevocationEvents: (logs?: ReadonlyArray<any>) => bigint[];
96 changes: 39 additions & 57 deletions dist/utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e81336f

Please sign in to comment.