Best Python code snippet using localstack_python
Contract.ts
Source:Contract.ts  
1// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.2import {3  ethereum,4  JSONValue,5  TypedMap,6  Entity,7  Bytes,8  Address,9  BigInt10} from "@graphprotocol/graph-ts";11export class ActionPerformed extends ethereum.Event {12  get params(): ActionPerformed__Params {13    return new ActionPerformed__Params(this);14  }15}16export class ActionPerformed__Params {17  _event: ActionPerformed;18  constructor(event: ActionPerformed) {19    this._event = event;20  }21  get _bountyId(): BigInt {22    return this._event.parameters[0].value.toBigInt();23  }24  get _fulfiller(): Address {25    return this._event.parameters[1].value.toAddress();26  }27  get _data(): string {28    return this._event.parameters[2].value.toString();29  }30}31export class BountyApproversUpdated extends ethereum.Event {32  get params(): BountyApproversUpdated__Params {33    return new BountyApproversUpdated__Params(this);34  }35}36export class BountyApproversUpdated__Params {37  _event: BountyApproversUpdated;38  constructor(event: BountyApproversUpdated) {39    this._event = event;40  }41  get _bountyId(): BigInt {42    return this._event.parameters[0].value.toBigInt();43  }44  get _changer(): Address {45    return this._event.parameters[1].value.toAddress();46  }47  get _approvers(): Array<Address> {48    return this._event.parameters[2].value.toAddressArray();49  }50}51export class BountyChanged extends ethereum.Event {52  get params(): BountyChanged__Params {53    return new BountyChanged__Params(this);54  }55}56export class BountyChanged__Params {57  _event: BountyChanged;58  constructor(event: BountyChanged) {59    this._event = event;60  }61  get _bountyId(): BigInt {62    return this._event.parameters[0].value.toBigInt();63  }64  get _changer(): Address {65    return this._event.parameters[1].value.toAddress();66  }67  get _issuers(): Array<Address> {68    return this._event.parameters[2].value.toAddressArray();69  }70  get _approvers(): Array<Address> {71    return this._event.parameters[3].value.toAddressArray();72  }73  get _data(): string {74    return this._event.parameters[4].value.toString();75  }76  get _deadline(): BigInt {77    return this._event.parameters[5].value.toBigInt();78  }79}80export class BountyDataChanged extends ethereum.Event {81  get params(): BountyDataChanged__Params {82    return new BountyDataChanged__Params(this);83  }84}85export class BountyDataChanged__Params {86  _event: BountyDataChanged;87  constructor(event: BountyDataChanged) {88    this._event = event;89  }90  get _bountyId(): BigInt {91    return this._event.parameters[0].value.toBigInt();92  }93  get _changer(): Address {94    return this._event.parameters[1].value.toAddress();95  }96  get _data(): string {97    return this._event.parameters[2].value.toString();98  }99}100export class BountyDeadlineChanged extends ethereum.Event {101  get params(): BountyDeadlineChanged__Params {102    return new BountyDeadlineChanged__Params(this);103  }104}105export class BountyDeadlineChanged__Params {106  _event: BountyDeadlineChanged;107  constructor(event: BountyDeadlineChanged) {108    this._event = event;109  }110  get _bountyId(): BigInt {111    return this._event.parameters[0].value.toBigInt();112  }113  get _changer(): Address {114    return this._event.parameters[1].value.toAddress();115  }116  get _deadline(): BigInt {117    return this._event.parameters[2].value.toBigInt();118  }119}120export class BountyDrained extends ethereum.Event {121  get params(): BountyDrained__Params {122    return new BountyDrained__Params(this);123  }124}125export class BountyDrained__Params {126  _event: BountyDrained;127  constructor(event: BountyDrained) {128    this._event = event;129  }130  get _bountyId(): BigInt {131    return this._event.parameters[0].value.toBigInt();132  }133  get _issuer(): Address {134    return this._event.parameters[1].value.toAddress();135  }136  get _amounts(): Array<BigInt> {137    return this._event.parameters[2].value.toBigIntArray();138  }139}140export class BountyFulfilled extends ethereum.Event {141  get params(): BountyFulfilled__Params {142    return new BountyFulfilled__Params(this);143  }144}145export class BountyFulfilled__Params {146  _event: BountyFulfilled;147  constructor(event: BountyFulfilled) {148    this._event = event;149  }150  get _bountyId(): BigInt {151    return this._event.parameters[0].value.toBigInt();152  }153  get _fulfillmentId(): BigInt {154    return this._event.parameters[1].value.toBigInt();155  }156  get _fulfillers(): Array<Address> {157    return this._event.parameters[2].value.toAddressArray();158  }159  get _data(): string {160    return this._event.parameters[3].value.toString();161  }162  get _submitter(): Address {163    return this._event.parameters[4].value.toAddress();164  }165}166export class BountyIssued extends ethereum.Event {167  get params(): BountyIssued__Params {168    return new BountyIssued__Params(this);169  }170}171export class BountyIssued__Params {172  _event: BountyIssued;173  constructor(event: BountyIssued) {174    this._event = event;175  }176  get _bountyId(): BigInt {177    return this._event.parameters[0].value.toBigInt();178  }179  get _creator(): Address {180    return this._event.parameters[1].value.toAddress();181  }182  get _issuers(): Array<Address> {183    return this._event.parameters[2].value.toAddressArray();184  }185  get _approvers(): Array<Address> {186    return this._event.parameters[3].value.toAddressArray();187  }188  get _data(): string {189    return this._event.parameters[4].value.toString();190  }191  get _deadline(): BigInt {192    return this._event.parameters[5].value.toBigInt();193  }194  get _token(): Address {195    return this._event.parameters[6].value.toAddress();196  }197  get _tokenVersion(): BigInt {198    return this._event.parameters[7].value.toBigInt();199  }200}201export class BountyIssuersUpdated extends ethereum.Event {202  get params(): BountyIssuersUpdated__Params {203    return new BountyIssuersUpdated__Params(this);204  }205}206export class BountyIssuersUpdated__Params {207  _event: BountyIssuersUpdated;208  constructor(event: BountyIssuersUpdated) {209    this._event = event;210  }211  get _bountyId(): BigInt {212    return this._event.parameters[0].value.toBigInt();213  }214  get _changer(): Address {215    return this._event.parameters[1].value.toAddress();216  }217  get _issuers(): Array<Address> {218    return this._event.parameters[2].value.toAddressArray();219  }220}221export class ContributionAdded extends ethereum.Event {222  get params(): ContributionAdded__Params {223    return new ContributionAdded__Params(this);224  }225}226export class ContributionAdded__Params {227  _event: ContributionAdded;228  constructor(event: ContributionAdded) {229    this._event = event;230  }231  get _bountyId(): BigInt {232    return this._event.parameters[0].value.toBigInt();233  }234  get _contributionId(): BigInt {235    return this._event.parameters[1].value.toBigInt();236  }237  get _contributor(): Address {238    return this._event.parameters[2].value.toAddress();239  }240  get _amount(): BigInt {241    return this._event.parameters[3].value.toBigInt();242  }243}244export class ContributionRefunded extends ethereum.Event {245  get params(): ContributionRefunded__Params {246    return new ContributionRefunded__Params(this);247  }248}249export class ContributionRefunded__Params {250  _event: ContributionRefunded;251  constructor(event: ContributionRefunded) {252    this._event = event;253  }254  get _bountyId(): BigInt {255    return this._event.parameters[0].value.toBigInt();256  }257  get _contributionId(): BigInt {258    return this._event.parameters[1].value.toBigInt();259  }260}261export class ContributionsRefunded extends ethereum.Event {262  get params(): ContributionsRefunded__Params {263    return new ContributionsRefunded__Params(this);264  }265}266export class ContributionsRefunded__Params {267  _event: ContributionsRefunded;268  constructor(event: ContributionsRefunded) {269    this._event = event;270  }271  get _bountyId(): BigInt {272    return this._event.parameters[0].value.toBigInt();273  }274  get _issuer(): Address {275    return this._event.parameters[1].value.toAddress();276  }277  get _contributionIds(): Array<BigInt> {278    return this._event.parameters[2].value.toBigIntArray();279  }280}281export class FulfillmentAccepted extends ethereum.Event {282  get params(): FulfillmentAccepted__Params {283    return new FulfillmentAccepted__Params(this);284  }285}286export class FulfillmentAccepted__Params {287  _event: FulfillmentAccepted;288  constructor(event: FulfillmentAccepted) {289    this._event = event;290  }291  get _bountyId(): BigInt {292    return this._event.parameters[0].value.toBigInt();293  }294  get _fulfillmentId(): BigInt {295    return this._event.parameters[1].value.toBigInt();296  }297  get _approver(): Address {298    return this._event.parameters[2].value.toAddress();299  }300  get _tokenAmounts(): Array<BigInt> {301    return this._event.parameters[3].value.toBigIntArray();302  }303}304export class FulfillmentUpdated extends ethereum.Event {305  get params(): FulfillmentUpdated__Params {306    return new FulfillmentUpdated__Params(this);307  }308}309export class FulfillmentUpdated__Params {310  _event: FulfillmentUpdated;311  constructor(event: FulfillmentUpdated) {312    this._event = event;313  }314  get _bountyId(): BigInt {315    return this._event.parameters[0].value.toBigInt();316  }317  get _fulfillmentId(): BigInt {318    return this._event.parameters[1].value.toBigInt();319  }320  get _fulfillers(): Array<Address> {321    return this._event.parameters[2].value.toAddressArray();322  }323  get _data(): string {324    return this._event.parameters[3].value.toString();325  }326}327export class Contract__bountiesResult {328  value0: BigInt;329  value1: Address;330  value2: BigInt;331  value3: BigInt;332  value4: boolean;333  constructor(334    value0: BigInt,335    value1: Address,336    value2: BigInt,337    value3: BigInt,338    value4: boolean339  ) {340    this.value0 = value0;341    this.value1 = value1;342    this.value2 = value2;343    this.value3 = value3;344    this.value4 = value4;345  }346  toMap(): TypedMap<string, ethereum.Value> {347    let map = new TypedMap<string, ethereum.Value>();348    map.set("value0", ethereum.Value.fromUnsignedBigInt(this.value0));349    map.set("value1", ethereum.Value.fromAddress(this.value1));350    map.set("value2", ethereum.Value.fromUnsignedBigInt(this.value2));351    map.set("value3", ethereum.Value.fromUnsignedBigInt(this.value3));352    map.set("value4", ethereum.Value.fromBoolean(this.value4));353    return map;354  }355  getDeadline(): BigInt {356    return this.value0;357  }358  getToken(): Address {359    return this.value1;360  }361  getTokenVersion(): BigInt {362    return this.value2;363  }364  getBalance(): BigInt {365    return this.value3;366  }367  getHasPaidOut(): boolean {368    return this.value4;369  }370}371export class Contract__getBountyResultValue0Struct extends ethereum.Tuple {372  get issuers(): Array<Address> {373    return this[0].toAddressArray();374  }375  get approvers(): Array<Address> {376    return this[1].toAddressArray();377  }378  get deadline(): BigInt {379    return this[2].toBigInt();380  }381  get token(): Address {382    return this[3].toAddress();383  }384  get tokenVersion(): BigInt {385    return this[4].toBigInt();386  }387  get balance(): BigInt {388    return this[5].toBigInt();389  }390  get hasPaidOut(): boolean {391    return this[6].toBoolean();392  }393  get fulfillments(): Array<Contract__getBountyResultValue0FulfillmentsStruct> {394    return this[7].toTupleArray<395      Contract__getBountyResultValue0FulfillmentsStruct396    >();397  }398  get contributions(): Array<399    Contract__getBountyResultValue0ContributionsStruct400  > {401    return this[8].toTupleArray<402      Contract__getBountyResultValue0ContributionsStruct403    >();404  }405}406export class Contract__getBountyResultValue0FulfillmentsStruct extends ethereum.Tuple {407  get fulfillers(): Array<Address> {408    return this[0].toAddressArray();409  }410  get submitter(): Address {411    return this[1].toAddress();412  }413}414export class Contract__getBountyResultValue0ContributionsStruct extends ethereum.Tuple {415  get contributor(): Address {416    return this[0].toAddress();417  }418  get amount(): BigInt {419    return this[1].toBigInt();420  }421  get refunded(): boolean {422    return this[2].toBoolean();423  }424}425export class Contract extends ethereum.SmartContract {426  static bind(address: Address): Contract {427    return new Contract("Contract", address);428  }429  bounties(param0: BigInt): Contract__bountiesResult {430    let result = super.call(431      "bounties",432      "bounties(uint256):(uint256,address,uint256,uint256,bool)",433      [ethereum.Value.fromUnsignedBigInt(param0)]434    );435    return new Contract__bountiesResult(436      result[0].toBigInt(),437      result[1].toAddress(),438      result[2].toBigInt(),439      result[3].toBigInt(),440      result[4].toBoolean()441    );442  }443  try_bounties(param0: BigInt): ethereum.CallResult<Contract__bountiesResult> {444    let result = super.tryCall(445      "bounties",446      "bounties(uint256):(uint256,address,uint256,uint256,bool)",447      [ethereum.Value.fromUnsignedBigInt(param0)]448    );449    if (result.reverted) {450      return new ethereum.CallResult();451    }452    let value = result.value;453    return ethereum.CallResult.fromValue(454      new Contract__bountiesResult(455        value[0].toBigInt(),456        value[1].toAddress(),457        value[2].toBigInt(),458        value[3].toBigInt(),459        value[4].toBoolean()460      )461    );462  }463  callStarted(): boolean {464    let result = super.call("callStarted", "callStarted():(bool)", []);465    return result[0].toBoolean();466  }467  try_callStarted(): ethereum.CallResult<boolean> {468    let result = super.tryCall("callStarted", "callStarted():(bool)", []);469    if (result.reverted) {470      return new ethereum.CallResult();471    }472    let value = result.value;473    return ethereum.CallResult.fromValue(value[0].toBoolean());474  }475  getBounty(_bountyId: BigInt): Contract__getBountyResultValue0Struct {476    let result = super.call(477      "getBounty",478      "getBounty(uint256):((address[],address[],uint256,address,uint256,uint256,bool,(address[],address)[],(address,uint256,bool)[]))",479      [ethereum.Value.fromUnsignedBigInt(_bountyId)]480    );481    return changetype<Contract__getBountyResultValue0Struct>(482      result[0].toTuple()483    );484  }485  try_getBounty(486    _bountyId: BigInt487  ): ethereum.CallResult<Contract__getBountyResultValue0Struct> {488    let result = super.tryCall(489      "getBounty",490      "getBounty(uint256):((address[],address[],uint256,address,uint256,uint256,bool,(address[],address)[],(address,uint256,bool)[]))",491      [ethereum.Value.fromUnsignedBigInt(_bountyId)]492    );493    if (result.reverted) {494      return new ethereum.CallResult();495    }496    let value = result.value;497    return ethereum.CallResult.fromValue(498      changetype<Contract__getBountyResultValue0Struct>(value[0].toTuple())499    );500  }501  issueBounty(502    _sender: Address,503    _issuers: Array<Address>,504    _approvers: Array<Address>,505    _data: string,506    _deadline: BigInt,507    _token: Address,508    _tokenVersion: BigInt509  ): BigInt {510    let result = super.call(511      "issueBounty",512      "issueBounty(address,address[],address[],string,uint256,address,uint256):(uint256)",513      [514        ethereum.Value.fromAddress(_sender),515        ethereum.Value.fromAddressArray(_issuers),516        ethereum.Value.fromAddressArray(_approvers),517        ethereum.Value.fromString(_data),518        ethereum.Value.fromUnsignedBigInt(_deadline),519        ethereum.Value.fromAddress(_token),520        ethereum.Value.fromUnsignedBigInt(_tokenVersion)521      ]522    );523    return result[0].toBigInt();524  }525  try_issueBounty(526    _sender: Address,527    _issuers: Array<Address>,528    _approvers: Array<Address>,529    _data: string,530    _deadline: BigInt,531    _token: Address,532    _tokenVersion: BigInt533  ): ethereum.CallResult<BigInt> {534    let result = super.tryCall(535      "issueBounty",536      "issueBounty(address,address[],address[],string,uint256,address,uint256):(uint256)",537      [538        ethereum.Value.fromAddress(_sender),539        ethereum.Value.fromAddressArray(_issuers),540        ethereum.Value.fromAddressArray(_approvers),541        ethereum.Value.fromString(_data),542        ethereum.Value.fromUnsignedBigInt(_deadline),543        ethereum.Value.fromAddress(_token),544        ethereum.Value.fromUnsignedBigInt(_tokenVersion)545      ]546    );547    if (result.reverted) {548      return new ethereum.CallResult();549    }550    let value = result.value;551    return ethereum.CallResult.fromValue(value[0].toBigInt());552  }553  metaTxRelayer(): Address {554    let result = super.call("metaTxRelayer", "metaTxRelayer():(address)", []);555    return result[0].toAddress();556  }557  try_metaTxRelayer(): ethereum.CallResult<Address> {558    let result = super.tryCall(559      "metaTxRelayer",560      "metaTxRelayer():(address)",561      []562    );563    if (result.reverted) {564      return new ethereum.CallResult();565    }566    let value = result.value;567    return ethereum.CallResult.fromValue(value[0].toAddress());568  }569  numBounties(): BigInt {570    let result = super.call("numBounties", "numBounties():(uint256)", []);571    return result[0].toBigInt();572  }573  try_numBounties(): ethereum.CallResult<BigInt> {574    let result = super.tryCall("numBounties", "numBounties():(uint256)", []);575    if (result.reverted) {576      return new ethereum.CallResult();577    }578    let value = result.value;579    return ethereum.CallResult.fromValue(value[0].toBigInt());580  }581  owner(): Address {582    let result = super.call("owner", "owner():(address)", []);583    return result[0].toAddress();584  }585  try_owner(): ethereum.CallResult<Address> {586    let result = super.tryCall("owner", "owner():(address)", []);587    if (result.reverted) {588      return new ethereum.CallResult();589    }590    let value = result.value;591    return ethereum.CallResult.fromValue(value[0].toAddress());592  }593  tokenBalances(param0: BigInt, param1: BigInt): boolean {594    let result = super.call(595      "tokenBalances",596      "tokenBalances(uint256,uint256):(bool)",597      [598        ethereum.Value.fromUnsignedBigInt(param0),599        ethereum.Value.fromUnsignedBigInt(param1)600      ]601    );602    return result[0].toBoolean();603  }604  try_tokenBalances(605    param0: BigInt,606    param1: BigInt607  ): ethereum.CallResult<boolean> {608    let result = super.tryCall(609      "tokenBalances",610      "tokenBalances(uint256,uint256):(bool)",611      [612        ethereum.Value.fromUnsignedBigInt(param0),613        ethereum.Value.fromUnsignedBigInt(param1)614      ]615    );616    if (result.reverted) {617      return new ethereum.CallResult();618    }619    let value = result.value;620    return ethereum.CallResult.fromValue(value[0].toBoolean());621  }622}623export class ConstructorCall extends ethereum.Call {624  get inputs(): ConstructorCall__Inputs {625    return new ConstructorCall__Inputs(this);626  }627  get outputs(): ConstructorCall__Outputs {628    return new ConstructorCall__Outputs(this);629  }630}631export class ConstructorCall__Inputs {632  _call: ConstructorCall;633  constructor(call: ConstructorCall) {634    this._call = call;635  }636}637export class ConstructorCall__Outputs {638  _call: ConstructorCall;639  constructor(call: ConstructorCall) {640    this._call = call;641  }642}643export class AcceptFulfillmentCall extends ethereum.Call {644  get inputs(): AcceptFulfillmentCall__Inputs {645    return new AcceptFulfillmentCall__Inputs(this);646  }647  get outputs(): AcceptFulfillmentCall__Outputs {648    return new AcceptFulfillmentCall__Outputs(this);649  }650}651export class AcceptFulfillmentCall__Inputs {652  _call: AcceptFulfillmentCall;653  constructor(call: AcceptFulfillmentCall) {654    this._call = call;655  }656  get _sender(): Address {657    return this._call.inputValues[0].value.toAddress();658  }659  get _bountyId(): BigInt {660    return this._call.inputValues[1].value.toBigInt();661  }662  get _fulfillmentId(): BigInt {663    return this._call.inputValues[2].value.toBigInt();664  }665  get _approverId(): BigInt {666    return this._call.inputValues[3].value.toBigInt();667  }668  get _tokenAmounts(): Array<BigInt> {669    return this._call.inputValues[4].value.toBigIntArray();670  }671}672export class AcceptFulfillmentCall__Outputs {673  _call: AcceptFulfillmentCall;674  constructor(call: AcceptFulfillmentCall) {675    this._call = call;676  }677}678export class AddApproversCall extends ethereum.Call {679  get inputs(): AddApproversCall__Inputs {680    return new AddApproversCall__Inputs(this);681  }682  get outputs(): AddApproversCall__Outputs {683    return new AddApproversCall__Outputs(this);684  }685}686export class AddApproversCall__Inputs {687  _call: AddApproversCall;688  constructor(call: AddApproversCall) {689    this._call = call;690  }691  get _sender(): Address {692    return this._call.inputValues[0].value.toAddress();693  }694  get _bountyId(): BigInt {695    return this._call.inputValues[1].value.toBigInt();696  }697  get _issuerId(): BigInt {698    return this._call.inputValues[2].value.toBigInt();699  }700  get _approvers(): Array<Address> {701    return this._call.inputValues[3].value.toAddressArray();702  }703}704export class AddApproversCall__Outputs {705  _call: AddApproversCall;706  constructor(call: AddApproversCall) {707    this._call = call;708  }709}710export class AddIssuersCall extends ethereum.Call {711  get inputs(): AddIssuersCall__Inputs {712    return new AddIssuersCall__Inputs(this);713  }714  get outputs(): AddIssuersCall__Outputs {715    return new AddIssuersCall__Outputs(this);716  }717}718export class AddIssuersCall__Inputs {719  _call: AddIssuersCall;720  constructor(call: AddIssuersCall) {721    this._call = call;722  }723  get _sender(): Address {724    return this._call.inputValues[0].value.toAddress();725  }726  get _bountyId(): BigInt {727    return this._call.inputValues[1].value.toBigInt();728  }729  get _issuerId(): BigInt {730    return this._call.inputValues[2].value.toBigInt();731  }732  get _issuers(): Array<Address> {733    return this._call.inputValues[3].value.toAddressArray();734  }735}736export class AddIssuersCall__Outputs {737  _call: AddIssuersCall;738  constructor(call: AddIssuersCall) {739    this._call = call;740  }741}742export class ChangeApproverCall extends ethereum.Call {743  get inputs(): ChangeApproverCall__Inputs {744    return new ChangeApproverCall__Inputs(this);745  }746  get outputs(): ChangeApproverCall__Outputs {747    return new ChangeApproverCall__Outputs(this);748  }749}750export class ChangeApproverCall__Inputs {751  _call: ChangeApproverCall;752  constructor(call: ChangeApproverCall) {753    this._call = call;754  }755  get _sender(): Address {756    return this._call.inputValues[0].value.toAddress();757  }758  get _bountyId(): BigInt {759    return this._call.inputValues[1].value.toBigInt();760  }761  get _issuerId(): BigInt {762    return this._call.inputValues[2].value.toBigInt();763  }764  get _approverId(): BigInt {765    return this._call.inputValues[3].value.toBigInt();766  }767  get _approver(): Address {768    return this._call.inputValues[4].value.toAddress();769  }770}771export class ChangeApproverCall__Outputs {772  _call: ChangeApproverCall;773  constructor(call: ChangeApproverCall) {774    this._call = call;775  }776}777export class ChangeBountyCall extends ethereum.Call {778  get inputs(): ChangeBountyCall__Inputs {779    return new ChangeBountyCall__Inputs(this);780  }781  get outputs(): ChangeBountyCall__Outputs {782    return new ChangeBountyCall__Outputs(this);783  }784}785export class ChangeBountyCall__Inputs {786  _call: ChangeBountyCall;787  constructor(call: ChangeBountyCall) {788    this._call = call;789  }790  get _sender(): Address {791    return this._call.inputValues[0].value.toAddress();792  }793  get _bountyId(): BigInt {794    return this._call.inputValues[1].value.toBigInt();795  }796  get _issuerId(): BigInt {797    return this._call.inputValues[2].value.toBigInt();798  }799  get _issuers(): Array<Address> {800    return this._call.inputValues[3].value.toAddressArray();801  }802  get _approvers(): Array<Address> {803    return this._call.inputValues[4].value.toAddressArray();804  }805  get _data(): string {806    return this._call.inputValues[5].value.toString();807  }808  get _deadline(): BigInt {809    return this._call.inputValues[6].value.toBigInt();810  }811}812export class ChangeBountyCall__Outputs {813  _call: ChangeBountyCall;814  constructor(call: ChangeBountyCall) {815    this._call = call;816  }817}818export class ChangeDataCall extends ethereum.Call {819  get inputs(): ChangeDataCall__Inputs {820    return new ChangeDataCall__Inputs(this);821  }822  get outputs(): ChangeDataCall__Outputs {823    return new ChangeDataCall__Outputs(this);824  }825}826export class ChangeDataCall__Inputs {827  _call: ChangeDataCall;828  constructor(call: ChangeDataCall) {829    this._call = call;830  }831  get _sender(): Address {832    return this._call.inputValues[0].value.toAddress();833  }834  get _bountyId(): BigInt {835    return this._call.inputValues[1].value.toBigInt();836  }837  get _issuerId(): BigInt {838    return this._call.inputValues[2].value.toBigInt();839  }840  get _data(): string {841    return this._call.inputValues[3].value.toString();842  }843}844export class ChangeDataCall__Outputs {845  _call: ChangeDataCall;846  constructor(call: ChangeDataCall) {847    this._call = call;848  }849}850export class ChangeDeadlineCall extends ethereum.Call {851  get inputs(): ChangeDeadlineCall__Inputs {852    return new ChangeDeadlineCall__Inputs(this);853  }854  get outputs(): ChangeDeadlineCall__Outputs {855    return new ChangeDeadlineCall__Outputs(this);856  }857}858export class ChangeDeadlineCall__Inputs {859  _call: ChangeDeadlineCall;860  constructor(call: ChangeDeadlineCall) {861    this._call = call;862  }863  get _sender(): Address {864    return this._call.inputValues[0].value.toAddress();865  }866  get _bountyId(): BigInt {867    return this._call.inputValues[1].value.toBigInt();868  }869  get _issuerId(): BigInt {870    return this._call.inputValues[2].value.toBigInt();871  }872  get _deadline(): BigInt {873    return this._call.inputValues[3].value.toBigInt();874  }875}876export class ChangeDeadlineCall__Outputs {877  _call: ChangeDeadlineCall;878  constructor(call: ChangeDeadlineCall) {879    this._call = call;880  }881}882export class ChangeIssuerCall extends ethereum.Call {883  get inputs(): ChangeIssuerCall__Inputs {884    return new ChangeIssuerCall__Inputs(this);885  }886  get outputs(): ChangeIssuerCall__Outputs {887    return new ChangeIssuerCall__Outputs(this);888  }889}890export class ChangeIssuerCall__Inputs {891  _call: ChangeIssuerCall;892  constructor(call: ChangeIssuerCall) {893    this._call = call;894  }895  get _sender(): Address {896    return this._call.inputValues[0].value.toAddress();897  }898  get _bountyId(): BigInt {899    return this._call.inputValues[1].value.toBigInt();900  }901  get _issuerId(): BigInt {902    return this._call.inputValues[2].value.toBigInt();903  }904  get _issuerIdToChange(): BigInt {905    return this._call.inputValues[3].value.toBigInt();906  }907  get _newIssuer(): Address {908    return this._call.inputValues[4].value.toAddress();909  }910}911export class ChangeIssuerCall__Outputs {912  _call: ChangeIssuerCall;913  constructor(call: ChangeIssuerCall) {914    this._call = call;915  }916}917export class ChangeIssuerAndApproverCall extends ethereum.Call {918  get inputs(): ChangeIssuerAndApproverCall__Inputs {919    return new ChangeIssuerAndApproverCall__Inputs(this);920  }921  get outputs(): ChangeIssuerAndApproverCall__Outputs {922    return new ChangeIssuerAndApproverCall__Outputs(this);923  }924}925export class ChangeIssuerAndApproverCall__Inputs {926  _call: ChangeIssuerAndApproverCall;927  constructor(call: ChangeIssuerAndApproverCall) {928    this._call = call;929  }930  get _sender(): Address {931    return this._call.inputValues[0].value.toAddress();932  }933  get _bountyId(): BigInt {934    return this._call.inputValues[1].value.toBigInt();935  }936  get _issuerId(): BigInt {937    return this._call.inputValues[2].value.toBigInt();938  }939  get _issuerIdToChange(): BigInt {940    return this._call.inputValues[3].value.toBigInt();941  }942  get _approverIdToChange(): BigInt {943    return this._call.inputValues[4].value.toBigInt();944  }945  get _issuer(): Address {946    return this._call.inputValues[5].value.toAddress();947  }948}949export class ChangeIssuerAndApproverCall__Outputs {950  _call: ChangeIssuerAndApproverCall;951  constructor(call: ChangeIssuerAndApproverCall) {952    this._call = call;953  }954}955export class ContributeCall extends ethereum.Call {956  get inputs(): ContributeCall__Inputs {957    return new ContributeCall__Inputs(this);958  }959  get outputs(): ContributeCall__Outputs {960    return new ContributeCall__Outputs(this);961  }962}963export class ContributeCall__Inputs {964  _call: ContributeCall;965  constructor(call: ContributeCall) {966    this._call = call;967  }968  get _sender(): Address {969    return this._call.inputValues[0].value.toAddress();970  }971  get _bountyId(): BigInt {972    return this._call.inputValues[1].value.toBigInt();973  }974  get _amount(): BigInt {975    return this._call.inputValues[2].value.toBigInt();976  }977}978export class ContributeCall__Outputs {979  _call: ContributeCall;980  constructor(call: ContributeCall) {981    this._call = call;982  }983}984export class DrainBountyCall extends ethereum.Call {985  get inputs(): DrainBountyCall__Inputs {986    return new DrainBountyCall__Inputs(this);987  }988  get outputs(): DrainBountyCall__Outputs {989    return new DrainBountyCall__Outputs(this);990  }991}992export class DrainBountyCall__Inputs {993  _call: DrainBountyCall;994  constructor(call: DrainBountyCall) {995    this._call = call;996  }997  get _sender(): Address {998    return this._call.inputValues[0].value.toAddress();999  }1000  get _bountyId(): BigInt {1001    return this._call.inputValues[1].value.toBigInt();1002  }1003  get _issuerId(): BigInt {1004    return this._call.inputValues[2].value.toBigInt();1005  }1006  get _amounts(): Array<BigInt> {1007    return this._call.inputValues[3].value.toBigIntArray();1008  }1009}1010export class DrainBountyCall__Outputs {1011  _call: DrainBountyCall;1012  constructor(call: DrainBountyCall) {1013    this._call = call;1014  }1015}1016export class FulfillAndAcceptCall extends ethereum.Call {1017  get inputs(): FulfillAndAcceptCall__Inputs {1018    return new FulfillAndAcceptCall__Inputs(this);1019  }1020  get outputs(): FulfillAndAcceptCall__Outputs {1021    return new FulfillAndAcceptCall__Outputs(this);1022  }1023}1024export class FulfillAndAcceptCall__Inputs {1025  _call: FulfillAndAcceptCall;1026  constructor(call: FulfillAndAcceptCall) {1027    this._call = call;1028  }1029  get _sender(): Address {1030    return this._call.inputValues[0].value.toAddress();1031  }1032  get _bountyId(): BigInt {1033    return this._call.inputValues[1].value.toBigInt();1034  }1035  get _fulfillers(): Array<Address> {1036    return this._call.inputValues[2].value.toAddressArray();1037  }1038  get _data(): string {1039    return this._call.inputValues[3].value.toString();1040  }1041  get _approverId(): BigInt {1042    return this._call.inputValues[4].value.toBigInt();1043  }1044  get _tokenAmounts(): Array<BigInt> {1045    return this._call.inputValues[5].value.toBigIntArray();1046  }1047}1048export class FulfillAndAcceptCall__Outputs {1049  _call: FulfillAndAcceptCall;1050  constructor(call: FulfillAndAcceptCall) {1051    this._call = call;1052  }1053}1054export class FulfillBountyCall extends ethereum.Call {1055  get inputs(): FulfillBountyCall__Inputs {1056    return new FulfillBountyCall__Inputs(this);1057  }1058  get outputs(): FulfillBountyCall__Outputs {1059    return new FulfillBountyCall__Outputs(this);1060  }1061}1062export class FulfillBountyCall__Inputs {1063  _call: FulfillBountyCall;1064  constructor(call: FulfillBountyCall) {1065    this._call = call;1066  }1067  get _sender(): Address {1068    return this._call.inputValues[0].value.toAddress();1069  }1070  get _bountyId(): BigInt {1071    return this._call.inputValues[1].value.toBigInt();1072  }1073  get _fulfillers(): Array<Address> {1074    return this._call.inputValues[2].value.toAddressArray();1075  }1076  get _data(): string {1077    return this._call.inputValues[3].value.toString();1078  }1079}1080export class FulfillBountyCall__Outputs {1081  _call: FulfillBountyCall;1082  constructor(call: FulfillBountyCall) {1083    this._call = call;1084  }1085}1086export class IssueAndContributeCall extends ethereum.Call {1087  get inputs(): IssueAndContributeCall__Inputs {1088    return new IssueAndContributeCall__Inputs(this);1089  }1090  get outputs(): IssueAndContributeCall__Outputs {1091    return new IssueAndContributeCall__Outputs(this);1092  }1093}1094export class IssueAndContributeCall__Inputs {1095  _call: IssueAndContributeCall;1096  constructor(call: IssueAndContributeCall) {1097    this._call = call;1098  }1099  get _sender(): Address {1100    return this._call.inputValues[0].value.toAddress();1101  }1102  get _issuers(): Array<Address> {1103    return this._call.inputValues[1].value.toAddressArray();1104  }1105  get _approvers(): Array<Address> {1106    return this._call.inputValues[2].value.toAddressArray();1107  }1108  get _data(): string {1109    return this._call.inputValues[3].value.toString();1110  }1111  get _deadline(): BigInt {1112    return this._call.inputValues[4].value.toBigInt();1113  }1114  get _token(): Address {1115    return this._call.inputValues[5].value.toAddress();1116  }1117  get _tokenVersion(): BigInt {1118    return this._call.inputValues[6].value.toBigInt();1119  }1120  get _depositAmount(): BigInt {1121    return this._call.inputValues[7].value.toBigInt();1122  }1123}1124export class IssueAndContributeCall__Outputs {1125  _call: IssueAndContributeCall;1126  constructor(call: IssueAndContributeCall) {1127    this._call = call;1128  }1129  get value0(): BigInt {1130    return this._call.outputValues[0].value.toBigInt();1131  }1132}1133export class IssueBountyCall extends ethereum.Call {1134  get inputs(): IssueBountyCall__Inputs {1135    return new IssueBountyCall__Inputs(this);1136  }1137  get outputs(): IssueBountyCall__Outputs {1138    return new IssueBountyCall__Outputs(this);1139  }1140}1141export class IssueBountyCall__Inputs {1142  _call: IssueBountyCall;1143  constructor(call: IssueBountyCall) {1144    this._call = call;1145  }1146  get _sender(): Address {1147    return this._call.inputValues[0].value.toAddress();1148  }1149  get _issuers(): Array<Address> {1150    return this._call.inputValues[1].value.toAddressArray();1151  }1152  get _approvers(): Array<Address> {1153    return this._call.inputValues[2].value.toAddressArray();1154  }1155  get _data(): string {1156    return this._call.inputValues[3].value.toString();1157  }1158  get _deadline(): BigInt {1159    return this._call.inputValues[4].value.toBigInt();1160  }1161  get _token(): Address {1162    return this._call.inputValues[5].value.toAddress();1163  }1164  get _tokenVersion(): BigInt {1165    return this._call.inputValues[6].value.toBigInt();1166  }1167}1168export class IssueBountyCall__Outputs {1169  _call: IssueBountyCall;1170  constructor(call: IssueBountyCall) {1171    this._call = call;1172  }1173  get value0(): BigInt {1174    return this._call.outputValues[0].value.toBigInt();1175  }1176}1177export class PerformActionCall extends ethereum.Call {1178  get inputs(): PerformActionCall__Inputs {1179    return new PerformActionCall__Inputs(this);1180  }1181  get outputs(): PerformActionCall__Outputs {1182    return new PerformActionCall__Outputs(this);1183  }1184}1185export class PerformActionCall__Inputs {1186  _call: PerformActionCall;1187  constructor(call: PerformActionCall) {1188    this._call = call;1189  }1190  get _sender(): Address {1191    return this._call.inputValues[0].value.toAddress();1192  }1193  get _bountyId(): BigInt {1194    return this._call.inputValues[1].value.toBigInt();1195  }1196  get _data(): string {1197    return this._call.inputValues[2].value.toString();1198  }1199}1200export class PerformActionCall__Outputs {1201  _call: PerformActionCall;1202  constructor(call: PerformActionCall) {1203    this._call = call;1204  }1205}1206export class RefundContributionCall extends ethereum.Call {1207  get inputs(): RefundContributionCall__Inputs {1208    return new RefundContributionCall__Inputs(this);1209  }1210  get outputs(): RefundContributionCall__Outputs {1211    return new RefundContributionCall__Outputs(this);1212  }1213}1214export class RefundContributionCall__Inputs {1215  _call: RefundContributionCall;1216  constructor(call: RefundContributionCall) {1217    this._call = call;1218  }1219  get _sender(): Address {1220    return this._call.inputValues[0].value.toAddress();1221  }1222  get _bountyId(): BigInt {1223    return this._call.inputValues[1].value.toBigInt();1224  }1225  get _contributionId(): BigInt {1226    return this._call.inputValues[2].value.toBigInt();1227  }1228}1229export class RefundContributionCall__Outputs {1230  _call: RefundContributionCall;1231  constructor(call: RefundContributionCall) {1232    this._call = call;1233  }1234}1235export class RefundContributionsCall extends ethereum.Call {1236  get inputs(): RefundContributionsCall__Inputs {1237    return new RefundContributionsCall__Inputs(this);1238  }1239  get outputs(): RefundContributionsCall__Outputs {1240    return new RefundContributionsCall__Outputs(this);1241  }1242}1243export class RefundContributionsCall__Inputs {1244  _call: RefundContributionsCall;1245  constructor(call: RefundContributionsCall) {1246    this._call = call;1247  }1248  get _sender(): Address {1249    return this._call.inputValues[0].value.toAddress();1250  }1251  get _bountyId(): BigInt {1252    return this._call.inputValues[1].value.toBigInt();1253  }1254  get _issuerId(): BigInt {1255    return this._call.inputValues[2].value.toBigInt();1256  }1257  get _contributionIds(): Array<BigInt> {1258    return this._call.inputValues[3].value.toBigIntArray();1259  }1260}1261export class RefundContributionsCall__Outputs {1262  _call: RefundContributionsCall;1263  constructor(call: RefundContributionsCall) {1264    this._call = call;1265  }1266}1267export class RefundMyContributionsCall extends ethereum.Call {1268  get inputs(): RefundMyContributionsCall__Inputs {1269    return new RefundMyContributionsCall__Inputs(this);1270  }1271  get outputs(): RefundMyContributionsCall__Outputs {1272    return new RefundMyContributionsCall__Outputs(this);1273  }1274}1275export class RefundMyContributionsCall__Inputs {1276  _call: RefundMyContributionsCall;1277  constructor(call: RefundMyContributionsCall) {1278    this._call = call;1279  }1280  get _sender(): Address {1281    return this._call.inputValues[0].value.toAddress();1282  }1283  get _bountyId(): BigInt {1284    return this._call.inputValues[1].value.toBigInt();1285  }1286  get _contributionIds(): Array<BigInt> {1287    return this._call.inputValues[2].value.toBigIntArray();1288  }1289}1290export class RefundMyContributionsCall__Outputs {1291  _call: RefundMyContributionsCall;1292  constructor(call: RefundMyContributionsCall) {1293    this._call = call;1294  }1295}1296export class SetMetaTxRelayerCall extends ethereum.Call {1297  get inputs(): SetMetaTxRelayerCall__Inputs {1298    return new SetMetaTxRelayerCall__Inputs(this);1299  }1300  get outputs(): SetMetaTxRelayerCall__Outputs {1301    return new SetMetaTxRelayerCall__Outputs(this);1302  }1303}1304export class SetMetaTxRelayerCall__Inputs {1305  _call: SetMetaTxRelayerCall;1306  constructor(call: SetMetaTxRelayerCall) {1307    this._call = call;1308  }1309  get _relayer(): Address {1310    return this._call.inputValues[0].value.toAddress();1311  }1312}1313export class SetMetaTxRelayerCall__Outputs {1314  _call: SetMetaTxRelayerCall;1315  constructor(call: SetMetaTxRelayerCall) {1316    this._call = call;1317  }1318}1319export class UpdateFulfillmentCall extends ethereum.Call {1320  get inputs(): UpdateFulfillmentCall__Inputs {1321    return new UpdateFulfillmentCall__Inputs(this);1322  }1323  get outputs(): UpdateFulfillmentCall__Outputs {1324    return new UpdateFulfillmentCall__Outputs(this);1325  }1326}1327export class UpdateFulfillmentCall__Inputs {1328  _call: UpdateFulfillmentCall;1329  constructor(call: UpdateFulfillmentCall) {1330    this._call = call;1331  }1332  get _sender(): Address {1333    return this._call.inputValues[0].value.toAddress();1334  }1335  get _bountyId(): BigInt {1336    return this._call.inputValues[1].value.toBigInt();1337  }1338  get _fulfillmentId(): BigInt {1339    return this._call.inputValues[2].value.toBigInt();1340  }1341  get _fulfillers(): Array<Address> {1342    return this._call.inputValues[3].value.toAddressArray();1343  }1344  get _data(): string {1345    return this._call.inputValues[4].value.toString();1346  }1347}1348export class UpdateFulfillmentCall__Outputs {1349  _call: UpdateFulfillmentCall;1350  constructor(call: UpdateFulfillmentCall) {1351    this._call = call;1352  }...NonfungiblePositionManager.ts
Source:NonfungiblePositionManager.ts  
1// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.2import {3  ethereum,4  JSONValue,5  TypedMap,6  Entity,7  Bytes,8  Address,9  BigInt10} from "@graphprotocol/graph-ts";11export class Approval extends ethereum.Event {12  get params(): Approval__Params {13    return new Approval__Params(this);14  }15}16export class Approval__Params {17  _event: Approval;18  constructor(event: Approval) {19    this._event = event;20  }21  get owner(): Address {22    return this._event.parameters[0].value.toAddress();23  }24  get approved(): Address {25    return this._event.parameters[1].value.toAddress();26  }27  get tokenId(): BigInt {28    return this._event.parameters[2].value.toBigInt();29  }30}31export class ApprovalForAll extends ethereum.Event {32  get params(): ApprovalForAll__Params {33    return new ApprovalForAll__Params(this);34  }35}36export class ApprovalForAll__Params {37  _event: ApprovalForAll;38  constructor(event: ApprovalForAll) {39    this._event = event;40  }41  get owner(): Address {42    return this._event.parameters[0].value.toAddress();43  }44  get operator(): Address {45    return this._event.parameters[1].value.toAddress();46  }47  get approved(): boolean {48    return this._event.parameters[2].value.toBoolean();49  }50}51export class Collect extends ethereum.Event {52  get params(): Collect__Params {53    return new Collect__Params(this);54  }55}56export class Collect__Params {57  _event: Collect;58  constructor(event: Collect) {59    this._event = event;60  }61  get tokenId(): BigInt {62    return this._event.parameters[0].value.toBigInt();63  }64  get recipient(): Address {65    return this._event.parameters[1].value.toAddress();66  }67  get amount0(): BigInt {68    return this._event.parameters[2].value.toBigInt();69  }70  get amount1(): BigInt {71    return this._event.parameters[3].value.toBigInt();72  }73}74export class DecreaseLiquidity extends ethereum.Event {75  get params(): DecreaseLiquidity__Params {76    return new DecreaseLiquidity__Params(this);77  }78}79export class DecreaseLiquidity__Params {80  _event: DecreaseLiquidity;81  constructor(event: DecreaseLiquidity) {82    this._event = event;83  }84  get tokenId(): BigInt {85    return this._event.parameters[0].value.toBigInt();86  }87  get liquidity(): BigInt {88    return this._event.parameters[1].value.toBigInt();89  }90  get amount0(): BigInt {91    return this._event.parameters[2].value.toBigInt();92  }93  get amount1(): BigInt {94    return this._event.parameters[3].value.toBigInt();95  }96}97export class IncreaseLiquidity extends ethereum.Event {98  get params(): IncreaseLiquidity__Params {99    return new IncreaseLiquidity__Params(this);100  }101}102export class IncreaseLiquidity__Params {103  _event: IncreaseLiquidity;104  constructor(event: IncreaseLiquidity) {105    this._event = event;106  }107  get tokenId(): BigInt {108    return this._event.parameters[0].value.toBigInt();109  }110  get liquidity(): BigInt {111    return this._event.parameters[1].value.toBigInt();112  }113  get amount0(): BigInt {114    return this._event.parameters[2].value.toBigInt();115  }116  get amount1(): BigInt {117    return this._event.parameters[3].value.toBigInt();118  }119}120export class Transfer extends ethereum.Event {121  get params(): Transfer__Params {122    return new Transfer__Params(this);123  }124}125export class Transfer__Params {126  _event: Transfer;127  constructor(event: Transfer) {128    this._event = event;129  }130  get from(): Address {131    return this._event.parameters[0].value.toAddress();132  }133  get to(): Address {134    return this._event.parameters[1].value.toAddress();135  }136  get tokenId(): BigInt {137    return this._event.parameters[2].value.toBigInt();138  }139}140export class NonfungiblePositionManager__positionsResult {141  value0: BigInt;142  value1: Address;143  value2: Address;144  value3: Address;145  value4: i32;146  value5: i32;147  value6: i32;148  value7: BigInt;149  value8: BigInt;150  value9: BigInt;151  value10: BigInt;152  value11: BigInt;153  constructor(154    value0: BigInt,155    value1: Address,156    value2: Address,157    value3: Address,158    value4: i32,159    value5: i32,160    value6: i32,161    value7: BigInt,162    value8: BigInt,163    value9: BigInt,164    value10: BigInt,165    value11: BigInt166  ) {167    this.value0 = value0;168    this.value1 = value1;169    this.value2 = value2;170    this.value3 = value3;171    this.value4 = value4;172    this.value5 = value5;173    this.value6 = value6;174    this.value7 = value7;175    this.value8 = value8;176    this.value9 = value9;177    this.value10 = value10;178    this.value11 = value11;179  }180  toMap(): TypedMap<string, ethereum.Value> {181    let map = new TypedMap<string, ethereum.Value>();182    map.set("value0", ethereum.Value.fromUnsignedBigInt(this.value0));183    map.set("value1", ethereum.Value.fromAddress(this.value1));184    map.set("value2", ethereum.Value.fromAddress(this.value2));185    map.set("value3", ethereum.Value.fromAddress(this.value3));186    map.set(187      "value4",188      ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(this.value4))189    );190    map.set("value5", ethereum.Value.fromI32(this.value5));191    map.set("value6", ethereum.Value.fromI32(this.value6));192    map.set("value7", ethereum.Value.fromUnsignedBigInt(this.value7));193    map.set("value8", ethereum.Value.fromUnsignedBigInt(this.value8));194    map.set("value9", ethereum.Value.fromUnsignedBigInt(this.value9));195    map.set("value10", ethereum.Value.fromUnsignedBigInt(this.value10));196    map.set("value11", ethereum.Value.fromUnsignedBigInt(this.value11));197    return map;198  }199}200export class NonfungiblePositionManager extends ethereum.SmartContract {201  static bind(address: Address): NonfungiblePositionManager {202    return new NonfungiblePositionManager(203      "NonfungiblePositionManager",204      address205    );206  }207  DOMAIN_SEPARATOR(): Bytes {208    let result = super.call(209      "DOMAIN_SEPARATOR",210      "DOMAIN_SEPARATOR():(bytes32)",211      []212    );213    return result[0].toBytes();214  }215  try_DOMAIN_SEPARATOR(): ethereum.CallResult<Bytes> {216    let result = super.tryCall(217      "DOMAIN_SEPARATOR",218      "DOMAIN_SEPARATOR():(bytes32)",219      []220    );221    if (result.reverted) {222      return new ethereum.CallResult();223    }224    let value = result.value;225    return ethereum.CallResult.fromValue(value[0].toBytes());226  }227  PERMIT_TYPEHASH(): Bytes {228    let result = super.call(229      "PERMIT_TYPEHASH",230      "PERMIT_TYPEHASH():(bytes32)",231      []232    );233    return result[0].toBytes();234  }235  try_PERMIT_TYPEHASH(): ethereum.CallResult<Bytes> {236    let result = super.tryCall(237      "PERMIT_TYPEHASH",238      "PERMIT_TYPEHASH():(bytes32)",239      []240    );241    if (result.reverted) {242      return new ethereum.CallResult();243    }244    let value = result.value;245    return ethereum.CallResult.fromValue(value[0].toBytes());246  }247  WETH9(): Address {248    let result = super.call("WETH9", "WETH9():(address)", []);249    return result[0].toAddress();250  }251  try_WETH9(): ethereum.CallResult<Address> {252    let result = super.tryCall("WETH9", "WETH9():(address)", []);253    if (result.reverted) {254      return new ethereum.CallResult();255    }256    let value = result.value;257    return ethereum.CallResult.fromValue(value[0].toAddress());258  }259  balanceOf(owner: Address): BigInt {260    let result = super.call("balanceOf", "balanceOf(address):(uint256)", [261      ethereum.Value.fromAddress(owner)262    ]);263    return result[0].toBigInt();264  }265  try_balanceOf(owner: Address): ethereum.CallResult<BigInt> {266    let result = super.tryCall("balanceOf", "balanceOf(address):(uint256)", [267      ethereum.Value.fromAddress(owner)268    ]);269    if (result.reverted) {270      return new ethereum.CallResult();271    }272    let value = result.value;273    return ethereum.CallResult.fromValue(value[0].toBigInt());274  }275  baseURI(): string {276    let result = super.call("baseURI", "baseURI():(string)", []);277    return result[0].toString();278  }279  try_baseURI(): ethereum.CallResult<string> {280    let result = super.tryCall("baseURI", "baseURI():(string)", []);281    if (result.reverted) {282      return new ethereum.CallResult();283    }284    let value = result.value;285    return ethereum.CallResult.fromValue(value[0].toString());286  }287  factory(): Address {288    let result = super.call("factory", "factory():(address)", []);289    return result[0].toAddress();290  }291  try_factory(): ethereum.CallResult<Address> {292    let result = super.tryCall("factory", "factory():(address)", []);293    if (result.reverted) {294      return new ethereum.CallResult();295    }296    let value = result.value;297    return ethereum.CallResult.fromValue(value[0].toAddress());298  }299  getApproved(tokenId: BigInt): Address {300    let result = super.call("getApproved", "getApproved(uint256):(address)", [301      ethereum.Value.fromUnsignedBigInt(tokenId)302    ]);303    return result[0].toAddress();304  }305  try_getApproved(tokenId: BigInt): ethereum.CallResult<Address> {306    let result = super.tryCall(307      "getApproved",308      "getApproved(uint256):(address)",309      [ethereum.Value.fromUnsignedBigInt(tokenId)]310    );311    if (result.reverted) {312      return new ethereum.CallResult();313    }314    let value = result.value;315    return ethereum.CallResult.fromValue(value[0].toAddress());316  }317  isApprovedForAll(owner: Address, operator: Address): boolean {318    let result = super.call(319      "isApprovedForAll",320      "isApprovedForAll(address,address):(bool)",321      [ethereum.Value.fromAddress(owner), ethereum.Value.fromAddress(operator)]322    );323    return result[0].toBoolean();324  }325  try_isApprovedForAll(326    owner: Address,327    operator: Address328  ): ethereum.CallResult<boolean> {329    let result = super.tryCall(330      "isApprovedForAll",331      "isApprovedForAll(address,address):(bool)",332      [ethereum.Value.fromAddress(owner), ethereum.Value.fromAddress(operator)]333    );334    if (result.reverted) {335      return new ethereum.CallResult();336    }337    let value = result.value;338    return ethereum.CallResult.fromValue(value[0].toBoolean());339  }340  name(): string {341    let result = super.call("name", "name():(string)", []);342    return result[0].toString();343  }344  try_name(): ethereum.CallResult<string> {345    let result = super.tryCall("name", "name():(string)", []);346    if (result.reverted) {347      return new ethereum.CallResult();348    }349    let value = result.value;350    return ethereum.CallResult.fromValue(value[0].toString());351  }352  ownerOf(tokenId: BigInt): Address {353    let result = super.call("ownerOf", "ownerOf(uint256):(address)", [354      ethereum.Value.fromUnsignedBigInt(tokenId)355    ]);356    return result[0].toAddress();357  }358  try_ownerOf(tokenId: BigInt): ethereum.CallResult<Address> {359    let result = super.tryCall("ownerOf", "ownerOf(uint256):(address)", [360      ethereum.Value.fromUnsignedBigInt(tokenId)361    ]);362    if (result.reverted) {363      return new ethereum.CallResult();364    }365    let value = result.value;366    return ethereum.CallResult.fromValue(value[0].toAddress());367  }368  positions(tokenId: BigInt): NonfungiblePositionManager__positionsResult {369    let result = super.call(370      "positions",371      "positions(uint256):(uint96,address,address,address,uint24,int24,int24,uint128,uint256,uint256,uint128,uint128)",372      [ethereum.Value.fromUnsignedBigInt(tokenId)]373    );374    return new NonfungiblePositionManager__positionsResult(375      result[0].toBigInt(),376      result[1].toAddress(),377      result[2].toAddress(),378      result[3].toAddress(),379      result[4].toI32(),380      result[5].toI32(),381      result[6].toI32(),382      result[7].toBigInt(),383      result[8].toBigInt(),384      result[9].toBigInt(),385      result[10].toBigInt(),386      result[11].toBigInt()387    );388  }389  try_positions(390    tokenId: BigInt391  ): ethereum.CallResult<NonfungiblePositionManager__positionsResult> {392    let result = super.tryCall(393      "positions",394      "positions(uint256):(uint96,address,address,address,uint24,int24,int24,uint128,uint256,uint256,uint128,uint128)",395      [ethereum.Value.fromUnsignedBigInt(tokenId)]396    );397    if (result.reverted) {398      return new ethereum.CallResult();399    }400    let value = result.value;401    return ethereum.CallResult.fromValue(402      new NonfungiblePositionManager__positionsResult(403        value[0].toBigInt(),404        value[1].toAddress(),405        value[2].toAddress(),406        value[3].toAddress(),407        value[4].toI32(),408        value[5].toI32(),409        value[6].toI32(),410        value[7].toBigInt(),411        value[8].toBigInt(),412        value[9].toBigInt(),413        value[10].toBigInt(),414        value[11].toBigInt()415      )416    );417  }418  supportsInterface(interfaceId: Bytes): boolean {419    let result = super.call(420      "supportsInterface",421      "supportsInterface(bytes4):(bool)",422      [ethereum.Value.fromFixedBytes(interfaceId)]423    );424    return result[0].toBoolean();425  }426  try_supportsInterface(interfaceId: Bytes): ethereum.CallResult<boolean> {427    let result = super.tryCall(428      "supportsInterface",429      "supportsInterface(bytes4):(bool)",430      [ethereum.Value.fromFixedBytes(interfaceId)]431    );432    if (result.reverted) {433      return new ethereum.CallResult();434    }435    let value = result.value;436    return ethereum.CallResult.fromValue(value[0].toBoolean());437  }438  symbol(): string {439    let result = super.call("symbol", "symbol():(string)", []);440    return result[0].toString();441  }442  try_symbol(): ethereum.CallResult<string> {443    let result = super.tryCall("symbol", "symbol():(string)", []);444    if (result.reverted) {445      return new ethereum.CallResult();446    }447    let value = result.value;448    return ethereum.CallResult.fromValue(value[0].toString());449  }450  tokenByIndex(index: BigInt): BigInt {451    let result = super.call("tokenByIndex", "tokenByIndex(uint256):(uint256)", [452      ethereum.Value.fromUnsignedBigInt(index)453    ]);454    return result[0].toBigInt();455  }456  try_tokenByIndex(index: BigInt): ethereum.CallResult<BigInt> {457    let result = super.tryCall(458      "tokenByIndex",459      "tokenByIndex(uint256):(uint256)",460      [ethereum.Value.fromUnsignedBigInt(index)]461    );462    if (result.reverted) {463      return new ethereum.CallResult();464    }465    let value = result.value;466    return ethereum.CallResult.fromValue(value[0].toBigInt());467  }468  tokenOfOwnerByIndex(owner: Address, index: BigInt): BigInt {469    let result = super.call(470      "tokenOfOwnerByIndex",471      "tokenOfOwnerByIndex(address,uint256):(uint256)",472      [473        ethereum.Value.fromAddress(owner),474        ethereum.Value.fromUnsignedBigInt(index)475      ]476    );477    return result[0].toBigInt();478  }479  try_tokenOfOwnerByIndex(480    owner: Address,481    index: BigInt482  ): ethereum.CallResult<BigInt> {483    let result = super.tryCall(484      "tokenOfOwnerByIndex",485      "tokenOfOwnerByIndex(address,uint256):(uint256)",486      [487        ethereum.Value.fromAddress(owner),488        ethereum.Value.fromUnsignedBigInt(index)489      ]490    );491    if (result.reverted) {492      return new ethereum.CallResult();493    }494    let value = result.value;495    return ethereum.CallResult.fromValue(value[0].toBigInt());496  }497  tokenURI(tokenId: BigInt): string {498    let result = super.call("tokenURI", "tokenURI(uint256):(string)", [499      ethereum.Value.fromUnsignedBigInt(tokenId)500    ]);501    return result[0].toString();502  }503  try_tokenURI(tokenId: BigInt): ethereum.CallResult<string> {504    let result = super.tryCall("tokenURI", "tokenURI(uint256):(string)", [505      ethereum.Value.fromUnsignedBigInt(tokenId)506    ]);507    if (result.reverted) {508      return new ethereum.CallResult();509    }510    let value = result.value;511    return ethereum.CallResult.fromValue(value[0].toString());512  }513  totalSupply(): BigInt {514    let result = super.call("totalSupply", "totalSupply():(uint256)", []);515    return result[0].toBigInt();516  }517  try_totalSupply(): ethereum.CallResult<BigInt> {518    let result = super.tryCall("totalSupply", "totalSupply():(uint256)", []);519    if (result.reverted) {520      return new ethereum.CallResult();521    }522    let value = result.value;523    return ethereum.CallResult.fromValue(value[0].toBigInt());524  }525}526export class ConstructorCall extends ethereum.Call {527  get inputs(): ConstructorCall__Inputs {528    return new ConstructorCall__Inputs(this);529  }530  get outputs(): ConstructorCall__Outputs {531    return new ConstructorCall__Outputs(this);532  }533}534export class ConstructorCall__Inputs {535  _call: ConstructorCall;536  constructor(call: ConstructorCall) {537    this._call = call;538  }539  get _factory(): Address {540    return this._call.inputValues[0].value.toAddress();541  }542  get _WETH9(): Address {543    return this._call.inputValues[1].value.toAddress();544  }545  get _tokenDescriptor_(): Address {546    return this._call.inputValues[2].value.toAddress();547  }548}549export class ConstructorCall__Outputs {550  _call: ConstructorCall;551  constructor(call: ConstructorCall) {552    this._call = call;553  }554}555export class ApproveCall extends ethereum.Call {556  get inputs(): ApproveCall__Inputs {557    return new ApproveCall__Inputs(this);558  }559  get outputs(): ApproveCall__Outputs {560    return new ApproveCall__Outputs(this);561  }562}563export class ApproveCall__Inputs {564  _call: ApproveCall;565  constructor(call: ApproveCall) {566    this._call = call;567  }568  get to(): Address {569    return this._call.inputValues[0].value.toAddress();570  }571  get tokenId(): BigInt {572    return this._call.inputValues[1].value.toBigInt();573  }574}575export class ApproveCall__Outputs {576  _call: ApproveCall;577  constructor(call: ApproveCall) {578    this._call = call;579  }580}581export class BurnCall extends ethereum.Call {582  get inputs(): BurnCall__Inputs {583    return new BurnCall__Inputs(this);584  }585  get outputs(): BurnCall__Outputs {586    return new BurnCall__Outputs(this);587  }588}589export class BurnCall__Inputs {590  _call: BurnCall;591  constructor(call: BurnCall) {592    this._call = call;593  }594  get tokenId(): BigInt {595    return this._call.inputValues[0].value.toBigInt();596  }597}598export class BurnCall__Outputs {599  _call: BurnCall;600  constructor(call: BurnCall) {601    this._call = call;602  }603}604export class CollectCall extends ethereum.Call {605  get inputs(): CollectCall__Inputs {606    return new CollectCall__Inputs(this);607  }608  get outputs(): CollectCall__Outputs {609    return new CollectCall__Outputs(this);610  }611}612export class CollectCall__Inputs {613  _call: CollectCall;614  constructor(call: CollectCall) {615    this._call = call;616  }617  get tokenId(): BigInt {618    return this._call.inputValues[0].value.toBigInt();619  }620  get recipient(): Address {621    return this._call.inputValues[1].value.toAddress();622  }623  get amount0Max(): BigInt {624    return this._call.inputValues[2].value.toBigInt();625  }626  get amount1Max(): BigInt {627    return this._call.inputValues[3].value.toBigInt();628  }629}630export class CollectCall__Outputs {631  _call: CollectCall;632  constructor(call: CollectCall) {633    this._call = call;634  }635  get amount0(): BigInt {636    return this._call.outputValues[0].value.toBigInt();637  }638  get amount1(): BigInt {639    return this._call.outputValues[1].value.toBigInt();640  }641}642export class CreateAndInitializePoolIfNecessaryCall extends ethereum.Call {643  get inputs(): CreateAndInitializePoolIfNecessaryCall__Inputs {644    return new CreateAndInitializePoolIfNecessaryCall__Inputs(this);645  }646  get outputs(): CreateAndInitializePoolIfNecessaryCall__Outputs {647    return new CreateAndInitializePoolIfNecessaryCall__Outputs(this);648  }649}650export class CreateAndInitializePoolIfNecessaryCall__Inputs {651  _call: CreateAndInitializePoolIfNecessaryCall;652  constructor(call: CreateAndInitializePoolIfNecessaryCall) {653    this._call = call;654  }655  get tokenA(): Address {656    return this._call.inputValues[0].value.toAddress();657  }658  get tokenB(): Address {659    return this._call.inputValues[1].value.toAddress();660  }661  get fee(): i32 {662    return this._call.inputValues[2].value.toI32();663  }664  get sqrtPriceX96(): BigInt {665    return this._call.inputValues[3].value.toBigInt();666  }667}668export class CreateAndInitializePoolIfNecessaryCall__Outputs {669  _call: CreateAndInitializePoolIfNecessaryCall;670  constructor(call: CreateAndInitializePoolIfNecessaryCall) {671    this._call = call;672  }673  get pool(): Address {674    return this._call.outputValues[0].value.toAddress();675  }676}677export class DecreaseLiquidityCall extends ethereum.Call {678  get inputs(): DecreaseLiquidityCall__Inputs {679    return new DecreaseLiquidityCall__Inputs(this);680  }681  get outputs(): DecreaseLiquidityCall__Outputs {682    return new DecreaseLiquidityCall__Outputs(this);683  }684}685export class DecreaseLiquidityCall__Inputs {686  _call: DecreaseLiquidityCall;687  constructor(call: DecreaseLiquidityCall) {688    this._call = call;689  }690  get tokenId(): BigInt {691    return this._call.inputValues[0].value.toBigInt();692  }693  get liquidity(): BigInt {694    return this._call.inputValues[1].value.toBigInt();695  }696  get amount0Min(): BigInt {697    return this._call.inputValues[2].value.toBigInt();698  }699  get amount1Min(): BigInt {700    return this._call.inputValues[3].value.toBigInt();701  }702  get deadline(): BigInt {703    return this._call.inputValues[4].value.toBigInt();704  }705}706export class DecreaseLiquidityCall__Outputs {707  _call: DecreaseLiquidityCall;708  constructor(call: DecreaseLiquidityCall) {709    this._call = call;710  }711  get amount0(): BigInt {712    return this._call.outputValues[0].value.toBigInt();713  }714  get amount1(): BigInt {715    return this._call.outputValues[1].value.toBigInt();716  }717}718export class IncreaseLiquidityCall extends ethereum.Call {719  get inputs(): IncreaseLiquidityCall__Inputs {720    return new IncreaseLiquidityCall__Inputs(this);721  }722  get outputs(): IncreaseLiquidityCall__Outputs {723    return new IncreaseLiquidityCall__Outputs(this);724  }725}726export class IncreaseLiquidityCall__Inputs {727  _call: IncreaseLiquidityCall;728  constructor(call: IncreaseLiquidityCall) {729    this._call = call;730  }731  get tokenId(): BigInt {732    return this._call.inputValues[0].value.toBigInt();733  }734  get amount0Desired(): BigInt {735    return this._call.inputValues[1].value.toBigInt();736  }737  get amount1Desired(): BigInt {738    return this._call.inputValues[2].value.toBigInt();739  }740  get amount0Min(): BigInt {741    return this._call.inputValues[3].value.toBigInt();742  }743  get amount1Min(): BigInt {744    return this._call.inputValues[4].value.toBigInt();745  }746  get deadline(): BigInt {747    return this._call.inputValues[5].value.toBigInt();748  }749}750export class IncreaseLiquidityCall__Outputs {751  _call: IncreaseLiquidityCall;752  constructor(call: IncreaseLiquidityCall) {753    this._call = call;754  }755  get liquidity(): BigInt {756    return this._call.outputValues[0].value.toBigInt();757  }758  get amount0(): BigInt {759    return this._call.outputValues[1].value.toBigInt();760  }761  get amount1(): BigInt {762    return this._call.outputValues[2].value.toBigInt();763  }764}765export class MintCall extends ethereum.Call {766  get inputs(): MintCall__Inputs {767    return new MintCall__Inputs(this);768  }769  get outputs(): MintCall__Outputs {770    return new MintCall__Outputs(this);771  }772}773export class MintCall__Inputs {774  _call: MintCall;775  constructor(call: MintCall) {776    this._call = call;777  }778  get params(): MintCallParamsStruct {779    return this._call.inputValues[0].value.toTuple() as MintCallParamsStruct;780  }781}782export class MintCall__Outputs {783  _call: MintCall;784  constructor(call: MintCall) {785    this._call = call;786  }787  get tokenId(): BigInt {788    return this._call.outputValues[0].value.toBigInt();789  }790  get liquidity(): BigInt {791    return this._call.outputValues[1].value.toBigInt();792  }793  get amount0(): BigInt {794    return this._call.outputValues[2].value.toBigInt();795  }796  get amount1(): BigInt {797    return this._call.outputValues[3].value.toBigInt();798  }799}800export class MintCallParamsStruct extends ethereum.Tuple {801  get token0(): Address {802    return this[0].toAddress();803  }804  get token1(): Address {805    return this[1].toAddress();806  }807  get fee(): i32 {808    return this[2].toI32();809  }810  get tickLower(): i32 {811    return this[3].toI32();812  }813  get tickUpper(): i32 {814    return this[4].toI32();815  }816  get amount0Desired(): BigInt {817    return this[5].toBigInt();818  }819  get amount1Desired(): BigInt {820    return this[6].toBigInt();821  }822  get amount0Min(): BigInt {823    return this[7].toBigInt();824  }825  get amount1Min(): BigInt {826    return this[8].toBigInt();827  }828  get recipient(): Address {829    return this[9].toAddress();830  }831  get deadline(): BigInt {832    return this[10].toBigInt();833  }834}835export class MulticallCall extends ethereum.Call {836  get inputs(): MulticallCall__Inputs {837    return new MulticallCall__Inputs(this);838  }839  get outputs(): MulticallCall__Outputs {840    return new MulticallCall__Outputs(this);841  }842}843export class MulticallCall__Inputs {844  _call: MulticallCall;845  constructor(call: MulticallCall) {846    this._call = call;847  }848  get data(): Array<Bytes> {849    return this._call.inputValues[0].value.toBytesArray();850  }851}852export class MulticallCall__Outputs {853  _call: MulticallCall;854  constructor(call: MulticallCall) {855    this._call = call;856  }857  get results(): Array<Bytes> {858    return this._call.outputValues[0].value.toBytesArray();859  }860}861export class PermitCall extends ethereum.Call {862  get inputs(): PermitCall__Inputs {863    return new PermitCall__Inputs(this);864  }865  get outputs(): PermitCall__Outputs {866    return new PermitCall__Outputs(this);867  }868}869export class PermitCall__Inputs {870  _call: PermitCall;871  constructor(call: PermitCall) {872    this._call = call;873  }874  get spender(): Address {875    return this._call.inputValues[0].value.toAddress();876  }877  get tokenId(): BigInt {878    return this._call.inputValues[1].value.toBigInt();879  }880  get deadline(): BigInt {881    return this._call.inputValues[2].value.toBigInt();882  }883  get v(): i32 {884    return this._call.inputValues[3].value.toI32();885  }886  get r(): Bytes {887    return this._call.inputValues[4].value.toBytes();888  }889  get s(): Bytes {890    return this._call.inputValues[5].value.toBytes();891  }892}893export class PermitCall__Outputs {894  _call: PermitCall;895  constructor(call: PermitCall) {896    this._call = call;897  }898}899export class SafeTransferFromCall extends ethereum.Call {900  get inputs(): SafeTransferFromCall__Inputs {901    return new SafeTransferFromCall__Inputs(this);902  }903  get outputs(): SafeTransferFromCall__Outputs {904    return new SafeTransferFromCall__Outputs(this);905  }906}907export class SafeTransferFromCall__Inputs {908  _call: SafeTransferFromCall;909  constructor(call: SafeTransferFromCall) {910    this._call = call;911  }912  get from(): Address {913    return this._call.inputValues[0].value.toAddress();914  }915  get to(): Address {916    return this._call.inputValues[1].value.toAddress();917  }918  get tokenId(): BigInt {919    return this._call.inputValues[2].value.toBigInt();920  }921}922export class SafeTransferFromCall__Outputs {923  _call: SafeTransferFromCall;924  constructor(call: SafeTransferFromCall) {925    this._call = call;926  }927}928export class SafeTransferFrom1Call extends ethereum.Call {929  get inputs(): SafeTransferFrom1Call__Inputs {930    return new SafeTransferFrom1Call__Inputs(this);931  }932  get outputs(): SafeTransferFrom1Call__Outputs {933    return new SafeTransferFrom1Call__Outputs(this);934  }935}936export class SafeTransferFrom1Call__Inputs {937  _call: SafeTransferFrom1Call;938  constructor(call: SafeTransferFrom1Call) {939    this._call = call;940  }941  get from(): Address {942    return this._call.inputValues[0].value.toAddress();943  }944  get to(): Address {945    return this._call.inputValues[1].value.toAddress();946  }947  get tokenId(): BigInt {948    return this._call.inputValues[2].value.toBigInt();949  }950  get _data(): Bytes {951    return this._call.inputValues[3].value.toBytes();952  }953}954export class SafeTransferFrom1Call__Outputs {955  _call: SafeTransferFrom1Call;956  constructor(call: SafeTransferFrom1Call) {957    this._call = call;958  }959}960export class SelfPermitCall extends ethereum.Call {961  get inputs(): SelfPermitCall__Inputs {962    return new SelfPermitCall__Inputs(this);963  }964  get outputs(): SelfPermitCall__Outputs {965    return new SelfPermitCall__Outputs(this);966  }967}968export class SelfPermitCall__Inputs {969  _call: SelfPermitCall;970  constructor(call: SelfPermitCall) {971    this._call = call;972  }973  get token(): Address {974    return this._call.inputValues[0].value.toAddress();975  }976  get value(): BigInt {977    return this._call.inputValues[1].value.toBigInt();978  }979  get deadline(): BigInt {980    return this._call.inputValues[2].value.toBigInt();981  }982  get v(): i32 {983    return this._call.inputValues[3].value.toI32();984  }985  get r(): Bytes {986    return this._call.inputValues[4].value.toBytes();987  }988  get s(): Bytes {989    return this._call.inputValues[5].value.toBytes();990  }991}992export class SelfPermitCall__Outputs {993  _call: SelfPermitCall;994  constructor(call: SelfPermitCall) {995    this._call = call;996  }997}998export class SelfPermitAllowedCall extends ethereum.Call {999  get inputs(): SelfPermitAllowedCall__Inputs {1000    return new SelfPermitAllowedCall__Inputs(this);1001  }1002  get outputs(): SelfPermitAllowedCall__Outputs {1003    return new SelfPermitAllowedCall__Outputs(this);1004  }1005}1006export class SelfPermitAllowedCall__Inputs {1007  _call: SelfPermitAllowedCall;1008  constructor(call: SelfPermitAllowedCall) {1009    this._call = call;1010  }1011  get token(): Address {1012    return this._call.inputValues[0].value.toAddress();1013  }1014  get nonce(): BigInt {1015    return this._call.inputValues[1].value.toBigInt();1016  }1017  get expiry(): BigInt {1018    return this._call.inputValues[2].value.toBigInt();1019  }1020  get v(): i32 {1021    return this._call.inputValues[3].value.toI32();1022  }1023  get r(): Bytes {1024    return this._call.inputValues[4].value.toBytes();1025  }1026  get s(): Bytes {1027    return this._call.inputValues[5].value.toBytes();1028  }1029}1030export class SelfPermitAllowedCall__Outputs {1031  _call: SelfPermitAllowedCall;1032  constructor(call: SelfPermitAllowedCall) {1033    this._call = call;1034  }1035}1036export class SelfPermitAllowedIfNecessaryCall extends ethereum.Call {1037  get inputs(): SelfPermitAllowedIfNecessaryCall__Inputs {1038    return new SelfPermitAllowedIfNecessaryCall__Inputs(this);1039  }1040  get outputs(): SelfPermitAllowedIfNecessaryCall__Outputs {1041    return new SelfPermitAllowedIfNecessaryCall__Outputs(this);1042  }1043}1044export class SelfPermitAllowedIfNecessaryCall__Inputs {1045  _call: SelfPermitAllowedIfNecessaryCall;1046  constructor(call: SelfPermitAllowedIfNecessaryCall) {1047    this._call = call;1048  }1049  get token(): Address {1050    return this._call.inputValues[0].value.toAddress();1051  }1052  get nonce(): BigInt {1053    return this._call.inputValues[1].value.toBigInt();1054  }1055  get expiry(): BigInt {1056    return this._call.inputValues[2].value.toBigInt();1057  }1058  get v(): i32 {1059    return this._call.inputValues[3].value.toI32();1060  }1061  get r(): Bytes {1062    return this._call.inputValues[4].value.toBytes();1063  }1064  get s(): Bytes {1065    return this._call.inputValues[5].value.toBytes();1066  }1067}1068export class SelfPermitAllowedIfNecessaryCall__Outputs {1069  _call: SelfPermitAllowedIfNecessaryCall;1070  constructor(call: SelfPermitAllowedIfNecessaryCall) {1071    this._call = call;1072  }1073}1074export class SelfPermitIfNecessaryCall extends ethereum.Call {1075  get inputs(): SelfPermitIfNecessaryCall__Inputs {1076    return new SelfPermitIfNecessaryCall__Inputs(this);1077  }1078  get outputs(): SelfPermitIfNecessaryCall__Outputs {1079    return new SelfPermitIfNecessaryCall__Outputs(this);1080  }1081}1082export class SelfPermitIfNecessaryCall__Inputs {1083  _call: SelfPermitIfNecessaryCall;1084  constructor(call: SelfPermitIfNecessaryCall) {1085    this._call = call;1086  }1087  get token(): Address {1088    return this._call.inputValues[0].value.toAddress();1089  }1090  get value(): BigInt {1091    return this._call.inputValues[1].value.toBigInt();1092  }1093  get deadline(): BigInt {1094    return this._call.inputValues[2].value.toBigInt();1095  }1096  get v(): i32 {1097    return this._call.inputValues[3].value.toI32();1098  }1099  get r(): Bytes {1100    return this._call.inputValues[4].value.toBytes();1101  }1102  get s(): Bytes {1103    return this._call.inputValues[5].value.toBytes();1104  }1105}1106export class SelfPermitIfNecessaryCall__Outputs {1107  _call: SelfPermitIfNecessaryCall;1108  constructor(call: SelfPermitIfNecessaryCall) {1109    this._call = call;1110  }1111}1112export class SetApprovalForAllCall extends ethereum.Call {1113  get inputs(): SetApprovalForAllCall__Inputs {1114    return new SetApprovalForAllCall__Inputs(this);1115  }1116  get outputs(): SetApprovalForAllCall__Outputs {1117    return new SetApprovalForAllCall__Outputs(this);1118  }1119}1120export class SetApprovalForAllCall__Inputs {1121  _call: SetApprovalForAllCall;1122  constructor(call: SetApprovalForAllCall) {1123    this._call = call;1124  }1125  get operator(): Address {1126    return this._call.inputValues[0].value.toAddress();1127  }1128  get approved(): boolean {1129    return this._call.inputValues[1].value.toBoolean();1130  }1131}1132export class SetApprovalForAllCall__Outputs {1133  _call: SetApprovalForAllCall;1134  constructor(call: SetApprovalForAllCall) {1135    this._call = call;1136  }1137}1138export class SweepTokenCall extends ethereum.Call {1139  get inputs(): SweepTokenCall__Inputs {1140    return new SweepTokenCall__Inputs(this);1141  }1142  get outputs(): SweepTokenCall__Outputs {1143    return new SweepTokenCall__Outputs(this);1144  }1145}1146export class SweepTokenCall__Inputs {1147  _call: SweepTokenCall;1148  constructor(call: SweepTokenCall) {1149    this._call = call;1150  }1151  get token(): Address {1152    return this._call.inputValues[0].value.toAddress();1153  }1154  get amountMinimum(): BigInt {1155    return this._call.inputValues[1].value.toBigInt();1156  }1157  get recipient(): Address {1158    return this._call.inputValues[2].value.toAddress();1159  }1160}1161export class SweepTokenCall__Outputs {1162  _call: SweepTokenCall;1163  constructor(call: SweepTokenCall) {1164    this._call = call;1165  }1166}1167export class TransferFromCall extends ethereum.Call {1168  get inputs(): TransferFromCall__Inputs {1169    return new TransferFromCall__Inputs(this);1170  }1171  get outputs(): TransferFromCall__Outputs {1172    return new TransferFromCall__Outputs(this);1173  }1174}1175export class TransferFromCall__Inputs {1176  _call: TransferFromCall;1177  constructor(call: TransferFromCall) {1178    this._call = call;1179  }1180  get from(): Address {1181    return this._call.inputValues[0].value.toAddress();1182  }1183  get to(): Address {1184    return this._call.inputValues[1].value.toAddress();1185  }1186  get tokenId(): BigInt {1187    return this._call.inputValues[2].value.toBigInt();1188  }1189}1190export class TransferFromCall__Outputs {1191  _call: TransferFromCall;1192  constructor(call: TransferFromCall) {1193    this._call = call;1194  }1195}1196export class UniswapV3MintCallbackCall extends ethereum.Call {1197  get inputs(): UniswapV3MintCallbackCall__Inputs {1198    return new UniswapV3MintCallbackCall__Inputs(this);1199  }1200  get outputs(): UniswapV3MintCallbackCall__Outputs {1201    return new UniswapV3MintCallbackCall__Outputs(this);1202  }1203}1204export class UniswapV3MintCallbackCall__Inputs {1205  _call: UniswapV3MintCallbackCall;1206  constructor(call: UniswapV3MintCallbackCall) {1207    this._call = call;1208  }1209  get amount0Owed(): BigInt {1210    return this._call.inputValues[0].value.toBigInt();1211  }1212  get amount1Owed(): BigInt {1213    return this._call.inputValues[1].value.toBigInt();1214  }1215  get data(): Bytes {1216    return this._call.inputValues[2].value.toBytes();1217  }1218}1219export class UniswapV3MintCallbackCall__Outputs {1220  _call: UniswapV3MintCallbackCall;1221  constructor(call: UniswapV3MintCallbackCall) {1222    this._call = call;1223  }1224}1225export class UnwrapWETH9Call extends ethereum.Call {1226  get inputs(): UnwrapWETH9Call__Inputs {1227    return new UnwrapWETH9Call__Inputs(this);1228  }1229  get outputs(): UnwrapWETH9Call__Outputs {1230    return new UnwrapWETH9Call__Outputs(this);1231  }1232}1233export class UnwrapWETH9Call__Inputs {1234  _call: UnwrapWETH9Call;1235  constructor(call: UnwrapWETH9Call) {1236    this._call = call;1237  }1238  get amountMinimum(): BigInt {1239    return this._call.inputValues[0].value.toBigInt();1240  }1241  get recipient(): Address {1242    return this._call.inputValues[1].value.toAddress();1243  }1244}1245export class UnwrapWETH9Call__Outputs {1246  _call: UnwrapWETH9Call;1247  constructor(call: UnwrapWETH9Call) {1248    this._call = call;1249  }...client.py
Source:client.py  
...117                    self._headers['AUTHORIZATION'] = _get_token(118                        authdata['user_id'], authdata['password'])119        if self.timeout < 1:120            raise ValueError('Timeout value must be at least 1 second')121    def _call(self, method, params):122        arg_hash = {'method': method,123                    'params': params,124                    'version': '1.1',125                    'id': str(_random.random())[2:]126                    }127        body = _json.dumps(arg_hash, cls=_JSONObjectEncoder)128        ret = _requests.post(self.url, data=body, headers=self._headers,129                             timeout=self.timeout,130                             verify=not self.trust_all_ssl_certificates)131        if ret.status_code == _requests.codes.server_error:132            if _CT in ret.headers and ret.headers[_CT] == _AJ:133                err = _json.loads(ret.text)134                if 'error' in err:135                    raise ServerError(**err['error'])136                else:137                    raise ServerError('Unknown', 0, ret.text)138            else:139                raise ServerError('Unknown', 0, ret.text)140        if ret.status_code != _requests.codes.OK:141            ret.raise_for_status()142        resp = _json.loads(ret.text)143        if 'result' not in resp:144            raise ServerError('Unknown', 0, 'An unknown server error occurred')145        return resp['result']146    def ver(self):147        resp = self._call('Workspace.ver',148                          [])149        return resp[0]150    def create_workspace(self, params):151        resp = self._call('Workspace.create_workspace',152                          [params])153        return resp[0]154    def alter_workspace_metadata(self, params):155        self._call('Workspace.alter_workspace_metadata',156                   [params])157    def clone_workspace(self, params):158        resp = self._call('Workspace.clone_workspace',159                          [params])160        return resp[0]161    def lock_workspace(self, wsi):162        resp = self._call('Workspace.lock_workspace',163                          [wsi])164        return resp[0]165    def get_workspacemeta(self, params):166        resp = self._call('Workspace.get_workspacemeta',167                          [params])168        return resp[0]169    def get_workspace_info(self, wsi):170        resp = self._call('Workspace.get_workspace_info',171                          [wsi])172        return resp[0]173    def get_workspace_description(self, wsi):174        resp = self._call('Workspace.get_workspace_description',175                          [wsi])176        return resp[0]177    def set_permissions(self, params):178        self._call('Workspace.set_permissions',179                   [params])180    def set_global_permission(self, params):181        self._call('Workspace.set_global_permission',182                   [params])183    def set_workspace_description(self, params):184        self._call('Workspace.set_workspace_description',185                   [params])186    def get_permissions(self, wsi):187        resp = self._call('Workspace.get_permissions',188                          [wsi])189        return resp[0]190    def save_object(self, params):191        resp = self._call('Workspace.save_object',192                          [params])193        return resp[0]194    def save_objects(self, params):195        resp = self._call('Workspace.save_objects',196                          [params])197        return resp[0]198    def get_object(self, params):199        resp = self._call('Workspace.get_object',200                          [params])201        return resp[0]202    def get_object_provenance(self, object_ids):203        resp = self._call('Workspace.get_object_provenance',204                          [object_ids])205        return resp[0]206    def get_objects(self, object_ids):207        resp = self._call('Workspace.get_objects',208                          [object_ids])209        return resp[0]210    def get_object_subset(self, sub_object_ids):211        resp = self._call('Workspace.get_object_subset',212                          [sub_object_ids])213        return resp[0]214    def get_object_history(self, object):215        resp = self._call('Workspace.get_object_history',216                          [object])217        return resp[0]218    def list_referencing_objects(self, object_ids):219        resp = self._call('Workspace.list_referencing_objects',220                          [object_ids])221        return resp[0]222    def list_referencing_object_counts(self, object_ids):223        resp = self._call('Workspace.list_referencing_object_counts',224                          [object_ids])225        return resp[0]226    def get_referenced_objects(self, ref_chains):227        resp = self._call('Workspace.get_referenced_objects',228                          [ref_chains])229        return resp[0]230    def list_workspaces(self, params):231        resp = self._call('Workspace.list_workspaces',232                          [params])233        return resp[0]234    def list_workspace_info(self, params):235        resp = self._call('Workspace.list_workspace_info',236                          [params])237        return resp[0]238    def list_workspace_objects(self, params):239        resp = self._call('Workspace.list_workspace_objects',240                          [params])241        return resp[0]242    def list_objects(self, params):243        resp = self._call('Workspace.list_objects',244                          [params])245        return resp[0]246    def get_objectmeta(self, params):247        resp = self._call('Workspace.get_objectmeta',248                          [params])249        return resp[0]250    def get_object_info(self, object_ids, includeMetadata):251        resp = self._call('Workspace.get_object_info',252                          [object_ids, includeMetadata])253        return resp[0]254    def get_object_info_new(self, params):255        resp = self._call('Workspace.get_object_info_new',256                          [params])257        return resp[0]258    def rename_workspace(self, params):259        resp = self._call('Workspace.rename_workspace',260                          [params])261        return resp[0]262    def rename_object(self, params):263        resp = self._call('Workspace.rename_object',264                          [params])265        return resp[0]266    def copy_object(self, params):267        resp = self._call('Workspace.copy_object',268                          [params])269        return resp[0]270    def revert_object(self, object):271        resp = self._call('Workspace.revert_object',272                          [object])273        return resp[0]274    def hide_objects(self, object_ids):275        self._call('Workspace.hide_objects',276                   [object_ids])277    def unhide_objects(self, object_ids):278        self._call('Workspace.unhide_objects',279                   [object_ids])280    def delete_objects(self, object_ids):281        self._call('Workspace.delete_objects',282                   [object_ids])283    def undelete_objects(self, object_ids):284        self._call('Workspace.undelete_objects',285                   [object_ids])286    def delete_workspace(self, wsi):287        self._call('Workspace.delete_workspace',288                   [wsi])289    def undelete_workspace(self, wsi):290        self._call('Workspace.undelete_workspace',291                   [wsi])292    def request_module_ownership(self, mod):293        self._call('Workspace.request_module_ownership',294                   [mod])295    def register_typespec(self, params):296        resp = self._call('Workspace.register_typespec',297                          [params])298        return resp[0]299    def register_typespec_copy(self, params):300        resp = self._call('Workspace.register_typespec_copy',301                          [params])302        return resp[0]303    def release_module(self, mod):304        resp = self._call('Workspace.release_module',305                          [mod])306        return resp[0]307    def list_modules(self, params):308        resp = self._call('Workspace.list_modules',309                          [params])310        return resp[0]311    def list_module_versions(self, params):312        resp = self._call('Workspace.list_module_versions',313                          [params])314        return resp[0]315    def get_module_info(self, params):316        resp = self._call('Workspace.get_module_info',317                          [params])318        return resp[0]319    def get_jsonschema(self, type):320        resp = self._call('Workspace.get_jsonschema',321                          [type])322        return resp[0]323    def translate_from_MD5_types(self, md5_types):324        resp = self._call('Workspace.translate_from_MD5_types',325                          [md5_types])326        return resp[0]327    def translate_to_MD5_types(self, sem_types):328        resp = self._call('Workspace.translate_to_MD5_types',329                          [sem_types])330        return resp[0]331    def get_type_info(self, type):332        resp = self._call('Workspace.get_type_info',333                          [type])334        return resp[0]335    def get_all_type_info(self, mod):336        resp = self._call('Workspace.get_all_type_info',337                          [mod])338        return resp[0]339    def get_func_info(self, func):340        resp = self._call('Workspace.get_func_info',341                          [func])342        return resp[0]343    def get_all_func_info(self, mod):344        resp = self._call('Workspace.get_all_func_info',345                          [mod])346        return resp[0]347    def grant_module_ownership(self, params):348        self._call('Workspace.grant_module_ownership',349                   [params])350    def remove_module_ownership(self, params):351        self._call('Workspace.remove_module_ownership',352                   [params])353    def list_all_types(self, params):354        resp = self._call('Workspace.list_all_types',355                          [params])356        return resp[0]357    def administer(self, command):358        resp = self._call('Workspace.administer',359                          [command])...BalancerZapOutGeneralV2.ts
Source:BalancerZapOutGeneralV2.ts  
1// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.2import {3  ethereum,4  JSONValue,5  TypedMap,6  Entity,7  Bytes,8  Address,9  BigInt10} from "@graphprotocol/graph-ts";11export class OwnershipTransferred extends ethereum.Event {12  get params(): OwnershipTransferred__Params {13    return new OwnershipTransferred__Params(this);14  }15}16export class OwnershipTransferred__Params {17  _event: OwnershipTransferred;18  constructor(event: OwnershipTransferred) {19    this._event = event;20  }21  get previousOwner(): Address {22    return this._event.parameters[0].value.toAddress();23  }24  get newOwner(): Address {25    return this._event.parameters[1].value.toAddress();26  }27}28export class Zapout extends ethereum.Event {29  get params(): Zapout__Params {30    return new Zapout__Params(this);31  }32}33export class Zapout__Params {34  _event: Zapout;35  constructor(event: Zapout) {36    this._event = event;37  }38  get _toWhomToIssue(): Address {39    return this._event.parameters[0].value.toAddress();40  }41  get _fromBalancerPoolAddress(): Address {42    return this._event.parameters[1].value.toAddress();43  }44  get _toTokenContractAddress(): Address {45    return this._event.parameters[2].value.toAddress();46  }47  get _OutgoingAmount(): BigInt {48    return this._event.parameters[3].value.toBigInt();49  }50}51export class BalancerZapOutGeneralV2 extends ethereum.SmartContract {52  static bind(address: Address): BalancerZapOutGeneralV2 {53    return new BalancerZapOutGeneralV2("BalancerZapOutGeneralV2", address);54  }55  UniSwapFactoryAddress(): Address {56    let result = super.call(57      "UniSwapFactoryAddress",58      "UniSwapFactoryAddress():(address)",59      []60    );61    return result[0].toAddress();62  }63  try_UniSwapFactoryAddress(): ethereum.CallResult<Address> {64    let result = super.tryCall(65      "UniSwapFactoryAddress",66      "UniSwapFactoryAddress():(address)",67      []68    );69    if (result.reverted) {70      return new ethereum.CallResult();71    }72    let value = result.value;73    return ethereum.CallResult.fromValue(value[0].toAddress());74  }75  dzgoodwillAddress(): Address {76    let result = super.call(77      "dzgoodwillAddress",78      "dzgoodwillAddress():(address)",79      []80    );81    return result[0].toAddress();82  }83  try_dzgoodwillAddress(): ethereum.CallResult<Address> {84    let result = super.tryCall(85      "dzgoodwillAddress",86      "dzgoodwillAddress():(address)",87      []88    );89    if (result.reverted) {90      return new ethereum.CallResult();91    }92    let value = result.value;93    return ethereum.CallResult.fromValue(value[0].toAddress());94  }95  goodwill(): i32 {96    let result = super.call("goodwill", "goodwill():(uint16)", []);97    return result[0].toI32();98  }99  try_goodwill(): ethereum.CallResult<i32> {100    let result = super.tryCall("goodwill", "goodwill():(uint16)", []);101    if (result.reverted) {102      return new ethereum.CallResult();103    }104    let value = result.value;105    return ethereum.CallResult.fromValue(value[0].toI32());106  }107  isOwner(): boolean {108    let result = super.call("isOwner", "isOwner():(bool)", []);109    return result[0].toBoolean();110  }111  try_isOwner(): ethereum.CallResult<boolean> {112    let result = super.tryCall("isOwner", "isOwner():(bool)", []);113    if (result.reverted) {114      return new ethereum.CallResult();115    }116    let value = result.value;117    return ethereum.CallResult.fromValue(value[0].toBoolean());118  }119  owner(): Address {120    let result = super.call("owner", "owner():(address)", []);121    return result[0].toAddress();122  }123  try_owner(): ethereum.CallResult<Address> {124    let result = super.tryCall("owner", "owner():(address)", []);125    if (result.reverted) {126      return new ethereum.CallResult();127    }128    let value = result.value;129    return ethereum.CallResult.fromValue(value[0].toAddress());130  }131}132export class ConstructorCall extends ethereum.Call {133  get inputs(): ConstructorCall__Inputs {134    return new ConstructorCall__Inputs(this);135  }136  get outputs(): ConstructorCall__Outputs {137    return new ConstructorCall__Outputs(this);138  }139}140export class ConstructorCall__Inputs {141  _call: ConstructorCall;142  constructor(call: ConstructorCall) {143    this._call = call;144  }145  get _goodwill(): i32 {146    return this._call.inputValues[0].value.toI32();147  }148  get _dzgoodwillAddress(): Address {149    return this._call.inputValues[1].value.toAddress();150  }151}152export class ConstructorCall__Outputs {153  _call: ConstructorCall;154  constructor(call: ConstructorCall) {155    this._call = call;156  }157}158export class DefaultCall extends ethereum.Call {159  get inputs(): DefaultCall__Inputs {160    return new DefaultCall__Inputs(this);161  }162  get outputs(): DefaultCall__Outputs {163    return new DefaultCall__Outputs(this);164  }165}166export class DefaultCall__Inputs {167  _call: DefaultCall;168  constructor(call: DefaultCall) {169    this._call = call;170  }171}172export class DefaultCall__Outputs {173  _call: DefaultCall;174  constructor(call: DefaultCall) {175    this._call = call;176  }177}178export class EasyZapOutCall extends ethereum.Call {179  get inputs(): EasyZapOutCall__Inputs {180    return new EasyZapOutCall__Inputs(this);181  }182  get outputs(): EasyZapOutCall__Outputs {183    return new EasyZapOutCall__Outputs(this);184  }185}186export class EasyZapOutCall__Inputs {187  _call: EasyZapOutCall;188  constructor(call: EasyZapOutCall) {189    this._call = call;190  }191  get _ToTokenContractAddress(): Address {192    return this._call.inputValues[0].value.toAddress();193  }194  get _FromBalancerPoolAddress(): Address {195    return this._call.inputValues[1].value.toAddress();196  }197  get _IncomingBPT(): BigInt {198    return this._call.inputValues[2].value.toBigInt();199  }200  get _minTokensRec(): BigInt {201    return this._call.inputValues[3].value.toBigInt();202  }203}204export class EasyZapOutCall__Outputs {205  _call: EasyZapOutCall;206  constructor(call: EasyZapOutCall) {207    this._call = call;208  }209  get value0(): BigInt {210    return this._call.outputValues[0].value.toBigInt();211  }212}213export class ZapOutCall extends ethereum.Call {214  get inputs(): ZapOutCall__Inputs {215    return new ZapOutCall__Inputs(this);216  }217  get outputs(): ZapOutCall__Outputs {218    return new ZapOutCall__Outputs(this);219  }220}221export class ZapOutCall__Inputs {222  _call: ZapOutCall;223  constructor(call: ZapOutCall) {224    this._call = call;225  }226  get _toWhomToIssue(): Address {227    return this._call.inputValues[0].value.toAddress();228  }229  get _ToTokenContractAddress(): Address {230    return this._call.inputValues[1].value.toAddress();231  }232  get _FromBalancerPoolAddress(): Address {233    return this._call.inputValues[2].value.toAddress();234  }235  get _IncomingBPT(): BigInt {236    return this._call.inputValues[3].value.toBigInt();237  }238  get _IntermediateToken(): Address {239    return this._call.inputValues[4].value.toAddress();240  }241  get _minTokensRec(): BigInt {242    return this._call.inputValues[5].value.toBigInt();243  }244}245export class ZapOutCall__Outputs {246  _call: ZapOutCall;247  constructor(call: ZapOutCall) {248    this._call = call;249  }250  get value0(): BigInt {251    return this._call.outputValues[0].value.toBigInt();252  }253}254export class InCaseTokengetsStuckCall extends ethereum.Call {255  get inputs(): InCaseTokengetsStuckCall__Inputs {256    return new InCaseTokengetsStuckCall__Inputs(this);257  }258  get outputs(): InCaseTokengetsStuckCall__Outputs {259    return new InCaseTokengetsStuckCall__Outputs(this);260  }261}262export class InCaseTokengetsStuckCall__Inputs {263  _call: InCaseTokengetsStuckCall;264  constructor(call: InCaseTokengetsStuckCall) {265    this._call = call;266  }267  get _TokenAddress(): Address {268    return this._call.inputValues[0].value.toAddress();269  }270}271export class InCaseTokengetsStuckCall__Outputs {272  _call: InCaseTokengetsStuckCall;273  constructor(call: InCaseTokengetsStuckCall) {274    this._call = call;275  }276}277export class RenounceOwnershipCall extends ethereum.Call {278  get inputs(): RenounceOwnershipCall__Inputs {279    return new RenounceOwnershipCall__Inputs(this);280  }281  get outputs(): RenounceOwnershipCall__Outputs {282    return new RenounceOwnershipCall__Outputs(this);283  }284}285export class RenounceOwnershipCall__Inputs {286  _call: RenounceOwnershipCall;287  constructor(call: RenounceOwnershipCall) {288    this._call = call;289  }290}291export class RenounceOwnershipCall__Outputs {292  _call: RenounceOwnershipCall;293  constructor(call: RenounceOwnershipCall) {294    this._call = call;295  }296}297export class Set_new_dzgoodwillAddressCall extends ethereum.Call {298  get inputs(): Set_new_dzgoodwillAddressCall__Inputs {299    return new Set_new_dzgoodwillAddressCall__Inputs(this);300  }301  get outputs(): Set_new_dzgoodwillAddressCall__Outputs {302    return new Set_new_dzgoodwillAddressCall__Outputs(this);303  }304}305export class Set_new_dzgoodwillAddressCall__Inputs {306  _call: Set_new_dzgoodwillAddressCall;307  constructor(call: Set_new_dzgoodwillAddressCall) {308    this._call = call;309  }310  get _new_dzgoodwillAddress(): Address {311    return this._call.inputValues[0].value.toAddress();312  }313}314export class Set_new_dzgoodwillAddressCall__Outputs {315  _call: Set_new_dzgoodwillAddressCall;316  constructor(call: Set_new_dzgoodwillAddressCall) {317    this._call = call;318  }319}320export class Set_new_goodwillCall extends ethereum.Call {321  get inputs(): Set_new_goodwillCall__Inputs {322    return new Set_new_goodwillCall__Inputs(this);323  }324  get outputs(): Set_new_goodwillCall__Outputs {325    return new Set_new_goodwillCall__Outputs(this);326  }327}328export class Set_new_goodwillCall__Inputs {329  _call: Set_new_goodwillCall;330  constructor(call: Set_new_goodwillCall) {331    this._call = call;332  }333  get _new_goodwill(): i32 {334    return this._call.inputValues[0].value.toI32();335  }336}337export class Set_new_goodwillCall__Outputs {338  _call: Set_new_goodwillCall;339  constructor(call: Set_new_goodwillCall) {340    this._call = call;341  }342}343export class ToggleContractActiveCall extends ethereum.Call {344  get inputs(): ToggleContractActiveCall__Inputs {345    return new ToggleContractActiveCall__Inputs(this);346  }347  get outputs(): ToggleContractActiveCall__Outputs {348    return new ToggleContractActiveCall__Outputs(this);349  }350}351export class ToggleContractActiveCall__Inputs {352  _call: ToggleContractActiveCall;353  constructor(call: ToggleContractActiveCall) {354    this._call = call;355  }356}357export class ToggleContractActiveCall__Outputs {358  _call: ToggleContractActiveCall;359  constructor(call: ToggleContractActiveCall) {360    this._call = call;361  }362}363export class TransferOwnershipCall extends ethereum.Call {364  get inputs(): TransferOwnershipCall__Inputs {365    return new TransferOwnershipCall__Inputs(this);366  }367  get outputs(): TransferOwnershipCall__Outputs {368    return new TransferOwnershipCall__Outputs(this);369  }370}371export class TransferOwnershipCall__Inputs {372  _call: TransferOwnershipCall;373  constructor(call: TransferOwnershipCall) {374    this._call = call;375  }376  get newOwner(): Address {377    return this._call.inputValues[0].value.toAddress();378  }379}380export class TransferOwnershipCall__Outputs {381  _call: TransferOwnershipCall;382  constructor(call: TransferOwnershipCall) {383    this._call = call;384  }385}386export class WithdrawCall extends ethereum.Call {387  get inputs(): WithdrawCall__Inputs {388    return new WithdrawCall__Inputs(this);389  }390  get outputs(): WithdrawCall__Outputs {391    return new WithdrawCall__Outputs(this);392  }393}394export class WithdrawCall__Inputs {395  _call: WithdrawCall;396  constructor(call: WithdrawCall) {397    this._call = call;398  }399}400export class WithdrawCall__Outputs {401  _call: WithdrawCall;402  constructor(call: WithdrawCall) {403    this._call = call;404  }...Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!
