UNPKG

@river-build/web3

Version:

Dapps for our Space and Registry contracts

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