Skip to content

Commit

Permalink
add missing event to interface and class (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
vhcsilva authored May 28, 2024
1 parent 4099a97 commit e4c72f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/interfaces/events/network-v2-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ export interface GovernorTransferredEvent { returnValues: {'previousGovernor': s
export interface BountyFunded { returnValues: {'id': string;'funded': boolean;} }
export interface BountyAmountUpdatedEvent { returnValues: {'id': number;'amount': number;} }
export interface OraclesChangedEvent { returnValues: {'actor': string;'actionAmount': number; 'newLockedTotal': number} }
export interface OraclesTransferEvent { returnValues: {'from': string;'to': string; 'amount': number} }
export interface OraclesTransferEvent { returnValues: {'from': string;'to': string; 'amount': number} }
export interface NetworkParamChanged { returnValues: { 'param': number; 'newvalue': number; 'oldvalue': number } }
4 changes: 4 additions & 0 deletions src/models/network-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -603,4 +603,8 @@ export class Network_v2 extends Model<Network_v2Methods> implements Deployable {
return this.contract.self.getPastEvents(`OraclesTransfer`, filter)
}

async getNetworkParamChangedEvents(filter: PastEventOptions): Promise<XEvents<Events.NetworkParamChanged>[]> {
return this.contract.self.getPastEvents(`NetworkParamChanged`, filter)
}

}

0 comments on commit e4c72f7

Please sign in to comment.