Interface ReviewableRequests

Hierarchy

  • BaseContract
    • ReviewableRequests

Properties

_deployedPromise: Promise<Contract>
_runningEvents: {
    [eventTag: string]: RunningEvent;
}

Type declaration

  • [eventTag: string]: RunningEvent
_wrappedEmits: {
    [eventTag: string]: ((...args: any[]) => void);
}

Type declaration

  • [eventTag: string]: ((...args: any[]) => void)
      • (...args: any[]): void
      • Parameters

        • Rest ...args: any[]

        Returns void

address: string
callStatic: {
    acceptRequest(requestId_: BigNumberish, overrides?: CallOverrides): Promise<void>;
    createRequest(executor_: string, acceptData_: BytesLike, rejectData_: BytesLike, misc_: string, description_: string, overrides?: CallOverrides): Promise<void>;
    dropRequest(requestId_: BigNumberish, overrides?: CallOverrides): Promise<void>;
    getInjector(overrides?: CallOverrides): Promise<string>;
    nextRequestId(overrides?: CallOverrides): Promise<BigNumber>;
    rejectRequest(requestId_: BigNumberish, reason_: string, overrides?: CallOverrides): Promise<void>;
    requests(arg0: BigNumberish, overrides?: CallOverrides): Promise<[number, string, string, string, string, string] & {
        acceptData: string;
        creator: string;
        executor: string;
        misc: string;
        rejectData: string;
        status: number;
    }>;
    setDependencies(registryAddress_: string, overrides?: CallOverrides): Promise<void>;
    setInjector(_injector: string, overrides?: CallOverrides): Promise<void>;
    updateRequest(requestId_: BigNumberish, executor_: string, acceptData_: BytesLike, rejectData_: BytesLike, misc_: string, description_: string, overrides?: CallOverrides): Promise<void>;
}

Type declaration

  • acceptRequest:function
  • createRequest:function
    • Parameters

      • executor_: string
      • acceptData_: BytesLike
      • rejectData_: BytesLike
      • misc_: string
      • description_: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • dropRequest:function
  • getInjector:function
  • nextRequestId:function
  • rejectRequest:function
  • requests:function
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[number, string, string, string, string, string] & {
          acceptData: string;
          creator: string;
          executor: string;
          misc: string;
          rejectData: string;
          status: number;
      }>

  • setDependencies:function
  • setInjector:function
  • updateRequest:function
    • Parameters

      • requestId_: BigNumberish
      • executor_: string
      • acceptData_: BytesLike
      • rejectData_: BytesLike
      • misc_: string
      • description_: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

