@arianee/arianee-abi
Advanced tools
Comparing version 0.25.0 to 0.26.0
@@ -8,2 +8,7 @@ { | ||
"internalType": "address", | ||
"name": "_issuerProxy", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "_token", | ||
@@ -81,3 +86,3 @@ "type": "address" | ||
{ | ||
"indexed": false, | ||
"indexed": true, | ||
"internalType": "uint32", | ||
@@ -88,8 +93,2 @@ "name": "leafIndex", | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "issuerProxy", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
@@ -379,2 +378,15 @@ "internalType": "uint256", | ||
"inputs": [], | ||
"name": "issuerProxy", | ||
"outputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "levels", | ||
@@ -557,7 +569,2 @@ "outputs": [ | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "_issuerProxy", | ||
"type": "address" | ||
} | ||
@@ -603,7 +610,2 @@ ], | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "_issuerProxy", | ||
"type": "address" | ||
} | ||
@@ -610,0 +612,0 @@ ], |
@@ -29,3 +29,3 @@ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; | ||
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" | "currentRootIndex" | "filledSubtrees" | "getLastRoot" | "getTrustedForwarder" | "hashLeftRight" | "hasher" | "isKnownRoot" | "isTrustedForwarder" | "levels" | "nextIndex" | "nullifierHashes" | "owner" | "poseidon" | "renounceOwnership" | "roots" | "store" | "token" | "transferOwnership" | "verifier" | "zeros" | "purchase" | "spend" | "isSpentBatch" | "isSpent"): FunctionFragment; | ||
getFunction(nameOrSignature: "CREDIT_NOTE_PROOF_SIZE" | "FIELD_SIZE" | "MAX_NULLIFIER_PER_COMMITMENT" | "OWNERSHIP_PROOF_SIZE" | "ROOT_HISTORY_SIZE" | "SELECTOR_SIZE" | "ZERO_VALUE" | "commitmentHashes" | "currentRootIndex" | "filledSubtrees" | "getLastRoot" | "getTrustedForwarder" | "hashLeftRight" | "hasher" | "isKnownRoot" | "isTrustedForwarder" | "issuerProxy" | "levels" | "nextIndex" | "nullifierHashes" | "owner" | "poseidon" | "renounceOwnership" | "roots" | "store" | "token" | "transferOwnership" | "verifier" | "zeros" | "purchase" | "spend" | "isSpentBatch" | "isSpent"): FunctionFragment; | ||
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred" | "Purchased" | "Spent"): EventFragment; | ||
@@ -48,2 +48,3 @@ encodeFunctionData(functionFragment: "CREDIT_NOTE_PROOF_SIZE", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "isTrustedForwarder", values: [AddressLike]): string; | ||
encodeFunctionData(functionFragment: "issuerProxy", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "levels", values?: undefined): string; | ||
@@ -61,8 +62,4 @@ encodeFunctionData(functionFragment: "nextIndex", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "zeros", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "purchase", values: [BytesLike, BigNumberish, AddressLike]): string; | ||
encodeFunctionData(functionFragment: "spend", values: [ | ||
ArianeeCreditNotePool.CreditNoteProofStruct, | ||
BigNumberish, | ||
AddressLike | ||
]): string; | ||
encodeFunctionData(functionFragment: "purchase", values: [BytesLike, BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "spend", values: [ArianeeCreditNotePool.CreditNoteProofStruct, BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "isSpentBatch", values: [BytesLike[]]): string; | ||
@@ -86,2 +83,3 @@ encodeFunctionData(functionFragment: "isSpent", values: [BytesLike]): string; | ||
decodeFunctionResult(functionFragment: "isTrustedForwarder", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "issuerProxy", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "levels", data: BytesLike): Result; | ||
@@ -121,3 +119,2 @@ decodeFunctionResult(functionFragment: "nextIndex", data: BytesLike): Result; | ||
leafIndex: BigNumberish, | ||
issuerProxy: AddressLike, | ||
timestamp: BigNumberish | ||
@@ -129,3 +126,2 @@ ]; | ||
leafIndex: bigint, | ||
issuerProxy: string, | ||
timestamp: bigint | ||
@@ -137,3 +133,2 @@ ]; | ||
leafIndex: bigint; | ||
issuerProxy: string; | ||
timestamp: bigint; | ||
@@ -206,2 +201,3 @@ } | ||
], "view">; | ||
issuerProxy: TypedContractMethod<[], [string], "view">; | ||
levels: TypedContractMethod<[], [bigint], "view">; | ||
@@ -225,4 +221,3 @@ nextIndex: TypedContractMethod<[], [bigint], "view">; | ||
_commitmentHash: BytesLike, | ||
_zkCreditType: BigNumberish, | ||
_issuerProxy: AddressLike | ||
_zkCreditType: BigNumberish | ||
], [ | ||
@@ -233,4 +228,3 @@ void | ||
_creditNoteProof: ArianeeCreditNotePool.CreditNoteProofStruct, | ||
_creditType: BigNumberish, | ||
_issuerProxy: AddressLike | ||
_creditType: BigNumberish | ||
], [ | ||
@@ -268,2 +262,3 @@ void | ||
getFunction(nameOrSignature: "isTrustedForwarder"): TypedContractMethod<[forwarder: AddressLike], [boolean], "view">; | ||
getFunction(nameOrSignature: "issuerProxy"): TypedContractMethod<[], [string], "view">; | ||
getFunction(nameOrSignature: "levels"): TypedContractMethod<[], [bigint], "view">; | ||
@@ -283,4 +278,3 @@ getFunction(nameOrSignature: "nextIndex"): TypedContractMethod<[], [bigint], "view">; | ||
_commitmentHash: BytesLike, | ||
_zkCreditType: BigNumberish, | ||
_issuerProxy: AddressLike | ||
_zkCreditType: BigNumberish | ||
], [ | ||
@@ -291,4 +285,3 @@ void | ||
_creditNoteProof: ArianeeCreditNotePool.CreditNoteProofStruct, | ||
_creditType: BigNumberish, | ||
_issuerProxy: AddressLike | ||
_creditType: BigNumberish | ||
], [ | ||
@@ -305,3 +298,3 @@ void | ||
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>; | ||
"Purchased(uint256,bytes32,uint32,address,uint256)": TypedContractEvent<PurchasedEvent.InputTuple, PurchasedEvent.OutputTuple, PurchasedEvent.OutputObject>; | ||
"Purchased(uint256,bytes32,uint32,uint256)": TypedContractEvent<PurchasedEvent.InputTuple, PurchasedEvent.OutputTuple, PurchasedEvent.OutputObject>; | ||
Purchased: TypedContractEvent<PurchasedEvent.InputTuple, PurchasedEvent.OutputTuple, PurchasedEvent.OutputObject>; | ||
@@ -308,0 +301,0 @@ "Spent(uint256,bytes32,uint256)": TypedContractEvent<SpentEvent.InputTuple, SpentEvent.OutputTuple, SpentEvent.OutputObject>; |
@@ -7,2 +7,6 @@ import { type ContractRunner } from "ethers"; | ||
readonly internalType: "address"; | ||
readonly name: "_issuerProxy"; | ||
readonly type: "address"; | ||
}, { | ||
readonly internalType: "address"; | ||
readonly name: "_token"; | ||
@@ -65,3 +69,3 @@ readonly type: "address"; | ||
}, { | ||
readonly indexed: false; | ||
readonly indexed: true; | ||
readonly internalType: "uint32"; | ||
@@ -71,7 +75,2 @@ readonly name: "leafIndex"; | ||
}, { | ||
readonly indexed: true; | ||
readonly internalType: "address"; | ||
readonly name: "issuerProxy"; | ||
readonly type: "address"; | ||
}, { | ||
readonly indexed: false; | ||
@@ -294,2 +293,12 @@ readonly internalType: "uint256"; | ||
readonly inputs: readonly []; | ||
readonly name: "issuerProxy"; | ||
readonly outputs: readonly [{ | ||
readonly internalType: "address"; | ||
readonly name: ""; | ||
readonly type: "address"; | ||
}]; | ||
readonly stateMutability: "view"; | ||
readonly type: "function"; | ||
}, { | ||
readonly inputs: readonly []; | ||
readonly name: "levels"; | ||
@@ -430,6 +439,2 @@ readonly outputs: readonly [{ | ||
readonly type: "uint256"; | ||
}, { | ||
readonly internalType: "address"; | ||
readonly name: "_issuerProxy"; | ||
readonly type: "address"; | ||
}]; | ||
@@ -466,6 +471,2 @@ readonly name: "purchase"; | ||
readonly type: "uint256"; | ||
}, { | ||
readonly internalType: "address"; | ||
readonly name: "_issuerProxy"; | ||
readonly type: "address"; | ||
}]; | ||
@@ -472,0 +473,0 @@ readonly name: "spend"; |
@@ -13,2 +13,7 @@ "use strict"; | ||
internalType: "address", | ||
name: "_issuerProxy", | ||
type: "address", | ||
}, | ||
{ | ||
internalType: "address", | ||
name: "_token", | ||
@@ -86,3 +91,3 @@ type: "address", | ||
{ | ||
indexed: false, | ||
indexed: true, | ||
internalType: "uint32", | ||
@@ -93,8 +98,2 @@ name: "leafIndex", | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "issuerProxy", | ||
type: "address", | ||
}, | ||
{ | ||
indexed: false, | ||
@@ -384,2 +383,15 @@ internalType: "uint256", | ||
inputs: [], | ||
name: "issuerProxy", | ||
outputs: [ | ||
{ | ||
internalType: "address", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "levels", | ||
@@ -563,7 +575,2 @@ outputs: [ | ||
}, | ||
{ | ||
internalType: "address", | ||
name: "_issuerProxy", | ||
type: "address", | ||
}, | ||
], | ||
@@ -609,7 +616,2 @@ name: "purchase", | ||
}, | ||
{ | ||
internalType: "address", | ||
name: "_issuerProxy", | ||
type: "address", | ||
}, | ||
], | ||
@@ -616,0 +618,0 @@ name: "spend", |
@@ -72,2 +72,3 @@ /* Autogenerated file. Do not edit manually. */ | ||
| "isTrustedForwarder" | ||
| "issuerProxy" | ||
| "levels" | ||
@@ -156,2 +157,6 @@ | "nextIndex" | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "issuerProxy", | ||
values?: undefined | ||
): string; | ||
encodeFunctionData(functionFragment: "levels", values?: undefined): string; | ||
@@ -180,11 +185,7 @@ encodeFunctionData(functionFragment: "nextIndex", values?: undefined): string; | ||
functionFragment: "purchase", | ||
values: [BytesLike, BigNumberish, AddressLike] | ||
values: [BytesLike, BigNumberish] | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "spend", | ||
values: [ | ||
ArianeeCreditNotePool.CreditNoteProofStruct, | ||
BigNumberish, | ||
AddressLike | ||
] | ||
values: [ArianeeCreditNotePool.CreditNoteProofStruct, BigNumberish] | ||
): string; | ||
@@ -252,2 +253,6 @@ encodeFunctionData( | ||
): Result; | ||
decodeFunctionResult( | ||
functionFragment: "issuerProxy", | ||
data: BytesLike | ||
): Result; | ||
decodeFunctionResult(functionFragment: "levels", data: BytesLike): Result; | ||
@@ -301,3 +306,2 @@ decodeFunctionResult(functionFragment: "nextIndex", data: BytesLike): Result; | ||
leafIndex: BigNumberish, | ||
issuerProxy: AddressLike, | ||
timestamp: BigNumberish | ||
@@ -309,3 +313,2 @@ ]; | ||
leafIndex: bigint, | ||
issuerProxy: string, | ||
timestamp: bigint | ||
@@ -317,3 +320,2 @@ ]; | ||
leafIndex: bigint; | ||
issuerProxy: string; | ||
timestamp: bigint; | ||
@@ -432,2 +434,4 @@ } | ||
issuerProxy: TypedContractMethod<[], [string], "view">; | ||
levels: TypedContractMethod<[], [bigint], "view">; | ||
@@ -462,7 +466,3 @@ | ||
purchase: TypedContractMethod< | ||
[ | ||
_commitmentHash: BytesLike, | ||
_zkCreditType: BigNumberish, | ||
_issuerProxy: AddressLike | ||
], | ||
[_commitmentHash: BytesLike, _zkCreditType: BigNumberish], | ||
[void], | ||
@@ -475,4 +475,3 @@ "nonpayable" | ||
_creditNoteProof: ArianeeCreditNotePool.CreditNoteProofStruct, | ||
_creditType: BigNumberish, | ||
_issuerProxy: AddressLike | ||
_creditType: BigNumberish | ||
], | ||
@@ -548,2 +547,5 @@ [void], | ||
getFunction( | ||
nameOrSignature: "issuerProxy" | ||
): TypedContractMethod<[], [string], "view">; | ||
getFunction( | ||
nameOrSignature: "levels" | ||
@@ -587,7 +589,3 @@ ): TypedContractMethod<[], [bigint], "view">; | ||
): TypedContractMethod< | ||
[ | ||
_commitmentHash: BytesLike, | ||
_zkCreditType: BigNumberish, | ||
_issuerProxy: AddressLike | ||
], | ||
[_commitmentHash: BytesLike, _zkCreditType: BigNumberish], | ||
[void], | ||
@@ -601,4 +599,3 @@ "nonpayable" | ||
_creditNoteProof: ArianeeCreditNotePool.CreditNoteProofStruct, | ||
_creditType: BigNumberish, | ||
_issuerProxy: AddressLike | ||
_creditType: BigNumberish | ||
], | ||
@@ -649,3 +646,3 @@ [void], | ||
"Purchased(uint256,bytes32,uint32,address,uint256)": TypedContractEvent< | ||
"Purchased(uint256,bytes32,uint32,uint256)": TypedContractEvent< | ||
PurchasedEvent.InputTuple, | ||
@@ -652,0 +649,0 @@ PurchasedEvent.OutputTuple, |
@@ -16,2 +16,7 @@ /* Autogenerated file. Do not edit manually. */ | ||
internalType: "address", | ||
name: "_issuerProxy", | ||
type: "address", | ||
}, | ||
{ | ||
internalType: "address", | ||
name: "_token", | ||
@@ -89,3 +94,3 @@ type: "address", | ||
{ | ||
indexed: false, | ||
indexed: true, | ||
internalType: "uint32", | ||
@@ -96,8 +101,2 @@ name: "leafIndex", | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "issuerProxy", | ||
type: "address", | ||
}, | ||
{ | ||
indexed: false, | ||
@@ -387,2 +386,15 @@ internalType: "uint256", | ||
inputs: [], | ||
name: "issuerProxy", | ||
outputs: [ | ||
{ | ||
internalType: "address", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "levels", | ||
@@ -566,7 +578,2 @@ outputs: [ | ||
}, | ||
{ | ||
internalType: "address", | ||
name: "_issuerProxy", | ||
type: "address", | ||
}, | ||
], | ||
@@ -612,7 +619,2 @@ name: "purchase", | ||
}, | ||
{ | ||
internalType: "address", | ||
name: "_issuerProxy", | ||
type: "address", | ||
}, | ||
], | ||
@@ -619,0 +621,0 @@ name: "spend", |
{ | ||
"name": "@arianee/arianee-abi", | ||
"version": "0.25.0", | ||
"version": "0.26.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
2461012
81249