@arianee/arianee-abi
Advanced tools
Comparing version 0.30.0 to 0.31.0
@@ -59,21 +59,2 @@ { | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "previousOwner", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "newOwner", | ||
"type": "address" | ||
} | ||
], | ||
"name": "OwnershipTransferred", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
@@ -465,15 +446,2 @@ "internalType": "uint256", | ||
"inputs": [], | ||
"name": "owner", | ||
"outputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "poseidon", | ||
@@ -491,9 +459,2 @@ "outputs": [ | ||
{ | ||
"inputs": [], | ||
"name": "renounceOwnership", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
@@ -546,15 +507,2 @@ { | ||
{ | ||
"internalType": "address", | ||
"name": "newOwner", | ||
"type": "address" | ||
} | ||
], | ||
"name": "transferOwnership", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
@@ -612,3 +560,3 @@ "name": "i", | ||
"internalType": "uint256", | ||
"name": "_zkCreditType", | ||
"name": "_creditType", | ||
"type": "uint256" | ||
@@ -642,5 +590,5 @@ } | ||
{ | ||
"internalType": "uint256[3]", | ||
"internalType": "uint256[4]", | ||
"name": "_pubSignals", | ||
"type": "uint256[3]" | ||
"type": "uint256[4]" | ||
} | ||
@@ -653,4 +601,9 @@ ], | ||
{ | ||
"internalType": "bytes", | ||
"name": "_intentMsgData", | ||
"type": "bytes" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "_zkCreditType", | ||
"name": "_creditType", | ||
"type": "uint256" | ||
@@ -657,0 +610,0 @@ } |
@@ -49,6 +49,19 @@ { | ||
{ | ||
"indexed": false, | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "sender", | ||
"type": "address" | ||
} | ||
], | ||
"name": "CreditFreeSenderAdded", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "sender", | ||
"type": "address" | ||
}, | ||
@@ -71,2 +84,28 @@ { | ||
"internalType": "address", | ||
"name": "sender", | ||
"type": "address" | ||
} | ||
], | ||
"name": "CreditFreeSenderRemoved", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "creditNotePool", | ||
"type": "address" | ||
} | ||
], | ||
"name": "CreditNotePoolAdded", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "previousOwner", | ||
@@ -110,6 +149,69 @@ "type": "address" | ||
"internalType": "uint256", | ||
"name": "commitmentHash", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "tokenId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "TokenCommitmentRegistered", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "commitmentHash", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "tokenId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "TokenCommitmentUnregistered", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "previousCommitmentHash", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "newCommitmentHash", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "tokenId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "TokenCommitmentUpdated", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "commitmentHash", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
@@ -145,3 +247,3 @@ "internalType": "uint256", | ||
"inputs": [], | ||
"name": "OWNERSHIP_PROOF_SIZE", | ||
"name": "CREDIT_TYPE_CERTIFICATE", | ||
"outputs": [ | ||
@@ -159,3 +261,3 @@ { | ||
"inputs": [], | ||
"name": "SELECTOR_SIZE", | ||
"name": "CREDIT_TYPE_EVENT", | ||
"outputs": [ | ||
@@ -173,3 +275,3 @@ { | ||
"inputs": [], | ||
"name": "ZK_CREDIT_TYPE_CERTIFICATE", | ||
"name": "CREDIT_TYPE_MESSAGE", | ||
"outputs": [ | ||
@@ -187,3 +289,3 @@ { | ||
"inputs": [], | ||
"name": "ZK_CREDIT_TYPE_EVENT", | ||
"name": "CREDIT_TYPE_UPDATE", | ||
"outputs": [ | ||
@@ -201,3 +303,3 @@ { | ||
"inputs": [], | ||
"name": "ZK_CREDIT_TYPE_MESSAGE", | ||
"name": "OWNERSHIP_PROOF_SIZE", | ||
"outputs": [ | ||
@@ -215,3 +317,3 @@ { | ||
"inputs": [], | ||
"name": "ZK_CREDIT_TYPE_UPDATE", | ||
"name": "SELECTOR_SIZE", | ||
"outputs": [ | ||
@@ -575,5 +677,5 @@ { | ||
{ | ||
"internalType": "uint256[3]", | ||
"internalType": "uint256[4]", | ||
"name": "_pubSignals", | ||
"type": "uint256[3]" | ||
"type": "uint256[4]" | ||
} | ||
@@ -672,2 +774,7 @@ ], | ||
"internalType": "uint256", | ||
"name": "_commitmentHash", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "_wordPos", | ||
@@ -1109,5 +1216,5 @@ "type": "uint256" | ||
{ | ||
"internalType": "uint256[3]", | ||
"internalType": "uint256[4]", | ||
"name": "_pubSignals", | ||
"type": "uint256[3]" | ||
"type": "uint256[4]" | ||
} | ||
@@ -1192,5 +1299,5 @@ ], | ||
{ | ||
"internalType": "uint256[3]", | ||
"internalType": "uint256[4]", | ||
"name": "_pubSignals", | ||
"type": "uint256[3]" | ||
"type": "uint256[4]" | ||
} | ||
@@ -1415,5 +1522,5 @@ ], | ||
{ | ||
"internalType": "uint256[3]", | ||
"internalType": "uint256[4]", | ||
"name": "_pubSignals", | ||
"type": "uint256[3]" | ||
"type": "uint256[4]" | ||
} | ||
@@ -1705,45 +1812,4 @@ ], | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "uint256[2]", | ||
"name": "_pA", | ||
"type": "uint256[2]" | ||
}, | ||
{ | ||
"internalType": "uint256[2][2]", | ||
"name": "_pB", | ||
"type": "uint256[2][2]" | ||
}, | ||
{ | ||
"internalType": "uint256[2]", | ||
"name": "_pC", | ||
"type": "uint256[2]" | ||
}, | ||
{ | ||
"internalType": "uint256[3]", | ||
"name": "_pubSignals", | ||
"type": "uint256[3]" | ||
} | ||
], | ||
"internalType": "struct CreditNoteProof", | ||
"name": "_proof", | ||
"type": "tuple" | ||
} | ||
], | ||
"name": "isDefaultCreditNoteProof", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "pure", | ||
"type": "function" | ||
} | ||
] | ||
} |
@@ -25,3 +25,3 @@ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; | ||
_pC: [BigNumberish, BigNumberish]; | ||
_pubSignals: [BigNumberish, BigNumberish, BigNumberish]; | ||
_pubSignals: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]; | ||
}; | ||
@@ -32,3 +32,3 @@ type CreditNoteProofStructOutput = [ | ||
_pC: [bigint, bigint], | ||
_pubSignals: [bigint, bigint, bigint] | ||
_pubSignals: [bigint, bigint, bigint, bigint] | ||
] & { | ||
@@ -38,8 +38,8 @@ _pA: [bigint, bigint]; | ||
_pC: [bigint, bigint]; | ||
_pubSignals: [bigint, bigint, bigint]; | ||
_pubSignals: [bigint, bigint, bigint, bigint]; | ||
}; | ||
} | ||
export interface ArianeeCreditNotePoolInterface extends Interface { | ||
getFunction(nameOrSignature: "CREDIT_NOTE_PROOF_SIZE" | "FIELD_SIZE" | "MAX_NULLIFIER_PER_COMMITMENT" | "OWNERSHIP_PROOF_SIZE" | "ROOT_HISTORY_SIZE" | "SELECTOR_SIZE" | "ZERO_VALUE" | "commitmentHashes" | "creditRegister" | "creditVerifier" | "currentRootIndex" | "filledSubtrees" | "getLastRoot" | "getTrustedForwarder" | "hashLeftRight" | "hasher" | "isKnownRoot" | "isTrustedForwarder" | "issuerProxy" | "levels" | "nextIndex" | "nullifierHashes" | "owner" | "poseidon" | "renounceOwnership" | "roots" | "store" | "token" | "transferOwnership" | "zeros" | "purchase" | "spend" | "isSpentBatch" | "isSpent"): FunctionFragment; | ||
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred" | "Purchased" | "Spent"): EventFragment; | ||
getFunction(nameOrSignature: "CREDIT_NOTE_PROOF_SIZE" | "FIELD_SIZE" | "MAX_NULLIFIER_PER_COMMITMENT" | "OWNERSHIP_PROOF_SIZE" | "ROOT_HISTORY_SIZE" | "SELECTOR_SIZE" | "ZERO_VALUE" | "commitmentHashes" | "creditRegister" | "creditVerifier" | "currentRootIndex" | "filledSubtrees" | "getLastRoot" | "getTrustedForwarder" | "hashLeftRight" | "hasher" | "isKnownRoot" | "isTrustedForwarder" | "issuerProxy" | "levels" | "nextIndex" | "nullifierHashes" | "poseidon" | "roots" | "store" | "token" | "zeros" | "purchase" | "spend" | "isSpentBatch" | "isSpent"): FunctionFragment; | ||
getEvent(nameOrSignatureOrTopic: "Purchased" | "Spent"): EventFragment; | ||
encodeFunctionData(functionFragment: "CREDIT_NOTE_PROOF_SIZE", values?: undefined): string; | ||
@@ -67,9 +67,6 @@ encodeFunctionData(functionFragment: "FIELD_SIZE", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "nullifierHashes", values: [BytesLike]): string; | ||
encodeFunctionData(functionFragment: "owner", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "poseidon", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "roots", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "store", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "token", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string; | ||
encodeFunctionData(functionFragment: "zeros", values: [BigNumberish]): string; | ||
@@ -81,3 +78,7 @@ encodeFunctionData(functionFragment: "purchase", values: [ | ||
]): string; | ||
encodeFunctionData(functionFragment: "spend", values: [ArianeeCreditNotePool.CreditNoteProofStruct, BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "spend", values: [ | ||
ArianeeCreditNotePool.CreditNoteProofStruct, | ||
BytesLike, | ||
BigNumberish | ||
]): string; | ||
encodeFunctionData(functionFragment: "isSpentBatch", values: [BytesLike[]]): string; | ||
@@ -107,9 +108,6 @@ encodeFunctionData(functionFragment: "isSpent", values: [BytesLike]): string; | ||
decodeFunctionResult(functionFragment: "nullifierHashes", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "poseidon", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "roots", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "store", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "token", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "zeros", data: BytesLike): Result; | ||
@@ -121,14 +119,2 @@ decodeFunctionResult(functionFragment: "purchase", data: BytesLike): Result; | ||
} | ||
export declare namespace OwnershipTransferredEvent { | ||
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; | ||
type OutputTuple = [previousOwner: string, newOwner: string]; | ||
interface OutputObject { | ||
previousOwner: string; | ||
newOwner: string; | ||
} | ||
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; | ||
type Filter = TypedDeferredTopicFilter<Event>; | ||
type Log = TypedEventLog<Event>; | ||
type LogDescription = TypedLogDescription<Event>; | ||
} | ||
export declare namespace PurchasedEvent { | ||
@@ -224,13 +210,6 @@ type InputTuple = [ | ||
nullifierHashes: TypedContractMethod<[arg0: BytesLike], [boolean], "view">; | ||
owner: TypedContractMethod<[], [string], "view">; | ||
poseidon: TypedContractMethod<[], [string], "view">; | ||
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; | ||
roots: TypedContractMethod<[arg0: BigNumberish], [string], "view">; | ||
store: TypedContractMethod<[], [string], "view">; | ||
token: TypedContractMethod<[], [string], "view">; | ||
transferOwnership: TypedContractMethod<[ | ||
newOwner: AddressLike | ||
], [ | ||
void | ||
], "nonpayable">; | ||
zeros: TypedContractMethod<[i: BigNumberish], [string], "view">; | ||
@@ -240,3 +219,3 @@ purchase: TypedContractMethod<[ | ||
_commitmentHash: BytesLike, | ||
_zkCreditType: BigNumberish | ||
_creditType: BigNumberish | ||
], [ | ||
@@ -247,3 +226,4 @@ void | ||
_creditNoteProof: ArianeeCreditNotePool.CreditNoteProofStruct, | ||
_zkCreditType: BigNumberish | ||
_intentMsgData: BytesLike, | ||
_creditType: BigNumberish | ||
], [ | ||
@@ -287,9 +267,6 @@ void | ||
getFunction(nameOrSignature: "nullifierHashes"): TypedContractMethod<[arg0: BytesLike], [boolean], "view">; | ||
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">; | ||
getFunction(nameOrSignature: "poseidon"): TypedContractMethod<[], [string], "view">; | ||
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">; | ||
getFunction(nameOrSignature: "roots"): TypedContractMethod<[arg0: BigNumberish], [string], "view">; | ||
getFunction(nameOrSignature: "store"): TypedContractMethod<[], [string], "view">; | ||
getFunction(nameOrSignature: "token"): TypedContractMethod<[], [string], "view">; | ||
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; | ||
getFunction(nameOrSignature: "zeros"): TypedContractMethod<[i: BigNumberish], [string], "view">; | ||
@@ -299,3 +276,3 @@ getFunction(nameOrSignature: "purchase"): TypedContractMethod<[ | ||
_commitmentHash: BytesLike, | ||
_zkCreditType: BigNumberish | ||
_creditType: BigNumberish | ||
], [ | ||
@@ -306,3 +283,4 @@ void | ||
_creditNoteProof: ArianeeCreditNotePool.CreditNoteProofStruct, | ||
_zkCreditType: BigNumberish | ||
_intentMsgData: BytesLike, | ||
_creditType: BigNumberish | ||
], [ | ||
@@ -313,8 +291,5 @@ void | ||
getFunction(nameOrSignature: "isSpent"): TypedContractMethod<[_nullifierHash: BytesLike], [boolean], "view">; | ||
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>; | ||
getEvent(key: "Purchased"): TypedContractEvent<PurchasedEvent.InputTuple, PurchasedEvent.OutputTuple, PurchasedEvent.OutputObject>; | ||
getEvent(key: "Spent"): TypedContractEvent<SpentEvent.InputTuple, SpentEvent.OutputTuple, SpentEvent.OutputObject>; | ||
filters: { | ||
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>; | ||
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>; | ||
"Purchased(uint256,bytes32,uint32,uint256)": TypedContractEvent<PurchasedEvent.InputTuple, PurchasedEvent.OutputTuple, PurchasedEvent.OutputObject>; | ||
@@ -321,0 +296,0 @@ Purchased: TypedContractEvent<PurchasedEvent.InputTuple, PurchasedEvent.OutputTuple, PurchasedEvent.OutputObject>; |
@@ -7,3 +7,3 @@ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; | ||
_pC: [BigNumberish, BigNumberish]; | ||
_pubSignals: [BigNumberish, BigNumberish, BigNumberish]; | ||
_pubSignals: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]; | ||
}; | ||
@@ -14,3 +14,3 @@ export type CreditNoteProofStructOutput = [ | ||
_pC: [bigint, bigint], | ||
_pubSignals: [bigint, bigint, bigint] | ||
_pubSignals: [bigint, bigint, bigint, bigint] | ||
] & { | ||
@@ -20,3 +20,3 @@ _pA: [bigint, bigint]; | ||
_pC: [bigint, bigint]; | ||
_pubSignals: [bigint, bigint, bigint]; | ||
_pubSignals: [bigint, bigint, bigint, bigint]; | ||
}; | ||
@@ -43,11 +43,11 @@ export declare namespace ArianeeIssuerProxy { | ||
export interface ArianeeIssuerProxyInterface extends Interface { | ||
getFunction(nameOrSignature: "CREDIT_NOTE_PROOF_SIZE" | "OWNERSHIP_PROOF_SIZE" | "SELECTOR_SIZE" | "ZK_CREDIT_TYPE_CERTIFICATE" | "ZK_CREDIT_TYPE_EVENT" | "ZK_CREDIT_TYPE_MESSAGE" | "ZK_CREDIT_TYPE_UPDATE" | "acceptOwnership" | "arianeeEvent" | "arianeeLost" | "commitmentHashes" | "creditFreeSenders" | "creditNotePools" | "getTrustedForwarder" | "isTrustedForwarder" | "nonceBitmap" | "owner" | "pendingOwner" | "poseidon" | "renounceOwnership" | "smartAsset" | "store" | "transferOwnership" | "verifier" | "addCreditNotePool" | "addCreditFreeSender" | "removeCreditFreeSender" | "reserveToken" | "hydrateToken" | "invalidateUnorderedNonces" | "addTokenAccess" | "recoverTokenToIssuer" | "updateRecoveryRequest" | "destroy" | "updateTokenURI" | "safeTransferFrom" | "transferFrom" | "approve" | "updateSmartAsset" | "createEvent" | "acceptEvent" | "destroyEvent" | "updateDestroyEventRequest" | "createMessage" | "setStolenStatus" | "unsetStolenStatus" | "setMissingStatus" | "unsetMissingStatus" | "updateCommitment" | "updateCommitmentBatch" | "isDefaultCreditNoteProof"): FunctionFragment; | ||
getEvent(nameOrSignatureOrTopic: "CreditFreeSenderLog" | "OwnershipTransferStarted" | "OwnershipTransferred" | "UnorderedNonceInvalidation"): EventFragment; | ||
getFunction(nameOrSignature: "CREDIT_NOTE_PROOF_SIZE" | "CREDIT_TYPE_CERTIFICATE" | "CREDIT_TYPE_EVENT" | "CREDIT_TYPE_MESSAGE" | "CREDIT_TYPE_UPDATE" | "OWNERSHIP_PROOF_SIZE" | "SELECTOR_SIZE" | "acceptOwnership" | "arianeeEvent" | "arianeeLost" | "commitmentHashes" | "creditFreeSenders" | "creditNotePools" | "getTrustedForwarder" | "isTrustedForwarder" | "nonceBitmap" | "owner" | "pendingOwner" | "poseidon" | "renounceOwnership" | "smartAsset" | "store" | "transferOwnership" | "verifier" | "addCreditNotePool" | "addCreditFreeSender" | "removeCreditFreeSender" | "reserveToken" | "hydrateToken" | "invalidateUnorderedNonces" | "addTokenAccess" | "recoverTokenToIssuer" | "updateRecoveryRequest" | "destroy" | "updateTokenURI" | "safeTransferFrom" | "transferFrom" | "approve" | "updateSmartAsset" | "createEvent" | "acceptEvent" | "destroyEvent" | "updateDestroyEventRequest" | "createMessage" | "setStolenStatus" | "unsetStolenStatus" | "setMissingStatus" | "unsetMissingStatus" | "updateCommitment" | "updateCommitmentBatch"): FunctionFragment; | ||
getEvent(nameOrSignatureOrTopic: "CreditFreeSenderAdded" | "CreditFreeSenderLog" | "CreditFreeSenderRemoved" | "CreditNotePoolAdded" | "OwnershipTransferStarted" | "OwnershipTransferred" | "TokenCommitmentRegistered" | "TokenCommitmentUnregistered" | "TokenCommitmentUpdated" | "UnorderedNonceInvalidation"): EventFragment; | ||
encodeFunctionData(functionFragment: "CREDIT_NOTE_PROOF_SIZE", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "CREDIT_TYPE_CERTIFICATE", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "CREDIT_TYPE_EVENT", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "CREDIT_TYPE_MESSAGE", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "CREDIT_TYPE_UPDATE", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "OWNERSHIP_PROOF_SIZE", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "SELECTOR_SIZE", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "ZK_CREDIT_TYPE_CERTIFICATE", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "ZK_CREDIT_TYPE_EVENT", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "ZK_CREDIT_TYPE_MESSAGE", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "ZK_CREDIT_TYPE_UPDATE", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string; | ||
@@ -91,2 +91,3 @@ encodeFunctionData(functionFragment: "arianeeEvent", values?: undefined): string; | ||
BigNumberish, | ||
BigNumberish, | ||
BigNumberish | ||
@@ -163,10 +164,9 @@ ]): string; | ||
]): string; | ||
encodeFunctionData(functionFragment: "isDefaultCreditNoteProof", values: [CreditNoteProofStruct]): string; | ||
decodeFunctionResult(functionFragment: "CREDIT_NOTE_PROOF_SIZE", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "CREDIT_TYPE_CERTIFICATE", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "CREDIT_TYPE_EVENT", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "CREDIT_TYPE_MESSAGE", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "CREDIT_TYPE_UPDATE", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "OWNERSHIP_PROOF_SIZE", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "SELECTOR_SIZE", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "ZK_CREDIT_TYPE_CERTIFICATE", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "ZK_CREDIT_TYPE_EVENT", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "ZK_CREDIT_TYPE_MESSAGE", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "ZK_CREDIT_TYPE_UPDATE", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result; | ||
@@ -215,4 +215,14 @@ decodeFunctionResult(functionFragment: "arianeeEvent", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "updateCommitmentBatch", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "isDefaultCreditNoteProof", data: BytesLike): Result; | ||
} | ||
export declare namespace CreditFreeSenderAddedEvent { | ||
type InputTuple = [sender: AddressLike]; | ||
type OutputTuple = [sender: string]; | ||
interface OutputObject { | ||
sender: string; | ||
} | ||
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; | ||
type Filter = TypedDeferredTopicFilter<Event>; | ||
type Log = TypedEventLog<Event>; | ||
type LogDescription = TypedLogDescription<Event>; | ||
} | ||
export declare namespace CreditFreeSenderLogEvent { | ||
@@ -230,2 +240,24 @@ type InputTuple = [sender: AddressLike, creditType: BigNumberish]; | ||
} | ||
export declare namespace CreditFreeSenderRemovedEvent { | ||
type InputTuple = [sender: AddressLike]; | ||
type OutputTuple = [sender: string]; | ||
interface OutputObject { | ||
sender: string; | ||
} | ||
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; | ||
type Filter = TypedDeferredTopicFilter<Event>; | ||
type Log = TypedEventLog<Event>; | ||
type LogDescription = TypedLogDescription<Event>; | ||
} | ||
export declare namespace CreditNotePoolAddedEvent { | ||
type InputTuple = [creditNotePool: AddressLike]; | ||
type OutputTuple = [creditNotePool: string]; | ||
interface OutputObject { | ||
creditNotePool: string; | ||
} | ||
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; | ||
type Filter = TypedDeferredTopicFilter<Event>; | ||
type Log = TypedEventLog<Event>; | ||
type LogDescription = TypedLogDescription<Event>; | ||
} | ||
export declare namespace OwnershipTransferStartedEvent { | ||
@@ -255,11 +287,66 @@ type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; | ||
} | ||
export declare namespace TokenCommitmentRegisteredEvent { | ||
type InputTuple = [ | ||
commitmentHash: BigNumberish, | ||
tokenId: BigNumberish | ||
]; | ||
type OutputTuple = [commitmentHash: bigint, tokenId: bigint]; | ||
interface OutputObject { | ||
commitmentHash: bigint; | ||
tokenId: bigint; | ||
} | ||
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; | ||
type Filter = TypedDeferredTopicFilter<Event>; | ||
type Log = TypedEventLog<Event>; | ||
type LogDescription = TypedLogDescription<Event>; | ||
} | ||
export declare namespace TokenCommitmentUnregisteredEvent { | ||
type InputTuple = [ | ||
commitmentHash: BigNumberish, | ||
tokenId: BigNumberish | ||
]; | ||
type OutputTuple = [commitmentHash: bigint, tokenId: bigint]; | ||
interface OutputObject { | ||
commitmentHash: bigint; | ||
tokenId: bigint; | ||
} | ||
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; | ||
type Filter = TypedDeferredTopicFilter<Event>; | ||
type Log = TypedEventLog<Event>; | ||
type LogDescription = TypedLogDescription<Event>; | ||
} | ||
export declare namespace TokenCommitmentUpdatedEvent { | ||
type InputTuple = [ | ||
previousCommitmentHash: BigNumberish, | ||
newCommitmentHash: BigNumberish, | ||
tokenId: BigNumberish | ||
]; | ||
type OutputTuple = [ | ||
previousCommitmentHash: bigint, | ||
newCommitmentHash: bigint, | ||
tokenId: bigint | ||
]; | ||
interface OutputObject { | ||
previousCommitmentHash: bigint; | ||
newCommitmentHash: bigint; | ||
tokenId: bigint; | ||
} | ||
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; | ||
type Filter = TypedDeferredTopicFilter<Event>; | ||
type Log = TypedEventLog<Event>; | ||
type LogDescription = TypedLogDescription<Event>; | ||
} | ||
export declare namespace UnorderedNonceInvalidationEvent { | ||
type InputTuple = [ | ||
tokenId: BigNumberish, | ||
commitmentHash: BigNumberish, | ||
word: BigNumberish, | ||
mask: BigNumberish | ||
]; | ||
type OutputTuple = [tokenId: bigint, word: bigint, mask: bigint]; | ||
type OutputTuple = [ | ||
commitmentHash: bigint, | ||
word: bigint, | ||
mask: bigint | ||
]; | ||
interface OutputObject { | ||
tokenId: bigint; | ||
commitmentHash: bigint; | ||
word: bigint; | ||
@@ -287,8 +374,8 @@ mask: bigint; | ||
CREDIT_NOTE_PROOF_SIZE: TypedContractMethod<[], [bigint], "view">; | ||
CREDIT_TYPE_CERTIFICATE: TypedContractMethod<[], [bigint], "view">; | ||
CREDIT_TYPE_EVENT: TypedContractMethod<[], [bigint], "view">; | ||
CREDIT_TYPE_MESSAGE: TypedContractMethod<[], [bigint], "view">; | ||
CREDIT_TYPE_UPDATE: TypedContractMethod<[], [bigint], "view">; | ||
OWNERSHIP_PROOF_SIZE: TypedContractMethod<[], [bigint], "view">; | ||
SELECTOR_SIZE: TypedContractMethod<[], [bigint], "view">; | ||
ZK_CREDIT_TYPE_CERTIFICATE: TypedContractMethod<[], [bigint], "view">; | ||
ZK_CREDIT_TYPE_EVENT: TypedContractMethod<[], [bigint], "view">; | ||
ZK_CREDIT_TYPE_MESSAGE: TypedContractMethod<[], [bigint], "view">; | ||
ZK_CREDIT_TYPE_UPDATE: TypedContractMethod<[], [bigint], "view">; | ||
acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; | ||
@@ -371,2 +458,3 @@ arianeeEvent: TypedContractMethod<[], [string], "view">; | ||
_tokenId: BigNumberish, | ||
_commitmentHash: BigNumberish, | ||
_wordPos: BigNumberish, | ||
@@ -527,15 +615,10 @@ _mask: BigNumberish | ||
], "nonpayable">; | ||
isDefaultCreditNoteProof: TypedContractMethod<[ | ||
_proof: CreditNoteProofStruct | ||
], [ | ||
boolean | ||
], "view">; | ||
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T; | ||
getFunction(nameOrSignature: "CREDIT_NOTE_PROOF_SIZE"): TypedContractMethod<[], [bigint], "view">; | ||
getFunction(nameOrSignature: "CREDIT_TYPE_CERTIFICATE"): TypedContractMethod<[], [bigint], "view">; | ||
getFunction(nameOrSignature: "CREDIT_TYPE_EVENT"): TypedContractMethod<[], [bigint], "view">; | ||
getFunction(nameOrSignature: "CREDIT_TYPE_MESSAGE"): TypedContractMethod<[], [bigint], "view">; | ||
getFunction(nameOrSignature: "CREDIT_TYPE_UPDATE"): TypedContractMethod<[], [bigint], "view">; | ||
getFunction(nameOrSignature: "OWNERSHIP_PROOF_SIZE"): TypedContractMethod<[], [bigint], "view">; | ||
getFunction(nameOrSignature: "SELECTOR_SIZE"): TypedContractMethod<[], [bigint], "view">; | ||
getFunction(nameOrSignature: "ZK_CREDIT_TYPE_CERTIFICATE"): TypedContractMethod<[], [bigint], "view">; | ||
getFunction(nameOrSignature: "ZK_CREDIT_TYPE_EVENT"): TypedContractMethod<[], [bigint], "view">; | ||
getFunction(nameOrSignature: "ZK_CREDIT_TYPE_MESSAGE"): TypedContractMethod<[], [bigint], "view">; | ||
getFunction(nameOrSignature: "ZK_CREDIT_TYPE_UPDATE"): TypedContractMethod<[], [bigint], "view">; | ||
getFunction(nameOrSignature: "acceptOwnership"): TypedContractMethod<[], [void], "nonpayable">; | ||
@@ -590,2 +673,3 @@ getFunction(nameOrSignature: "arianeeEvent"): TypedContractMethod<[], [string], "view">; | ||
_tokenId: BigNumberish, | ||
_commitmentHash: BigNumberish, | ||
_wordPos: BigNumberish, | ||
@@ -746,10 +830,21 @@ _mask: BigNumberish | ||
], "nonpayable">; | ||
getFunction(nameOrSignature: "isDefaultCreditNoteProof"): TypedContractMethod<[_proof: CreditNoteProofStruct], [boolean], "view">; | ||
getEvent(key: "CreditFreeSenderAdded"): TypedContractEvent<CreditFreeSenderAddedEvent.InputTuple, CreditFreeSenderAddedEvent.OutputTuple, CreditFreeSenderAddedEvent.OutputObject>; | ||
getEvent(key: "CreditFreeSenderLog"): TypedContractEvent<CreditFreeSenderLogEvent.InputTuple, CreditFreeSenderLogEvent.OutputTuple, CreditFreeSenderLogEvent.OutputObject>; | ||
getEvent(key: "CreditFreeSenderRemoved"): TypedContractEvent<CreditFreeSenderRemovedEvent.InputTuple, CreditFreeSenderRemovedEvent.OutputTuple, CreditFreeSenderRemovedEvent.OutputObject>; | ||
getEvent(key: "CreditNotePoolAdded"): TypedContractEvent<CreditNotePoolAddedEvent.InputTuple, CreditNotePoolAddedEvent.OutputTuple, CreditNotePoolAddedEvent.OutputObject>; | ||
getEvent(key: "OwnershipTransferStarted"): TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>; | ||
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>; | ||
getEvent(key: "TokenCommitmentRegistered"): TypedContractEvent<TokenCommitmentRegisteredEvent.InputTuple, TokenCommitmentRegisteredEvent.OutputTuple, TokenCommitmentRegisteredEvent.OutputObject>; | ||
getEvent(key: "TokenCommitmentUnregistered"): TypedContractEvent<TokenCommitmentUnregisteredEvent.InputTuple, TokenCommitmentUnregisteredEvent.OutputTuple, TokenCommitmentUnregisteredEvent.OutputObject>; | ||
getEvent(key: "TokenCommitmentUpdated"): TypedContractEvent<TokenCommitmentUpdatedEvent.InputTuple, TokenCommitmentUpdatedEvent.OutputTuple, TokenCommitmentUpdatedEvent.OutputObject>; | ||
getEvent(key: "UnorderedNonceInvalidation"): TypedContractEvent<UnorderedNonceInvalidationEvent.InputTuple, UnorderedNonceInvalidationEvent.OutputTuple, UnorderedNonceInvalidationEvent.OutputObject>; | ||
filters: { | ||
"CreditFreeSenderAdded(address)": TypedContractEvent<CreditFreeSenderAddedEvent.InputTuple, CreditFreeSenderAddedEvent.OutputTuple, CreditFreeSenderAddedEvent.OutputObject>; | ||
CreditFreeSenderAdded: TypedContractEvent<CreditFreeSenderAddedEvent.InputTuple, CreditFreeSenderAddedEvent.OutputTuple, CreditFreeSenderAddedEvent.OutputObject>; | ||
"CreditFreeSenderLog(address,uint256)": TypedContractEvent<CreditFreeSenderLogEvent.InputTuple, CreditFreeSenderLogEvent.OutputTuple, CreditFreeSenderLogEvent.OutputObject>; | ||
CreditFreeSenderLog: TypedContractEvent<CreditFreeSenderLogEvent.InputTuple, CreditFreeSenderLogEvent.OutputTuple, CreditFreeSenderLogEvent.OutputObject>; | ||
"CreditFreeSenderRemoved(address)": TypedContractEvent<CreditFreeSenderRemovedEvent.InputTuple, CreditFreeSenderRemovedEvent.OutputTuple, CreditFreeSenderRemovedEvent.OutputObject>; | ||
CreditFreeSenderRemoved: TypedContractEvent<CreditFreeSenderRemovedEvent.InputTuple, CreditFreeSenderRemovedEvent.OutputTuple, CreditFreeSenderRemovedEvent.OutputObject>; | ||
"CreditNotePoolAdded(address)": TypedContractEvent<CreditNotePoolAddedEvent.InputTuple, CreditNotePoolAddedEvent.OutputTuple, CreditNotePoolAddedEvent.OutputObject>; | ||
CreditNotePoolAdded: TypedContractEvent<CreditNotePoolAddedEvent.InputTuple, CreditNotePoolAddedEvent.OutputTuple, CreditNotePoolAddedEvent.OutputObject>; | ||
"OwnershipTransferStarted(address,address)": TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>; | ||
@@ -759,2 +854,8 @@ OwnershipTransferStarted: TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>; | ||
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>; | ||
"TokenCommitmentRegistered(uint256,uint256)": TypedContractEvent<TokenCommitmentRegisteredEvent.InputTuple, TokenCommitmentRegisteredEvent.OutputTuple, TokenCommitmentRegisteredEvent.OutputObject>; | ||
TokenCommitmentRegistered: TypedContractEvent<TokenCommitmentRegisteredEvent.InputTuple, TokenCommitmentRegisteredEvent.OutputTuple, TokenCommitmentRegisteredEvent.OutputObject>; | ||
"TokenCommitmentUnregistered(uint256,uint256)": TypedContractEvent<TokenCommitmentUnregisteredEvent.InputTuple, TokenCommitmentUnregisteredEvent.OutputTuple, TokenCommitmentUnregisteredEvent.OutputObject>; | ||
TokenCommitmentUnregistered: TypedContractEvent<TokenCommitmentUnregisteredEvent.InputTuple, TokenCommitmentUnregisteredEvent.OutputTuple, TokenCommitmentUnregisteredEvent.OutputObject>; | ||
"TokenCommitmentUpdated(uint256,uint256,uint256)": TypedContractEvent<TokenCommitmentUpdatedEvent.InputTuple, TokenCommitmentUpdatedEvent.OutputTuple, TokenCommitmentUpdatedEvent.OutputObject>; | ||
TokenCommitmentUpdated: TypedContractEvent<TokenCommitmentUpdatedEvent.InputTuple, TokenCommitmentUpdatedEvent.OutputTuple, TokenCommitmentUpdatedEvent.OutputObject>; | ||
"UnorderedNonceInvalidation(uint256,uint256,uint256)": TypedContractEvent<UnorderedNonceInvalidationEvent.InputTuple, UnorderedNonceInvalidationEvent.OutputTuple, UnorderedNonceInvalidationEvent.OutputObject>; | ||
@@ -761,0 +862,0 @@ UnorderedNonceInvalidation: TypedContractEvent<UnorderedNonceInvalidationEvent.InputTuple, UnorderedNonceInvalidationEvent.OutputTuple, UnorderedNonceInvalidationEvent.OutputObject>; |
@@ -47,17 +47,2 @@ import { type ContractRunner } from "ethers"; | ||
readonly inputs: readonly [{ | ||
readonly indexed: true; | ||
readonly internalType: "address"; | ||
readonly name: "previousOwner"; | ||
readonly type: "address"; | ||
}, { | ||
readonly indexed: true; | ||
readonly internalType: "address"; | ||
readonly name: "newOwner"; | ||
readonly type: "address"; | ||
}]; | ||
readonly name: "OwnershipTransferred"; | ||
readonly type: "event"; | ||
}, { | ||
readonly anonymous: false; | ||
readonly inputs: readonly [{ | ||
readonly indexed: false; | ||
@@ -359,12 +344,2 @@ readonly internalType: "uint256"; | ||
readonly inputs: readonly []; | ||
readonly name: "owner"; | ||
readonly outputs: readonly [{ | ||
readonly internalType: "address"; | ||
readonly name: ""; | ||
readonly type: "address"; | ||
}]; | ||
readonly stateMutability: "view"; | ||
readonly type: "function"; | ||
}, { | ||
readonly inputs: readonly []; | ||
readonly name: "poseidon"; | ||
@@ -379,8 +354,2 @@ readonly outputs: readonly [{ | ||
}, { | ||
readonly inputs: readonly []; | ||
readonly name: "renounceOwnership"; | ||
readonly outputs: readonly []; | ||
readonly stateMutability: "nonpayable"; | ||
readonly type: "function"; | ||
}, { | ||
readonly inputs: readonly [{ | ||
@@ -421,12 +390,2 @@ readonly internalType: "uint256"; | ||
readonly inputs: readonly [{ | ||
readonly internalType: "address"; | ||
readonly name: "newOwner"; | ||
readonly type: "address"; | ||
}]; | ||
readonly name: "transferOwnership"; | ||
readonly outputs: readonly []; | ||
readonly stateMutability: "nonpayable"; | ||
readonly type: "function"; | ||
}, { | ||
readonly inputs: readonly [{ | ||
readonly internalType: "uint256"; | ||
@@ -472,3 +431,3 @@ readonly name: "i"; | ||
readonly internalType: "uint256"; | ||
readonly name: "_zkCreditType"; | ||
readonly name: "_creditType"; | ||
readonly type: "uint256"; | ||
@@ -495,5 +454,5 @@ }]; | ||
}, { | ||
readonly internalType: "uint256[3]"; | ||
readonly internalType: "uint256[4]"; | ||
readonly name: "_pubSignals"; | ||
readonly type: "uint256[3]"; | ||
readonly type: "uint256[4]"; | ||
}]; | ||
@@ -504,4 +463,8 @@ readonly internalType: "struct ArianeeCreditNotePool.CreditNoteProof"; | ||
}, { | ||
readonly internalType: "bytes"; | ||
readonly name: "_intentMsgData"; | ||
readonly type: "bytes"; | ||
}, { | ||
readonly internalType: "uint256"; | ||
readonly name: "_zkCreditType"; | ||
readonly name: "_creditType"; | ||
readonly type: "uint256"; | ||
@@ -508,0 +471,0 @@ }]; |
@@ -64,21 +64,2 @@ "use strict"; | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "previousOwner", | ||
type: "address", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "newOwner", | ||
type: "address", | ||
}, | ||
], | ||
name: "OwnershipTransferred", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
@@ -470,15 +451,2 @@ internalType: "uint256", | ||
inputs: [], | ||
name: "owner", | ||
outputs: [ | ||
{ | ||
internalType: "address", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "poseidon", | ||
@@ -496,9 +464,2 @@ outputs: [ | ||
{ | ||
inputs: [], | ||
name: "renounceOwnership", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
@@ -551,15 +512,2 @@ { | ||
{ | ||
internalType: "address", | ||
name: "newOwner", | ||
type: "address", | ||
}, | ||
], | ||
name: "transferOwnership", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "uint256", | ||
@@ -617,3 +565,3 @@ name: "i", | ||
internalType: "uint256", | ||
name: "_zkCreditType", | ||
name: "_creditType", | ||
type: "uint256", | ||
@@ -647,5 +595,5 @@ }, | ||
{ | ||
internalType: "uint256[3]", | ||
internalType: "uint256[4]", | ||
name: "_pubSignals", | ||
type: "uint256[3]", | ||
type: "uint256[4]", | ||
}, | ||
@@ -658,4 +606,9 @@ ], | ||
{ | ||
internalType: "bytes", | ||
name: "_intentMsgData", | ||
type: "bytes", | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "_zkCreditType", | ||
name: "_creditType", | ||
type: "uint256", | ||
@@ -662,0 +615,0 @@ }, |
@@ -39,6 +39,16 @@ import { type ContractRunner } from "ethers"; | ||
readonly inputs: readonly [{ | ||
readonly indexed: false; | ||
readonly indexed: true; | ||
readonly internalType: "address"; | ||
readonly name: "sender"; | ||
readonly type: "address"; | ||
}]; | ||
readonly name: "CreditFreeSenderAdded"; | ||
readonly type: "event"; | ||
}, { | ||
readonly anonymous: false; | ||
readonly inputs: readonly [{ | ||
readonly indexed: true; | ||
readonly internalType: "address"; | ||
readonly name: "sender"; | ||
readonly type: "address"; | ||
}, { | ||
@@ -57,2 +67,22 @@ readonly indexed: false; | ||
readonly internalType: "address"; | ||
readonly name: "sender"; | ||
readonly type: "address"; | ||
}]; | ||
readonly name: "CreditFreeSenderRemoved"; | ||
readonly type: "event"; | ||
}, { | ||
readonly anonymous: false; | ||
readonly inputs: readonly [{ | ||
readonly indexed: true; | ||
readonly internalType: "address"; | ||
readonly name: "creditNotePool"; | ||
readonly type: "address"; | ||
}]; | ||
readonly name: "CreditNotePoolAdded"; | ||
readonly type: "event"; | ||
}, { | ||
readonly anonymous: false; | ||
readonly inputs: readonly [{ | ||
readonly indexed: true; | ||
readonly internalType: "address"; | ||
readonly name: "previousOwner"; | ||
@@ -88,5 +118,55 @@ readonly type: "address"; | ||
readonly internalType: "uint256"; | ||
readonly name: "commitmentHash"; | ||
readonly type: "uint256"; | ||
}, { | ||
readonly indexed: true; | ||
readonly internalType: "uint256"; | ||
readonly name: "tokenId"; | ||
readonly type: "uint256"; | ||
}]; | ||
readonly name: "TokenCommitmentRegistered"; | ||
readonly type: "event"; | ||
}, { | ||
readonly anonymous: false; | ||
readonly inputs: readonly [{ | ||
readonly indexed: true; | ||
readonly internalType: "uint256"; | ||
readonly name: "commitmentHash"; | ||
readonly type: "uint256"; | ||
}, { | ||
readonly indexed: true; | ||
readonly internalType: "uint256"; | ||
readonly name: "tokenId"; | ||
readonly type: "uint256"; | ||
}]; | ||
readonly name: "TokenCommitmentUnregistered"; | ||
readonly type: "event"; | ||
}, { | ||
readonly anonymous: false; | ||
readonly inputs: readonly [{ | ||
readonly indexed: true; | ||
readonly internalType: "uint256"; | ||
readonly name: "previousCommitmentHash"; | ||
readonly type: "uint256"; | ||
}, { | ||
readonly indexed: true; | ||
readonly internalType: "uint256"; | ||
readonly name: "newCommitmentHash"; | ||
readonly type: "uint256"; | ||
}, { | ||
readonly indexed: true; | ||
readonly internalType: "uint256"; | ||
readonly name: "tokenId"; | ||
readonly type: "uint256"; | ||
}]; | ||
readonly name: "TokenCommitmentUpdated"; | ||
readonly type: "event"; | ||
}, { | ||
readonly anonymous: false; | ||
readonly inputs: readonly [{ | ||
readonly indexed: true; | ||
readonly internalType: "uint256"; | ||
readonly name: "commitmentHash"; | ||
readonly type: "uint256"; | ||
}, { | ||
readonly indexed: false; | ||
@@ -116,3 +196,3 @@ readonly internalType: "uint256"; | ||
readonly inputs: readonly []; | ||
readonly name: "OWNERSHIP_PROOF_SIZE"; | ||
readonly name: "CREDIT_TYPE_CERTIFICATE"; | ||
readonly outputs: readonly [{ | ||
@@ -127,3 +207,3 @@ readonly internalType: "uint256"; | ||
readonly inputs: readonly []; | ||
readonly name: "SELECTOR_SIZE"; | ||
readonly name: "CREDIT_TYPE_EVENT"; | ||
readonly outputs: readonly [{ | ||
@@ -138,3 +218,3 @@ readonly internalType: "uint256"; | ||
readonly inputs: readonly []; | ||
readonly name: "ZK_CREDIT_TYPE_CERTIFICATE"; | ||
readonly name: "CREDIT_TYPE_MESSAGE"; | ||
readonly outputs: readonly [{ | ||
@@ -149,3 +229,3 @@ readonly internalType: "uint256"; | ||
readonly inputs: readonly []; | ||
readonly name: "ZK_CREDIT_TYPE_EVENT"; | ||
readonly name: "CREDIT_TYPE_UPDATE"; | ||
readonly outputs: readonly [{ | ||
@@ -160,3 +240,3 @@ readonly internalType: "uint256"; | ||
readonly inputs: readonly []; | ||
readonly name: "ZK_CREDIT_TYPE_MESSAGE"; | ||
readonly name: "OWNERSHIP_PROOF_SIZE"; | ||
readonly outputs: readonly [{ | ||
@@ -171,3 +251,3 @@ readonly internalType: "uint256"; | ||
readonly inputs: readonly []; | ||
readonly name: "ZK_CREDIT_TYPE_UPDATE"; | ||
readonly name: "SELECTOR_SIZE"; | ||
readonly outputs: readonly [{ | ||
@@ -446,5 +526,5 @@ readonly internalType: "uint256"; | ||
}, { | ||
readonly internalType: "uint256[3]"; | ||
readonly internalType: "uint256[4]"; | ||
readonly name: "_pubSignals"; | ||
readonly type: "uint256[3]"; | ||
readonly type: "uint256[4]"; | ||
}]; | ||
@@ -523,2 +603,6 @@ readonly internalType: "struct CreditNoteProof"; | ||
readonly internalType: "uint256"; | ||
readonly name: "_commitmentHash"; | ||
readonly type: "uint256"; | ||
}, { | ||
readonly internalType: "uint256"; | ||
readonly name: "_wordPos"; | ||
@@ -863,5 +947,5 @@ readonly type: "uint256"; | ||
}, { | ||
readonly internalType: "uint256[3]"; | ||
readonly internalType: "uint256[4]"; | ||
readonly name: "_pubSignals"; | ||
readonly type: "uint256[3]"; | ||
readonly type: "uint256[4]"; | ||
}]; | ||
@@ -928,5 +1012,5 @@ readonly internalType: "struct CreditNoteProof"; | ||
}, { | ||
readonly internalType: "uint256[3]"; | ||
readonly internalType: "uint256[4]"; | ||
readonly name: "_pubSignals"; | ||
readonly type: "uint256[3]"; | ||
readonly type: "uint256[4]"; | ||
}]; | ||
@@ -1102,5 +1186,5 @@ readonly internalType: "struct CreditNoteProof"; | ||
}, { | ||
readonly internalType: "uint256[3]"; | ||
readonly internalType: "uint256[4]"; | ||
readonly name: "_pubSignals"; | ||
readonly type: "uint256[3]"; | ||
readonly type: "uint256[4]"; | ||
}]; | ||
@@ -1329,33 +1413,2 @@ readonly internalType: "struct CreditNoteProof"; | ||
readonly type: "function"; | ||
}, { | ||
readonly inputs: readonly [{ | ||
readonly components: readonly [{ | ||
readonly internalType: "uint256[2]"; | ||
readonly name: "_pA"; | ||
readonly type: "uint256[2]"; | ||
}, { | ||
readonly internalType: "uint256[2][2]"; | ||
readonly name: "_pB"; | ||
readonly type: "uint256[2][2]"; | ||
}, { | ||
readonly internalType: "uint256[2]"; | ||
readonly name: "_pC"; | ||
readonly type: "uint256[2]"; | ||
}, { | ||
readonly internalType: "uint256[3]"; | ||
readonly name: "_pubSignals"; | ||
readonly type: "uint256[3]"; | ||
}]; | ||
readonly internalType: "struct CreditNoteProof"; | ||
readonly name: "_proof"; | ||
readonly type: "tuple"; | ||
}]; | ||
readonly name: "isDefaultCreditNoteProof"; | ||
readonly outputs: readonly [{ | ||
readonly internalType: "bool"; | ||
readonly name: ""; | ||
readonly type: "bool"; | ||
}]; | ||
readonly stateMutability: "pure"; | ||
readonly type: "function"; | ||
}]; | ||
@@ -1362,0 +1415,0 @@ static createInterface(): ArianeeIssuerProxyInterface; |
@@ -54,3 +54,3 @@ "use strict"; | ||
{ | ||
indexed: false, | ||
indexed: true, | ||
internalType: "address", | ||
@@ -60,3 +60,16 @@ name: "sender", | ||
}, | ||
], | ||
name: "CreditFreeSenderAdded", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "sender", | ||
type: "address", | ||
}, | ||
{ | ||
indexed: false, | ||
@@ -77,2 +90,28 @@ internalType: "uint256", | ||
internalType: "address", | ||
name: "sender", | ||
type: "address", | ||
}, | ||
], | ||
name: "CreditFreeSenderRemoved", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "creditNotePool", | ||
type: "address", | ||
}, | ||
], | ||
name: "CreditNotePoolAdded", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "previousOwner", | ||
@@ -116,6 +155,69 @@ type: "address", | ||
internalType: "uint256", | ||
name: "commitmentHash", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "uint256", | ||
name: "tokenId", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "TokenCommitmentRegistered", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "uint256", | ||
name: "commitmentHash", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "uint256", | ||
name: "tokenId", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "TokenCommitmentUnregistered", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "uint256", | ||
name: "previousCommitmentHash", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "uint256", | ||
name: "newCommitmentHash", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "uint256", | ||
name: "tokenId", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "TokenCommitmentUpdated", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "uint256", | ||
name: "commitmentHash", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: false, | ||
@@ -151,3 +253,3 @@ internalType: "uint256", | ||
inputs: [], | ||
name: "OWNERSHIP_PROOF_SIZE", | ||
name: "CREDIT_TYPE_CERTIFICATE", | ||
outputs: [ | ||
@@ -165,3 +267,3 @@ { | ||
inputs: [], | ||
name: "SELECTOR_SIZE", | ||
name: "CREDIT_TYPE_EVENT", | ||
outputs: [ | ||
@@ -179,3 +281,3 @@ { | ||
inputs: [], | ||
name: "ZK_CREDIT_TYPE_CERTIFICATE", | ||
name: "CREDIT_TYPE_MESSAGE", | ||
outputs: [ | ||
@@ -193,3 +295,3 @@ { | ||
inputs: [], | ||
name: "ZK_CREDIT_TYPE_EVENT", | ||
name: "CREDIT_TYPE_UPDATE", | ||
outputs: [ | ||
@@ -207,3 +309,3 @@ { | ||
inputs: [], | ||
name: "ZK_CREDIT_TYPE_MESSAGE", | ||
name: "OWNERSHIP_PROOF_SIZE", | ||
outputs: [ | ||
@@ -221,3 +323,3 @@ { | ||
inputs: [], | ||
name: "ZK_CREDIT_TYPE_UPDATE", | ||
name: "SELECTOR_SIZE", | ||
outputs: [ | ||
@@ -581,5 +683,5 @@ { | ||
{ | ||
internalType: "uint256[3]", | ||
internalType: "uint256[4]", | ||
name: "_pubSignals", | ||
type: "uint256[3]", | ||
type: "uint256[4]", | ||
}, | ||
@@ -678,2 +780,7 @@ ], | ||
internalType: "uint256", | ||
name: "_commitmentHash", | ||
type: "uint256", | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "_wordPos", | ||
@@ -1115,5 +1222,5 @@ type: "uint256", | ||
{ | ||
internalType: "uint256[3]", | ||
internalType: "uint256[4]", | ||
name: "_pubSignals", | ||
type: "uint256[3]", | ||
type: "uint256[4]", | ||
}, | ||
@@ -1198,5 +1305,5 @@ ], | ||
{ | ||
internalType: "uint256[3]", | ||
internalType: "uint256[4]", | ||
name: "_pubSignals", | ||
type: "uint256[3]", | ||
type: "uint256[4]", | ||
}, | ||
@@ -1421,5 +1528,5 @@ ], | ||
{ | ||
internalType: "uint256[3]", | ||
internalType: "uint256[4]", | ||
name: "_pubSignals", | ||
type: "uint256[3]", | ||
type: "uint256[4]", | ||
}, | ||
@@ -1712,43 +1819,2 @@ ], | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
components: [ | ||
{ | ||
internalType: "uint256[2]", | ||
name: "_pA", | ||
type: "uint256[2]", | ||
}, | ||
{ | ||
internalType: "uint256[2][2]", | ||
name: "_pB", | ||
type: "uint256[2][2]", | ||
}, | ||
{ | ||
internalType: "uint256[2]", | ||
name: "_pC", | ||
type: "uint256[2]", | ||
}, | ||
{ | ||
internalType: "uint256[3]", | ||
name: "_pubSignals", | ||
type: "uint256[3]", | ||
}, | ||
], | ||
internalType: "struct CreditNoteProof", | ||
name: "_proof", | ||
type: "tuple", | ||
}, | ||
], | ||
name: "isDefaultCreditNoteProof", | ||
outputs: [ | ||
{ | ||
internalType: "bool", | ||
name: "", | ||
type: "bool", | ||
}, | ||
], | ||
stateMutability: "pure", | ||
type: "function", | ||
}, | ||
]; | ||
@@ -1755,0 +1821,0 @@ class ArianeeIssuerProxy__factory { |
@@ -50,3 +50,3 @@ /* Autogenerated file. Do not edit manually. */ | ||
_pC: [BigNumberish, BigNumberish]; | ||
_pubSignals: [BigNumberish, BigNumberish, BigNumberish]; | ||
_pubSignals: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]; | ||
}; | ||
@@ -58,3 +58,3 @@ | ||
_pC: [bigint, bigint], | ||
_pubSignals: [bigint, bigint, bigint] | ||
_pubSignals: [bigint, bigint, bigint, bigint] | ||
] & { | ||
@@ -64,3 +64,3 @@ _pA: [bigint, bigint]; | ||
_pC: [bigint, bigint]; | ||
_pubSignals: [bigint, bigint, bigint]; | ||
_pubSignals: [bigint, bigint, bigint, bigint]; | ||
}; | ||
@@ -94,9 +94,6 @@ } | ||
| "nullifierHashes" | ||
| "owner" | ||
| "poseidon" | ||
| "renounceOwnership" | ||
| "roots" | ||
| "store" | ||
| "token" | ||
| "transferOwnership" | ||
| "zeros" | ||
@@ -109,5 +106,3 @@ | "purchase" | ||
getEvent( | ||
nameOrSignatureOrTopic: "OwnershipTransferred" | "Purchased" | "Spent" | ||
): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "Purchased" | "Spent"): EventFragment; | ||
@@ -193,15 +188,6 @@ encodeFunctionData( | ||
): string; | ||
encodeFunctionData(functionFragment: "owner", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "poseidon", values?: undefined): string; | ||
encodeFunctionData( | ||
functionFragment: "renounceOwnership", | ||
values?: undefined | ||
): string; | ||
encodeFunctionData(functionFragment: "roots", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "store", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "token", values?: undefined): string; | ||
encodeFunctionData( | ||
functionFragment: "transferOwnership", | ||
values: [AddressLike] | ||
): string; | ||
encodeFunctionData(functionFragment: "zeros", values: [BigNumberish]): string; | ||
@@ -218,3 +204,7 @@ encodeFunctionData( | ||
functionFragment: "spend", | ||
values: [ArianeeCreditNotePool.CreditNoteProofStruct, BigNumberish] | ||
values: [ | ||
ArianeeCreditNotePool.CreditNoteProofStruct, | ||
BytesLike, | ||
BigNumberish | ||
] | ||
): string; | ||
@@ -300,15 +290,6 @@ encodeFunctionData( | ||
): Result; | ||
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "poseidon", data: BytesLike): Result; | ||
decodeFunctionResult( | ||
functionFragment: "renounceOwnership", | ||
data: BytesLike | ||
): Result; | ||
decodeFunctionResult(functionFragment: "roots", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "store", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "token", data: BytesLike): Result; | ||
decodeFunctionResult( | ||
functionFragment: "transferOwnership", | ||
data: BytesLike | ||
): Result; | ||
decodeFunctionResult(functionFragment: "zeros", data: BytesLike): Result; | ||
@@ -324,15 +305,2 @@ decodeFunctionResult(functionFragment: "purchase", data: BytesLike): Result; | ||
export namespace OwnershipTransferredEvent { | ||
export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; | ||
export type OutputTuple = [previousOwner: string, newOwner: string]; | ||
export interface OutputObject { | ||
previousOwner: string; | ||
newOwner: string; | ||
} | ||
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; | ||
export type Filter = TypedDeferredTopicFilter<Event>; | ||
export type Log = TypedEventLog<Event>; | ||
export type LogDescription = TypedLogDescription<Event>; | ||
} | ||
export namespace PurchasedEvent { | ||
@@ -480,8 +448,4 @@ export type InputTuple = [ | ||
owner: TypedContractMethod<[], [string], "view">; | ||
poseidon: TypedContractMethod<[], [string], "view">; | ||
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; | ||
roots: TypedContractMethod<[arg0: BigNumberish], [string], "view">; | ||
@@ -493,8 +457,2 @@ | ||
transferOwnership: TypedContractMethod< | ||
[newOwner: AddressLike], | ||
[void], | ||
"nonpayable" | ||
>; | ||
zeros: TypedContractMethod<[i: BigNumberish], [string], "view">; | ||
@@ -506,3 +464,3 @@ | ||
_commitmentHash: BytesLike, | ||
_zkCreditType: BigNumberish | ||
_creditType: BigNumberish | ||
], | ||
@@ -516,3 +474,4 @@ [void], | ||
_creditNoteProof: ArianeeCreditNotePool.CreditNoteProofStruct, | ||
_zkCreditType: BigNumberish | ||
_intentMsgData: BytesLike, | ||
_creditType: BigNumberish | ||
], | ||
@@ -606,11 +565,5 @@ [void], | ||
getFunction( | ||
nameOrSignature: "owner" | ||
): TypedContractMethod<[], [string], "view">; | ||
getFunction( | ||
nameOrSignature: "poseidon" | ||
): TypedContractMethod<[], [string], "view">; | ||
getFunction( | ||
nameOrSignature: "renounceOwnership" | ||
): TypedContractMethod<[], [void], "nonpayable">; | ||
getFunction( | ||
nameOrSignature: "roots" | ||
@@ -625,5 +578,2 @@ ): TypedContractMethod<[arg0: BigNumberish], [string], "view">; | ||
getFunction( | ||
nameOrSignature: "transferOwnership" | ||
): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; | ||
getFunction( | ||
nameOrSignature: "zeros" | ||
@@ -637,3 +587,3 @@ ): TypedContractMethod<[i: BigNumberish], [string], "view">; | ||
_commitmentHash: BytesLike, | ||
_zkCreditType: BigNumberish | ||
_creditType: BigNumberish | ||
], | ||
@@ -648,3 +598,4 @@ [void], | ||
_creditNoteProof: ArianeeCreditNotePool.CreditNoteProofStruct, | ||
_zkCreditType: BigNumberish | ||
_intentMsgData: BytesLike, | ||
_creditType: BigNumberish | ||
], | ||
@@ -662,9 +613,2 @@ [void], | ||
getEvent( | ||
key: "OwnershipTransferred" | ||
): TypedContractEvent< | ||
OwnershipTransferredEvent.InputTuple, | ||
OwnershipTransferredEvent.OutputTuple, | ||
OwnershipTransferredEvent.OutputObject | ||
>; | ||
getEvent( | ||
key: "Purchased" | ||
@@ -685,13 +629,2 @@ ): TypedContractEvent< | ||
filters: { | ||
"OwnershipTransferred(address,address)": TypedContractEvent< | ||
OwnershipTransferredEvent.InputTuple, | ||
OwnershipTransferredEvent.OutputTuple, | ||
OwnershipTransferredEvent.OutputObject | ||
>; | ||
OwnershipTransferred: TypedContractEvent< | ||
OwnershipTransferredEvent.InputTuple, | ||
OwnershipTransferredEvent.OutputTuple, | ||
OwnershipTransferredEvent.OutputObject | ||
>; | ||
"Purchased(uint256,bytes32,uint32,uint256)": TypedContractEvent< | ||
@@ -698,0 +631,0 @@ PurchasedEvent.InputTuple, |
@@ -30,3 +30,3 @@ /* Autogenerated file. Do not edit manually. */ | ||
_pC: [BigNumberish, BigNumberish]; | ||
_pubSignals: [BigNumberish, BigNumberish, BigNumberish]; | ||
_pubSignals: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]; | ||
}; | ||
@@ -38,3 +38,3 @@ | ||
_pC: [bigint, bigint], | ||
_pubSignals: [bigint, bigint, bigint] | ||
_pubSignals: [bigint, bigint, bigint, bigint] | ||
] & { | ||
@@ -44,3 +44,3 @@ _pA: [bigint, bigint]; | ||
_pC: [bigint, bigint]; | ||
_pubSignals: [bigint, bigint, bigint]; | ||
_pubSignals: [bigint, bigint, bigint, bigint]; | ||
}; | ||
@@ -73,8 +73,8 @@ | ||
| "CREDIT_NOTE_PROOF_SIZE" | ||
| "CREDIT_TYPE_CERTIFICATE" | ||
| "CREDIT_TYPE_EVENT" | ||
| "CREDIT_TYPE_MESSAGE" | ||
| "CREDIT_TYPE_UPDATE" | ||
| "OWNERSHIP_PROOF_SIZE" | ||
| "SELECTOR_SIZE" | ||
| "ZK_CREDIT_TYPE_CERTIFICATE" | ||
| "ZK_CREDIT_TYPE_EVENT" | ||
| "ZK_CREDIT_TYPE_MESSAGE" | ||
| "ZK_CREDIT_TYPE_UPDATE" | ||
| "acceptOwnership" | ||
@@ -123,3 +123,2 @@ | "arianeeEvent" | ||
| "updateCommitmentBatch" | ||
| "isDefaultCreditNoteProof" | ||
): FunctionFragment; | ||
@@ -129,5 +128,11 @@ | ||
nameOrSignatureOrTopic: | ||
| "CreditFreeSenderAdded" | ||
| "CreditFreeSenderLog" | ||
| "CreditFreeSenderRemoved" | ||
| "CreditNotePoolAdded" | ||
| "OwnershipTransferStarted" | ||
| "OwnershipTransferred" | ||
| "TokenCommitmentRegistered" | ||
| "TokenCommitmentUnregistered" | ||
| "TokenCommitmentUpdated" | ||
| "UnorderedNonceInvalidation" | ||
@@ -141,23 +146,23 @@ ): EventFragment; | ||
encodeFunctionData( | ||
functionFragment: "OWNERSHIP_PROOF_SIZE", | ||
functionFragment: "CREDIT_TYPE_CERTIFICATE", | ||
values?: undefined | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "SELECTOR_SIZE", | ||
functionFragment: "CREDIT_TYPE_EVENT", | ||
values?: undefined | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "ZK_CREDIT_TYPE_CERTIFICATE", | ||
functionFragment: "CREDIT_TYPE_MESSAGE", | ||
values?: undefined | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "ZK_CREDIT_TYPE_EVENT", | ||
functionFragment: "CREDIT_TYPE_UPDATE", | ||
values?: undefined | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "ZK_CREDIT_TYPE_MESSAGE", | ||
functionFragment: "OWNERSHIP_PROOF_SIZE", | ||
values?: undefined | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "ZK_CREDIT_TYPE_UPDATE", | ||
functionFragment: "SELECTOR_SIZE", | ||
values?: undefined | ||
@@ -259,2 +264,3 @@ ): string; | ||
BigNumberish, | ||
BigNumberish, | ||
BigNumberish | ||
@@ -392,6 +398,2 @@ ] | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "isDefaultCreditNoteProof", | ||
values: [CreditNoteProofStruct] | ||
): string; | ||
@@ -403,23 +405,23 @@ decodeFunctionResult( | ||
decodeFunctionResult( | ||
functionFragment: "OWNERSHIP_PROOF_SIZE", | ||
functionFragment: "CREDIT_TYPE_CERTIFICATE", | ||
data: BytesLike | ||
): Result; | ||
decodeFunctionResult( | ||
functionFragment: "SELECTOR_SIZE", | ||
functionFragment: "CREDIT_TYPE_EVENT", | ||
data: BytesLike | ||
): Result; | ||
decodeFunctionResult( | ||
functionFragment: "ZK_CREDIT_TYPE_CERTIFICATE", | ||
functionFragment: "CREDIT_TYPE_MESSAGE", | ||
data: BytesLike | ||
): Result; | ||
decodeFunctionResult( | ||
functionFragment: "ZK_CREDIT_TYPE_EVENT", | ||
functionFragment: "CREDIT_TYPE_UPDATE", | ||
data: BytesLike | ||
): Result; | ||
decodeFunctionResult( | ||
functionFragment: "ZK_CREDIT_TYPE_MESSAGE", | ||
functionFragment: "OWNERSHIP_PROOF_SIZE", | ||
data: BytesLike | ||
): Result; | ||
decodeFunctionResult( | ||
functionFragment: "ZK_CREDIT_TYPE_UPDATE", | ||
functionFragment: "SELECTOR_SIZE", | ||
data: BytesLike | ||
@@ -578,8 +580,16 @@ ): Result; | ||
): Result; | ||
decodeFunctionResult( | ||
functionFragment: "isDefaultCreditNoteProof", | ||
data: BytesLike | ||
): Result; | ||
} | ||
export namespace CreditFreeSenderAddedEvent { | ||
export type InputTuple = [sender: AddressLike]; | ||
export type OutputTuple = [sender: string]; | ||
export interface OutputObject { | ||
sender: string; | ||
} | ||
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; | ||
export type Filter = TypedDeferredTopicFilter<Event>; | ||
export type Log = TypedEventLog<Event>; | ||
export type LogDescription = TypedLogDescription<Event>; | ||
} | ||
export namespace CreditFreeSenderLogEvent { | ||
@@ -598,2 +608,26 @@ export type InputTuple = [sender: AddressLike, creditType: BigNumberish]; | ||
export namespace CreditFreeSenderRemovedEvent { | ||
export type InputTuple = [sender: AddressLike]; | ||
export type OutputTuple = [sender: string]; | ||
export interface OutputObject { | ||
sender: string; | ||
} | ||
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; | ||
export type Filter = TypedDeferredTopicFilter<Event>; | ||
export type Log = TypedEventLog<Event>; | ||
export type LogDescription = TypedLogDescription<Event>; | ||
} | ||
export namespace CreditNotePoolAddedEvent { | ||
export type InputTuple = [creditNotePool: AddressLike]; | ||
export type OutputTuple = [creditNotePool: string]; | ||
export interface OutputObject { | ||
creditNotePool: string; | ||
} | ||
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; | ||
export type Filter = TypedDeferredTopicFilter<Event>; | ||
export type Log = TypedEventLog<Event>; | ||
export type LogDescription = TypedLogDescription<Event>; | ||
} | ||
export namespace OwnershipTransferStartedEvent { | ||
@@ -625,11 +659,69 @@ export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; | ||
export namespace TokenCommitmentRegisteredEvent { | ||
export type InputTuple = [ | ||
commitmentHash: BigNumberish, | ||
tokenId: BigNumberish | ||
]; | ||
export type OutputTuple = [commitmentHash: bigint, tokenId: bigint]; | ||
export interface OutputObject { | ||
commitmentHash: bigint; | ||
tokenId: bigint; | ||
} | ||
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; | ||
export type Filter = TypedDeferredTopicFilter<Event>; | ||
export type Log = TypedEventLog<Event>; | ||
export type LogDescription = TypedLogDescription<Event>; | ||
} | ||
export namespace TokenCommitmentUnregisteredEvent { | ||
export type InputTuple = [ | ||
commitmentHash: BigNumberish, | ||
tokenId: BigNumberish | ||
]; | ||
export type OutputTuple = [commitmentHash: bigint, tokenId: bigint]; | ||
export interface OutputObject { | ||
commitmentHash: bigint; | ||
tokenId: bigint; | ||
} | ||
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; | ||
export type Filter = TypedDeferredTopicFilter<Event>; | ||
export type Log = TypedEventLog<Event>; | ||
export type LogDescription = TypedLogDescription<Event>; | ||
} | ||
export namespace TokenCommitmentUpdatedEvent { | ||
export type InputTuple = [ | ||
previousCommitmentHash: BigNumberish, | ||
newCommitmentHash: BigNumberish, | ||
tokenId: BigNumberish | ||
]; | ||
export type OutputTuple = [ | ||
previousCommitmentHash: bigint, | ||
newCommitmentHash: bigint, | ||
tokenId: bigint | ||
]; | ||
export interface OutputObject { | ||
previousCommitmentHash: bigint; | ||
newCommitmentHash: bigint; | ||
tokenId: bigint; | ||
} | ||
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; | ||
export type Filter = TypedDeferredTopicFilter<Event>; | ||
export type Log = TypedEventLog<Event>; | ||
export type LogDescription = TypedLogDescription<Event>; | ||
} | ||
export namespace UnorderedNonceInvalidationEvent { | ||
export type InputTuple = [ | ||
tokenId: BigNumberish, | ||
commitmentHash: BigNumberish, | ||
word: BigNumberish, | ||
mask: BigNumberish | ||
]; | ||
export type OutputTuple = [tokenId: bigint, word: bigint, mask: bigint]; | ||
export type OutputTuple = [ | ||
commitmentHash: bigint, | ||
word: bigint, | ||
mask: bigint | ||
]; | ||
export interface OutputObject { | ||
tokenId: bigint; | ||
commitmentHash: bigint; | ||
word: bigint; | ||
@@ -689,13 +781,13 @@ mask: bigint; | ||
OWNERSHIP_PROOF_SIZE: TypedContractMethod<[], [bigint], "view">; | ||
CREDIT_TYPE_CERTIFICATE: TypedContractMethod<[], [bigint], "view">; | ||
SELECTOR_SIZE: TypedContractMethod<[], [bigint], "view">; | ||
CREDIT_TYPE_EVENT: TypedContractMethod<[], [bigint], "view">; | ||
ZK_CREDIT_TYPE_CERTIFICATE: TypedContractMethod<[], [bigint], "view">; | ||
CREDIT_TYPE_MESSAGE: TypedContractMethod<[], [bigint], "view">; | ||
ZK_CREDIT_TYPE_EVENT: TypedContractMethod<[], [bigint], "view">; | ||
CREDIT_TYPE_UPDATE: TypedContractMethod<[], [bigint], "view">; | ||
ZK_CREDIT_TYPE_MESSAGE: TypedContractMethod<[], [bigint], "view">; | ||
OWNERSHIP_PROOF_SIZE: TypedContractMethod<[], [bigint], "view">; | ||
ZK_CREDIT_TYPE_UPDATE: TypedContractMethod<[], [bigint], "view">; | ||
SELECTOR_SIZE: TypedContractMethod<[], [bigint], "view">; | ||
@@ -802,2 +894,3 @@ acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; | ||
_tokenId: BigNumberish, | ||
_commitmentHash: BigNumberish, | ||
_wordPos: BigNumberish, | ||
@@ -1020,8 +1113,2 @@ _mask: BigNumberish | ||
isDefaultCreditNoteProof: TypedContractMethod< | ||
[_proof: CreditNoteProofStruct], | ||
[boolean], | ||
"view" | ||
>; | ||
getFunction<T extends ContractMethod = ContractMethod>( | ||
@@ -1035,18 +1122,18 @@ key: string | FunctionFragment | ||
getFunction( | ||
nameOrSignature: "OWNERSHIP_PROOF_SIZE" | ||
nameOrSignature: "CREDIT_TYPE_CERTIFICATE" | ||
): TypedContractMethod<[], [bigint], "view">; | ||
getFunction( | ||
nameOrSignature: "SELECTOR_SIZE" | ||
nameOrSignature: "CREDIT_TYPE_EVENT" | ||
): TypedContractMethod<[], [bigint], "view">; | ||
getFunction( | ||
nameOrSignature: "ZK_CREDIT_TYPE_CERTIFICATE" | ||
nameOrSignature: "CREDIT_TYPE_MESSAGE" | ||
): TypedContractMethod<[], [bigint], "view">; | ||
getFunction( | ||
nameOrSignature: "ZK_CREDIT_TYPE_EVENT" | ||
nameOrSignature: "CREDIT_TYPE_UPDATE" | ||
): TypedContractMethod<[], [bigint], "view">; | ||
getFunction( | ||
nameOrSignature: "ZK_CREDIT_TYPE_MESSAGE" | ||
nameOrSignature: "OWNERSHIP_PROOF_SIZE" | ||
): TypedContractMethod<[], [bigint], "view">; | ||
getFunction( | ||
nameOrSignature: "ZK_CREDIT_TYPE_UPDATE" | ||
nameOrSignature: "SELECTOR_SIZE" | ||
): TypedContractMethod<[], [bigint], "view">; | ||
@@ -1149,2 +1236,3 @@ getFunction( | ||
_tokenId: BigNumberish, | ||
_commitmentHash: BigNumberish, | ||
_wordPos: BigNumberish, | ||
@@ -1386,7 +1474,11 @@ _mask: BigNumberish | ||
>; | ||
getFunction( | ||
nameOrSignature: "isDefaultCreditNoteProof" | ||
): TypedContractMethod<[_proof: CreditNoteProofStruct], [boolean], "view">; | ||
getEvent( | ||
key: "CreditFreeSenderAdded" | ||
): TypedContractEvent< | ||
CreditFreeSenderAddedEvent.InputTuple, | ||
CreditFreeSenderAddedEvent.OutputTuple, | ||
CreditFreeSenderAddedEvent.OutputObject | ||
>; | ||
getEvent( | ||
key: "CreditFreeSenderLog" | ||
@@ -1399,2 +1491,16 @@ ): TypedContractEvent< | ||
getEvent( | ||
key: "CreditFreeSenderRemoved" | ||
): TypedContractEvent< | ||
CreditFreeSenderRemovedEvent.InputTuple, | ||
CreditFreeSenderRemovedEvent.OutputTuple, | ||
CreditFreeSenderRemovedEvent.OutputObject | ||
>; | ||
getEvent( | ||
key: "CreditNotePoolAdded" | ||
): TypedContractEvent< | ||
CreditNotePoolAddedEvent.InputTuple, | ||
CreditNotePoolAddedEvent.OutputTuple, | ||
CreditNotePoolAddedEvent.OutputObject | ||
>; | ||
getEvent( | ||
key: "OwnershipTransferStarted" | ||
@@ -1414,2 +1520,23 @@ ): TypedContractEvent< | ||
getEvent( | ||
key: "TokenCommitmentRegistered" | ||
): TypedContractEvent< | ||
TokenCommitmentRegisteredEvent.InputTuple, | ||
TokenCommitmentRegisteredEvent.OutputTuple, | ||
TokenCommitmentRegisteredEvent.OutputObject | ||
>; | ||
getEvent( | ||
key: "TokenCommitmentUnregistered" | ||
): TypedContractEvent< | ||
TokenCommitmentUnregisteredEvent.InputTuple, | ||
TokenCommitmentUnregisteredEvent.OutputTuple, | ||
TokenCommitmentUnregisteredEvent.OutputObject | ||
>; | ||
getEvent( | ||
key: "TokenCommitmentUpdated" | ||
): TypedContractEvent< | ||
TokenCommitmentUpdatedEvent.InputTuple, | ||
TokenCommitmentUpdatedEvent.OutputTuple, | ||
TokenCommitmentUpdatedEvent.OutputObject | ||
>; | ||
getEvent( | ||
key: "UnorderedNonceInvalidation" | ||
@@ -1423,2 +1550,13 @@ ): TypedContractEvent< | ||
filters: { | ||
"CreditFreeSenderAdded(address)": TypedContractEvent< | ||
CreditFreeSenderAddedEvent.InputTuple, | ||
CreditFreeSenderAddedEvent.OutputTuple, | ||
CreditFreeSenderAddedEvent.OutputObject | ||
>; | ||
CreditFreeSenderAdded: TypedContractEvent< | ||
CreditFreeSenderAddedEvent.InputTuple, | ||
CreditFreeSenderAddedEvent.OutputTuple, | ||
CreditFreeSenderAddedEvent.OutputObject | ||
>; | ||
"CreditFreeSenderLog(address,uint256)": TypedContractEvent< | ||
@@ -1435,2 +1573,24 @@ CreditFreeSenderLogEvent.InputTuple, | ||
"CreditFreeSenderRemoved(address)": TypedContractEvent< | ||
CreditFreeSenderRemovedEvent.InputTuple, | ||
CreditFreeSenderRemovedEvent.OutputTuple, | ||
CreditFreeSenderRemovedEvent.OutputObject | ||
>; | ||
CreditFreeSenderRemoved: TypedContractEvent< | ||
CreditFreeSenderRemovedEvent.InputTuple, | ||
CreditFreeSenderRemovedEvent.OutputTuple, | ||
CreditFreeSenderRemovedEvent.OutputObject | ||
>; | ||
"CreditNotePoolAdded(address)": TypedContractEvent< | ||
CreditNotePoolAddedEvent.InputTuple, | ||
CreditNotePoolAddedEvent.OutputTuple, | ||
CreditNotePoolAddedEvent.OutputObject | ||
>; | ||
CreditNotePoolAdded: TypedContractEvent< | ||
CreditNotePoolAddedEvent.InputTuple, | ||
CreditNotePoolAddedEvent.OutputTuple, | ||
CreditNotePoolAddedEvent.OutputObject | ||
>; | ||
"OwnershipTransferStarted(address,address)": TypedContractEvent< | ||
@@ -1458,2 +1618,35 @@ OwnershipTransferStartedEvent.InputTuple, | ||
"TokenCommitmentRegistered(uint256,uint256)": TypedContractEvent< | ||
TokenCommitmentRegisteredEvent.InputTuple, | ||
TokenCommitmentRegisteredEvent.OutputTuple, | ||
TokenCommitmentRegisteredEvent.OutputObject | ||
>; | ||
TokenCommitmentRegistered: TypedContractEvent< | ||
TokenCommitmentRegisteredEvent.InputTuple, | ||
TokenCommitmentRegisteredEvent.OutputTuple, | ||
TokenCommitmentRegisteredEvent.OutputObject | ||
>; | ||
"TokenCommitmentUnregistered(uint256,uint256)": TypedContractEvent< | ||
TokenCommitmentUnregisteredEvent.InputTuple, | ||
TokenCommitmentUnregisteredEvent.OutputTuple, | ||
TokenCommitmentUnregisteredEvent.OutputObject | ||
>; | ||
TokenCommitmentUnregistered: TypedContractEvent< | ||
TokenCommitmentUnregisteredEvent.InputTuple, | ||
TokenCommitmentUnregisteredEvent.OutputTuple, | ||
TokenCommitmentUnregisteredEvent.OutputObject | ||
>; | ||
"TokenCommitmentUpdated(uint256,uint256,uint256)": TypedContractEvent< | ||
TokenCommitmentUpdatedEvent.InputTuple, | ||
TokenCommitmentUpdatedEvent.OutputTuple, | ||
TokenCommitmentUpdatedEvent.OutputObject | ||
>; | ||
TokenCommitmentUpdated: TypedContractEvent< | ||
TokenCommitmentUpdatedEvent.InputTuple, | ||
TokenCommitmentUpdatedEvent.OutputTuple, | ||
TokenCommitmentUpdatedEvent.OutputObject | ||
>; | ||
"UnorderedNonceInvalidation(uint256,uint256,uint256)": TypedContractEvent< | ||
@@ -1460,0 +1653,0 @@ UnorderedNonceInvalidationEvent.InputTuple, |
@@ -67,21 +67,2 @@ /* Autogenerated file. Do not edit manually. */ | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "previousOwner", | ||
type: "address", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "newOwner", | ||
type: "address", | ||
}, | ||
], | ||
name: "OwnershipTransferred", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
@@ -473,15 +454,2 @@ internalType: "uint256", | ||
inputs: [], | ||
name: "owner", | ||
outputs: [ | ||
{ | ||
internalType: "address", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "poseidon", | ||
@@ -499,9 +467,2 @@ outputs: [ | ||
{ | ||
inputs: [], | ||
name: "renounceOwnership", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
@@ -554,15 +515,2 @@ { | ||
{ | ||
internalType: "address", | ||
name: "newOwner", | ||
type: "address", | ||
}, | ||
], | ||
name: "transferOwnership", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "uint256", | ||
@@ -620,3 +568,3 @@ name: "i", | ||
internalType: "uint256", | ||
name: "_zkCreditType", | ||
name: "_creditType", | ||
type: "uint256", | ||
@@ -650,5 +598,5 @@ }, | ||
{ | ||
internalType: "uint256[3]", | ||
internalType: "uint256[4]", | ||
name: "_pubSignals", | ||
type: "uint256[3]", | ||
type: "uint256[4]", | ||
}, | ||
@@ -661,4 +609,9 @@ ], | ||
{ | ||
internalType: "bytes", | ||
name: "_intentMsgData", | ||
type: "bytes", | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "_zkCreditType", | ||
name: "_creditType", | ||
type: "uint256", | ||
@@ -665,0 +618,0 @@ }, |
@@ -57,3 +57,3 @@ /* Autogenerated file. Do not edit manually. */ | ||
{ | ||
indexed: false, | ||
indexed: true, | ||
internalType: "address", | ||
@@ -63,3 +63,16 @@ name: "sender", | ||
}, | ||
], | ||
name: "CreditFreeSenderAdded", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "sender", | ||
type: "address", | ||
}, | ||
{ | ||
indexed: false, | ||
@@ -80,2 +93,28 @@ internalType: "uint256", | ||
internalType: "address", | ||
name: "sender", | ||
type: "address", | ||
}, | ||
], | ||
name: "CreditFreeSenderRemoved", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "creditNotePool", | ||
type: "address", | ||
}, | ||
], | ||
name: "CreditNotePoolAdded", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "previousOwner", | ||
@@ -119,6 +158,69 @@ type: "address", | ||
internalType: "uint256", | ||
name: "commitmentHash", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "uint256", | ||
name: "tokenId", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "TokenCommitmentRegistered", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "uint256", | ||
name: "commitmentHash", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "uint256", | ||
name: "tokenId", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "TokenCommitmentUnregistered", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "uint256", | ||
name: "previousCommitmentHash", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "uint256", | ||
name: "newCommitmentHash", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "uint256", | ||
name: "tokenId", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "TokenCommitmentUpdated", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "uint256", | ||
name: "commitmentHash", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: false, | ||
@@ -154,3 +256,3 @@ internalType: "uint256", | ||
inputs: [], | ||
name: "OWNERSHIP_PROOF_SIZE", | ||
name: "CREDIT_TYPE_CERTIFICATE", | ||
outputs: [ | ||
@@ -168,3 +270,3 @@ { | ||
inputs: [], | ||
name: "SELECTOR_SIZE", | ||
name: "CREDIT_TYPE_EVENT", | ||
outputs: [ | ||
@@ -182,3 +284,3 @@ { | ||
inputs: [], | ||
name: "ZK_CREDIT_TYPE_CERTIFICATE", | ||
name: "CREDIT_TYPE_MESSAGE", | ||
outputs: [ | ||
@@ -196,3 +298,3 @@ { | ||
inputs: [], | ||
name: "ZK_CREDIT_TYPE_EVENT", | ||
name: "CREDIT_TYPE_UPDATE", | ||
outputs: [ | ||
@@ -210,3 +312,3 @@ { | ||
inputs: [], | ||
name: "ZK_CREDIT_TYPE_MESSAGE", | ||
name: "OWNERSHIP_PROOF_SIZE", | ||
outputs: [ | ||
@@ -224,3 +326,3 @@ { | ||
inputs: [], | ||
name: "ZK_CREDIT_TYPE_UPDATE", | ||
name: "SELECTOR_SIZE", | ||
outputs: [ | ||
@@ -584,5 +686,5 @@ { | ||
{ | ||
internalType: "uint256[3]", | ||
internalType: "uint256[4]", | ||
name: "_pubSignals", | ||
type: "uint256[3]", | ||
type: "uint256[4]", | ||
}, | ||
@@ -681,2 +783,7 @@ ], | ||
internalType: "uint256", | ||
name: "_commitmentHash", | ||
type: "uint256", | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "_wordPos", | ||
@@ -1118,5 +1225,5 @@ type: "uint256", | ||
{ | ||
internalType: "uint256[3]", | ||
internalType: "uint256[4]", | ||
name: "_pubSignals", | ||
type: "uint256[3]", | ||
type: "uint256[4]", | ||
}, | ||
@@ -1201,5 +1308,5 @@ ], | ||
{ | ||
internalType: "uint256[3]", | ||
internalType: "uint256[4]", | ||
name: "_pubSignals", | ||
type: "uint256[3]", | ||
type: "uint256[4]", | ||
}, | ||
@@ -1424,5 +1531,5 @@ ], | ||
{ | ||
internalType: "uint256[3]", | ||
internalType: "uint256[4]", | ||
name: "_pubSignals", | ||
type: "uint256[3]", | ||
type: "uint256[4]", | ||
}, | ||
@@ -1715,43 +1822,2 @@ ], | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
components: [ | ||
{ | ||
internalType: "uint256[2]", | ||
name: "_pA", | ||
type: "uint256[2]", | ||
}, | ||
{ | ||
internalType: "uint256[2][2]", | ||
name: "_pB", | ||
type: "uint256[2][2]", | ||
}, | ||
{ | ||
internalType: "uint256[2]", | ||
name: "_pC", | ||
type: "uint256[2]", | ||
}, | ||
{ | ||
internalType: "uint256[3]", | ||
name: "_pubSignals", | ||
type: "uint256[3]", | ||
}, | ||
], | ||
internalType: "struct CreditNoteProof", | ||
name: "_proof", | ||
type: "tuple", | ||
}, | ||
], | ||
name: "isDefaultCreditNoteProof", | ||
outputs: [ | ||
{ | ||
internalType: "bool", | ||
name: "", | ||
type: "bool", | ||
}, | ||
], | ||
stateMutability: "pure", | ||
type: "function", | ||
}, | ||
] as const; | ||
@@ -1758,0 +1824,0 @@ |
{ | ||
"name": "@arianee/arianee-abi", | ||
"version": "0.30.0", | ||
"version": "0.31.0", | ||
"description": "abi definition of Arianee and typescript declaration files", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2492173
82129