Hierarchy

  • MasterAccessManagement__factory

Constructors

Properties

Methods

Constructors

Properties

abi: readonly [{
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "string";
        name: "role";
        type: "string";
    }, {
        indexed: false;
        internalType: "string";
        name: "resource";
        type: "string";
    }, {
        indexed: false;
        internalType: "string[]";
        name: "permissionsToAdd";
        type: "string[]";
    }, {
        indexed: false;
        internalType: "bool";
        name: "allowed";
        type: "bool";
    }];
    name: "AddedPermissions";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "string";
        name: "role";
        type: "string";
    }, {
        indexed: false;
        internalType: "string";
        name: "description";
        type: "string";
    }];
    name: "AddedRoleWithDescription";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "address";
        name: "to";
        type: "address";
    }, {
        indexed: false;
        internalType: "string[]";
        name: "rolesToGrant";
        type: "string[]";
    }];
    name: "GrantedRoles";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "string";
        name: "role";
        type: "string";
    }, {
        indexed: false;
        internalType: "string";
        name: "resource";
        type: "string";
    }, {
        indexed: false;
        internalType: "string[]";
        name: "permissionsToRemove";
        type: "string[]";
    }, {
        indexed: false;
        internalType: "bool";
        name: "allowed";
        type: "bool";
    }];
    name: "RemovedPermissions";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: false;
        internalType: "address";
        name: "from";
        type: "address";
    }, {
        indexed: false;
        internalType: "string[]";
        name: "rolesToRevoke";
        type: "string[]";
    }];
    name: "RevokedRoles";
    type: "event";
}, {
    inputs: readonly [];
    name: "ALL_PERMISSION";
    outputs: readonly [{
        internalType: "string";
        name: "";
        type: "string";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "ALL_RESOURCE";
    outputs: readonly [{
        internalType: "string";
        name: "";
        type: "string";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "CONSTANTS_REGISTRY_RESOURCE";
    outputs: readonly [{
        internalType: "string";
        name: "";
        type: "string";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "CREATE_PERMISSION";
    outputs: readonly [{
        internalType: "string";
        name: "";
        type: "string";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "DELETE_PERMISSION";
    outputs: readonly [{
        internalType: "string";
        name: "";
        type: "string";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "EXECUTE_PERMISSION";
    outputs: readonly [{
        internalType: "string";
        name: "";
        type: "string";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "MASTER_REGISTRY_RESOURCE";
    outputs: readonly [{
        internalType: "string";
        name: "";
        type: "string";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "MASTER_ROLE";
    outputs: readonly [{
        internalType: "string";
        name: "";
        type: "string";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "RBAC_RESOURCE";
    outputs: readonly [{
        internalType: "string";
        name: "";
        type: "string";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "READ_PERMISSION";
    outputs: readonly [{
        internalType: "string";
        name: "";
        type: "string";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "REVIEWABLE_REQUESTS_RESOURCE";
    outputs: readonly [{
        internalType: "string";
        name: "";
        type: "string";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "UPDATE_PERMISSION";
    outputs: readonly [{
        internalType: "string";
        name: "";
        type: "string";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "master_";
        type: "address";
    }];
    name: "__MasterAccessManagement_init";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "string";
        name: "role_";
        type: "string";
    }, {
        internalType: "string";
        name: "description_";
        type: "string";
    }, {
        components: readonly [{
            internalType: "string";
            name: "resource";
            type: "string";
        }, {
            internalType: "string[]";
            name: "permissions";
            type: "string[]";
        }];
        internalType: "struct IRBAC.ResourceWithPermissions[]";
        name: "allowed_";
        type: "tuple[]";
    }, {
        components: readonly [{
            internalType: "string";
            name: "resource";
            type: "string";
        }, {
            internalType: "string[]";
            name: "permissions";
            type: "string[]";
        }];
        internalType: "struct IRBAC.ResourceWithPermissions[]";
        name: "disallowed_";
        type: "tuple[]";
    }];
    name: "addCombinedPermissionsToRole";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "string";
        name: "role";
        type: "string";
    }, {
        components: readonly [{
            internalType: "string";
            name: "resource";
            type: "string";
        }, {
            internalType: "string[]";
            name: "permissions";
            type: "string[]";
        }];
        internalType: "struct IRBAC.ResourceWithPermissions[]";
        name: "permissionsToAdd";
        type: "tuple[]";
    }, {
        internalType: "bool";
        name: "allowed";
        type: "bool";
    }];
    name: "addPermissionsToRole";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "string";
        name: "role";
        type: "string";
    }];
    name: "getRolePermissions";
    outputs: readonly [{
        components: readonly [{
            internalType: "string";
            name: "resource";
            type: "string";
        }, {
            internalType: "string[]";
            name: "permissions";
            type: "string[]";
        }];
        internalType: "struct IRBAC.ResourceWithPermissions[]";
        name: "allowed";
        type: "tuple[]";
    }, {
        components: readonly [{
            internalType: "string";
            name: "resource";
            type: "string";
        }, {
            internalType: "string[]";
            name: "permissions";
            type: "string[]";
        }];
        internalType: "struct IRBAC.ResourceWithPermissions[]";
        name: "disallowed";
        type: "tuple[]";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "who";
        type: "address";
    }];
    name: "getUserRoles";
    outputs: readonly [{
        internalType: "string[]";
        name: "roles";
        type: "string[]";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "to";
        type: "address";
    }, {
        internalType: "string[]";
        name: "rolesToGrant";
        type: "string[]";
    }];
    name: "grantRoles";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "account_";
        type: "address";
    }];
    name: "hasConstantsRegistryCreatePermission";
    outputs: readonly [{
        internalType: "bool";
        name: "";
        type: "bool";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "account_";
        type: "address";
    }];
    name: "hasConstantsRegistryDeletePermission";
    outputs: readonly [{
        internalType: "bool";
        name: "";
        type: "bool";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "account_";
        type: "address";
    }];
    name: "hasMasterContractsRegistryCreatePermission";
    outputs: readonly [{
        internalType: "bool";
        name: "";
        type: "bool";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "account_";
        type: "address";
    }];
    name: "hasMasterContractsRegistryDeletePermission";
    outputs: readonly [{
        internalType: "bool";
        name: "";
        type: "bool";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "account_";
        type: "address";
    }];
    name: "hasMasterContractsRegistryUpdatePermission";
    outputs: readonly [{
        internalType: "bool";
        name: "";
        type: "bool";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "who";
        type: "address";
    }, {
        internalType: "string";
        name: "resource";
        type: "string";
    }, {
        internalType: "string";
        name: "permission";
        type: "string";
    }];
    name: "hasPermission";
    outputs: readonly [{
        internalType: "bool";
        name: "";
        type: "bool";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "account_";
        type: "address";
    }];
    name: "hasReviewableRequestsCreatePermission";
    outputs: readonly [{
        internalType: "bool";
        name: "";
        type: "bool";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "account_";
        type: "address";
    }];
    name: "hasReviewableRequestsDeletePermission";
    outputs: readonly [{
        internalType: "bool";
        name: "";
        type: "bool";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "account_";
        type: "address";
    }];
    name: "hasReviewableRequestsExecutePermission";
    outputs: readonly [{
        internalType: "bool";
        name: "";
        type: "bool";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "string";
        name: "role_";
        type: "string";
    }, {
        components: readonly [{
            internalType: "string";
            name: "resource";
            type: "string";
        }, {
            internalType: "string[]";
            name: "permissions";
            type: "string[]";
        }];
        internalType: "struct IRBAC.ResourceWithPermissions[]";
        name: "allowed_";
        type: "tuple[]";
    }, {
        components: readonly [{
            internalType: "string";
            name: "resource";
            type: "string";
        }, {
            internalType: "string[]";
            name: "permissions";
            type: "string[]";
        }];
        internalType: "struct IRBAC.ResourceWithPermissions[]";
        name: "disallowed_";
        type: "tuple[]";
    }];
    name: "removeCombinedPermissionsFromRole";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "string";
        name: "role";
        type: "string";
    }, {
        components: readonly [{
            internalType: "string";
            name: "resource";
            type: "string";
        }, {
            internalType: "string[]";
            name: "permissions";
            type: "string[]";
        }];
        internalType: "struct IRBAC.ResourceWithPermissions[]";
        name: "permissionsToRemove";
        type: "tuple[]";
    }, {
        internalType: "bool";
        name: "allowed";
        type: "bool";
    }];
    name: "removePermissionsFromRole";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "from";
        type: "address";
    }, {
        internalType: "string[]";
        name: "rolesToRevoke";
        type: "string[]";
    }];
    name: "revokeRoles";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "string";
        name: "role_";
        type: "string";
    }, {
        internalType: "string";
        name: "description_";
        type: "string";
    }, {
        components: readonly [{
            internalType: "string";
            name: "resource";
            type: "string";
        }, {
            internalType: "string[]";
            name: "permissions";
            type: "string[]";
        }];
        internalType: "struct IRBAC.ResourceWithPermissions[]";
        name: "allowedToRemove_";
        type: "tuple[]";
    }, {
        components: readonly [{
            internalType: "string";
            name: "resource";
            type: "string";
        }, {
            internalType: "string[]";
            name: "permissions";
            type: "string[]";
        }];
        internalType: "struct IRBAC.ResourceWithPermissions[]";
        name: "disallowedToRemove_";
        type: "tuple[]";
    }, {
        components: readonly [{
            internalType: "string";
            name: "resource";
            type: "string";
        }, {
            internalType: "string[]";
            name: "permissions";
            type: "string[]";
        }];
        internalType: "struct IRBAC.ResourceWithPermissions[]";
        name: "allowedToAdd_";
        type: "tuple[]";
    }, {
        components: readonly [{
            internalType: "string";
            name: "resource";
            type: "string";
        }, {
            internalType: "string[]";
            name: "permissions";
            type: "string[]";
        }];
        internalType: "struct IRBAC.ResourceWithPermissions[]";
        name: "disallowedToAdd_";
        type: "tuple[]";
    }];
    name: "updateRolePermissions";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "user_";
        type: "address";
    }, {
        internalType: "string[]";
        name: "rolesToRevoke_";
        type: "string[]";
    }, {
        internalType: "string[]";
        name: "rolesToGrant_";
        type: "string[]";
    }];
    name: "updateUserRoles";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}] = _abi

Methods

Generated using TypeDoc