deployTransaction: TransactionResponse
estimateGas: {
    acceptRequest(requestId_: BigNumberish, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    createRequest(executor_: string, acceptData_: BytesLike, rejectData_: BytesLike, misc_: string, description_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    dropRequest(requestId_: BigNumberish, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    getInjector(overrides?: CallOverrides): Promise<BigNumber>;
    nextRequestId(overrides?: CallOverrides): Promise<BigNumber>;
    rejectRequest(requestId_: BigNumberish, reason_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    requests(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
    setDependencies(registryAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    setInjector(_injector: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
    updateRequest(requestId_: BigNumberish, executor_: string, acceptData_: BytesLike, rejectData_: BytesLike, misc_: string, description_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<BigNumber>;
}

Type declaration

  • acceptRequest:function
    • Parameters

      • requestId_: BigNumberish
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<BigNumber>

  • createRequest:function
    • Parameters

      • executor_: string
      • acceptData_: BytesLike
      • rejectData_: BytesLike
      • misc_: string
      • description_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<BigNumber>

  • dropRequest:function
    • Parameters

      • requestId_: BigNumberish
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<BigNumber>

  • getInjector:function
  • nextRequestId:function
  • rejectRequest:function
    • Parameters

      • requestId_: BigNumberish
      • reason_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<BigNumber>

  • requests:function
  • setDependencies:function
    • Parameters

      • registryAddress_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<BigNumber>

  • setInjector:function
  • updateRequest:function
    • Parameters

      • requestId_: BigNumberish
      • executor_: string
      • acceptData_: BytesLike
      • rejectData_: BytesLike
      • misc_: string
      • description_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<BigNumber>

filters: {
    RequestAccepted(requestId?: null): RequestAcceptedEventFilter;
    RequestAccepted(uint256)(requestId?: null): RequestAcceptedEventFilter;
    RequestCreated(requestId?: null, creator?: null, executor?: null, acceptData?: null, rejectData?: null, misc?: null, description?: null): RequestCreatedEventFilter;
    RequestCreated(uint256,address,address,bytes,bytes,string,string)(requestId?: null, creator?: null, executor?: null, acceptData?: null, rejectData?: null, misc?: null, description?: null): RequestCreatedEventFilter;
    RequestDropped(requestId?: null): RequestDroppedEventFilter;
    RequestDropped(uint256)(requestId?: null): RequestDroppedEventFilter;
    RequestRejected(requestId?: null, reason?: null): RequestRejectedEventFilter;
    RequestRejected(uint256,string)(requestId?: null, reason?: null): RequestRejectedEventFilter;
    RequestUpdated(requestId?: null, newRequestId?: null, executor?: null, acceptData?: null, rejectData?: null, misc?: null, description?: null): RequestUpdatedEventFilter;
    RequestUpdated(uint256,uint256,address,bytes,bytes,string,string)(requestId?: null, newRequestId?: null, executor?: null, acceptData?: null, rejectData?: null, misc?: null, description?: null): RequestUpdatedEventFilter;
}

Type declaration

  • RequestAccepted:function
  • RequestAccepted(uint256):function
  • RequestCreated:function
    • Parameters

      • Optional requestId: null
      • Optional creator: null
      • Optional executor: null
      • Optional acceptData: null
      • Optional rejectData: null
      • Optional misc: null
      • Optional description: null

      Returns RequestCreatedEventFilter

  • RequestCreated(uint256,address,address,bytes,bytes,string,string):function
    • Parameters

      • Optional requestId: null
      • Optional creator: null
      • Optional executor: null
      • Optional acceptData: null
      • Optional rejectData: null
      • Optional misc: null
      • Optional description: null

      Returns RequestCreatedEventFilter

  • RequestDropped:function
  • RequestDropped(uint256):function
  • RequestRejected:function
  • RequestRejected(uint256,string):function
  • RequestUpdated:function
    • Parameters

      • Optional requestId: null
      • Optional newRequestId: null
      • Optional executor: null
      • Optional acceptData: null
      • Optional rejectData: null
      • Optional misc: null
      • Optional description: null

      Returns RequestUpdatedEventFilter

  • RequestUpdated(uint256,uint256,address,bytes,bytes,string,string):function
    • Parameters

      • Optional requestId: null
      • Optional newRequestId: null
      • Optional executor: null
      • Optional acceptData: null
      • Optional rejectData: null
      • Optional misc: null
      • Optional description: null

      Returns RequestUpdatedEventFilter

functions: {
    acceptRequest(requestId_: BigNumberish, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    createRequest(executor_: string, acceptData_: BytesLike, rejectData_: BytesLike, misc_: string, description_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    dropRequest(requestId_: BigNumberish, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    getInjector(overrides?: CallOverrides): Promise<[string] & {
        _injector: string;
    }>;
    nextRequestId(overrides?: CallOverrides): Promise<[BigNumber]>;
    rejectRequest(requestId_: BigNumberish, reason_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    requests(arg0: BigNumberish, overrides?: CallOverrides): Promise<[number, string, string, string, string, string] & {
        acceptData: string;
        creator: string;
        executor: string;
        misc: string;
        rejectData: string;
        status: number;
    }>;
    setDependencies(registryAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    setInjector(_injector: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    updateRequest(requestId_: BigNumberish, executor_: string, acceptData_: BytesLike, rejectData_: BytesLike, misc_: string, description_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
}

Type declaration

  • acceptRequest:function
    • Parameters

      • requestId_: BigNumberish
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<ContractTransaction>

  • createRequest:function
    • Parameters

      • executor_: string
      • acceptData_: BytesLike
      • rejectData_: BytesLike
      • misc_: string
      • description_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<ContractTransaction>

  • dropRequest:function
    • Parameters

      • requestId_: BigNumberish
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<ContractTransaction>

  • getInjector:function
  • nextRequestId:function
  • rejectRequest:function
    • Parameters

      • requestId_: BigNumberish
      • reason_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<ContractTransaction>

  • requests:function
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[number, string, string, string, string, string] & {
          acceptData: string;
          creator: string;
          executor: string;
          misc: string;
          rejectData: string;
          status: number;
      }>

  • setDependencies:function
    • Parameters

      • registryAddress_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<ContractTransaction>

  • setInjector:function
    • Parameters

      • _injector: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<ContractTransaction>

  • updateRequest:function
    • Parameters

      • requestId_: BigNumberish
      • executor_: string
      • acceptData_: BytesLike
      • rejectData_: BytesLike
      • misc_: string
      • description_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<ContractTransaction>

interface: ReviewableRequestsInterface
off: OnEvent<ReviewableRequests>
on: OnEvent<ReviewableRequests>
once: OnEvent<ReviewableRequests>
populateTransaction: {
    acceptRequest(requestId_: BigNumberish, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    createRequest(executor_: string, acceptData_: BytesLike, rejectData_: BytesLike, misc_: string, description_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    dropRequest(requestId_: BigNumberish, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    getInjector(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    nextRequestId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    rejectRequest(requestId_: BigNumberish, reason_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    requests(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    setDependencies(registryAddress_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    setInjector(_injector: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
    updateRequest(requestId_: BigNumberish, executor_: string, acceptData_: BytesLike, rejectData_: BytesLike, misc_: string, description_: string, overrides?: Overrides & {
        from?: string;
    }): Promise<PopulatedTransaction>;
}

Type declaration

  • acceptRequest:function
    • Parameters

      • requestId_: BigNumberish
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<PopulatedTransaction>

  • createRequest:function
    • Parameters

      • executor_: string
      • acceptData_: BytesLike
      • rejectData_: BytesLike
      • misc_: string
      • description_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<PopulatedTransaction>

  • dropRequest:function
    • Parameters

      • requestId_: BigNumberish
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<PopulatedTransaction>

  • getInjector:function
  • nextRequestId:function
  • rejectRequest:function
    • Parameters

      • requestId_: BigNumberish
      • reason_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<PopulatedTransaction>

  • requests:function
  • setDependencies:function
    • Parameters

      • registryAddress_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<PopulatedTransaction>

  • setInjector:function
    • Parameters

      • _injector: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<PopulatedTransaction>

  • updateRequest:function
    • Parameters

      • requestId_: BigNumberish
      • executor_: string
      • acceptData_: BytesLike
      • rejectData_: BytesLike
      • misc_: string
      • description_: string
      • Optional overrides: Overrides & {
            from?: string;
        }

      Returns Promise<PopulatedTransaction>

provider: Provider
removeListener: OnEvent<ReviewableRequests>
resolvedAddress: Promise<string>
signer: Signer

Methods

  • Parameters

    • runningEvent: RunningEvent

    Returns void

  • Parameters

    • Optional blockTag: BlockTag

    Returns Promise<Contract>

  • Parameters

    • runningEvent: RunningEvent
    • log: Log
    • listener: Listener

    Returns Event

  • Parameters

    • requestId_: BigNumberish
    • Optional overrides: Overrides & {
          from?: string;
      }

    Returns Promise<ContractTransaction>

  • Parameters

    • executor_: string
    • acceptData_: BytesLike
    • rejectData_: BytesLike
    • misc_: string
    • description_: string
    • Optional overrides: Overrides & {
          from?: string;
      }

    Returns Promise<ContractTransaction>

  • Parameters

    • requestId_: BigNumberish
    • Optional overrides: Overrides & {
          from?: string;
      }

    Returns Promise<ContractTransaction>

  • Parameters

    • eventName: string | EventFilter
    • Rest ...args: any[]

    Returns boolean

  • Parameters

    • Optional overrides: TransactionRequest

    Returns Promise<TransactionResponse>

  • Parameters

    • Optional eventName: string | EventFilter

    Returns number

  • Type Parameters

    • TEvent extends TypedEvent<any, any>

    Parameters

    • event: TypedEventFilter<TEvent>
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TEvent[]>

  • Parameters

    • requestId_: BigNumberish
    • reason_: string
    • Optional overrides: Overrides & {
          from?: string;
      }

    Returns Promise<ContractTransaction>

  • Parameters

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<[number, string, string, string, string, string] & {
        acceptData: string;
        creator: string;
        executor: string;
        misc: string;
        rejectData: string;
        status: number;
    }>

  • Parameters

    • registryAddress_: string
    • Optional overrides: Overrides & {
          from?: string;
      }

    Returns Promise<ContractTransaction>

  • Parameters

    • _injector: string
    • Optional overrides: Overrides & {
          from?: string;
      }

    Returns Promise<ContractTransaction>

  • Parameters

    • requestId_: BigNumberish
    • executor_: string
    • acceptData_: BytesLike
    • rejectData_: BytesLike
    • misc_: string
    • description_: string
    • Optional overrides: Overrides & {
          from?: string;
      }

    Returns Promise<ContractTransaction>

Generated using TypeDoc