UNPKG

@river-build/web3

Version:

Dapps for our Space and Registry contracts

11 lines 908 B
import { IRuleEntitlementV2 as LocalhostContract, IRuleEntitlementBase as LocalhostBase, IRuleEntitlementV2Interface as LocalhostInterface } from '@river-build/generated/dev/typings/IRuleEntitlement.sol/IRuleEntitlementV2'; import { BaseContractShim } from './BaseContractShim'; import { BigNumberish, ethers } from 'ethers'; import { EntitlementModuleType, EntitlementModule } from '../ContractTypes'; export declare class RuleEntitlementV2Shim extends BaseContractShim<LocalhostContract, LocalhostInterface> implements EntitlementModule { constructor(address: string, provider: ethers.providers.Provider | undefined); get moduleType(): EntitlementModuleType; getRoleEntitlement(roleId: BigNumberish): Promise<LocalhostBase.RuleDataV2Struct | null>; decodeGetRuleData(entitlementData: string): LocalhostBase.RuleDataV2Struct | undefined; } //# sourceMappingURL=RuleEntitlementV2Shim.d.ts.map