amount added to LockReleased event

This commit is contained in:
PedroCailleret
2022-12-20 17:33:58 -03:00
parent ffa0fe22e3
commit cb93b4db4b
21 changed files with 100 additions and 57 deletions

View File

@@ -23,7 +23,7 @@ export interface EventAndErrorsInterface extends utils.Interface {
"FundsWithdrawn(address,uint256)": EventFragment;
"LockAdded(address,bytes32,uint256,uint256)": EventFragment;
"LockBlocksUpdated(uint256)": EventFragment;
"LockReleased(address,bytes32)": EventFragment;
"LockReleased(address,bytes32,uint256)": EventFragment;
"LockReturned(address,bytes32)": EventFragment;
"ReputationUpdated(address)": EventFragment;
"RootUpdated(address,bytes32)": EventFragment;
@@ -131,9 +131,10 @@ export type LockBlocksUpdatedEventFilter =
export interface LockReleasedEventObject {
buyer: string;
lockId: string;
amount: BigNumber;
}
export type LockReleasedEvent = TypedEvent<
[string, string],
[string, string, BigNumber],
LockReleasedEventObject
>;
@@ -278,13 +279,15 @@ export interface EventAndErrors extends BaseContract {
"LockBlocksUpdated(uint256)"(blocks?: null): LockBlocksUpdatedEventFilter;
LockBlocksUpdated(blocks?: null): LockBlocksUpdatedEventFilter;
"LockReleased(address,bytes32)"(
"LockReleased(address,bytes32,uint256)"(
buyer?: PromiseOrValue<string> | null,
lockId?: null
lockId?: null,
amount?: null
): LockReleasedEventFilter;
LockReleased(
buyer?: PromiseOrValue<string> | null,
lockId?: null
lockId?: null,
amount?: null
): LockReleasedEventFilter;
"LockReturned(address,bytes32)"(

View File

@@ -262,6 +262,12 @@ const _abi = [
name: "lockId",
type: "bytes32",
},
{
indexed: false,
internalType: "uint256",
name: "amount",
type: "uint256",
},
],
name: "LockReleased",
type: "event",

File diff suppressed because one or more lines are too long

View File

@@ -286,7 +286,7 @@ export interface P2PIXInterface extends utils.Interface {
"FundsWithdrawn(address,uint256)": EventFragment;
"LockAdded(address,bytes32,uint256,uint256)": EventFragment;
"LockBlocksUpdated(uint256)": EventFragment;
"LockReleased(address,bytes32)": EventFragment;
"LockReleased(address,bytes32,uint256)": EventFragment;
"LockReturned(address,bytes32)": EventFragment;
"OwnerUpdated(address,address)": EventFragment;
"ReputationUpdated(address)": EventFragment;
@@ -396,9 +396,10 @@ export type LockBlocksUpdatedEventFilter =
export interface LockReleasedEventObject {
buyer: string;
lockId: string;
amount: BigNumber;
}
export type LockReleasedEvent = TypedEvent<
[string, string],
[string, string, BigNumber],
LockReleasedEventObject
>;
@@ -1001,13 +1002,15 @@ export interface P2PIX extends BaseContract {
"LockBlocksUpdated(uint256)"(blocks?: null): LockBlocksUpdatedEventFilter;
LockBlocksUpdated(blocks?: null): LockBlocksUpdatedEventFilter;
"LockReleased(address,bytes32)"(
"LockReleased(address,bytes32,uint256)"(
buyer?: PromiseOrValue<string> | null,
lockId?: null
lockId?: null,
amount?: null
): LockReleasedEventFilter;
LockReleased(
buyer?: PromiseOrValue<string> | null,
lockId?: null
lockId?: null,
amount?: null
): LockReleasedEventFilter;
"LockReturned(address,bytes32)"(