@q-dev/q-ts-gdk-sdk
Version:
Typescript Library to interact with GDK Contracts
189 lines (188 loc) • 3.64 kB
JSON
[
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "who",
"type": "address"
},
{
"indexed": false,
"internalType": "string[]",
"name": "groupsToAddTo",
"type": "string[]"
}
],
"name": "AddedToGroups",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "string",
"name": "groupTo",
"type": "string"
},
{
"indexed": false,
"internalType": "string[]",
"name": "rolesToGrant",
"type": "string[]"
}
],
"name": "GrantedGroupRoles",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "who",
"type": "address"
},
{
"indexed": false,
"internalType": "string[]",
"name": "groupsToRemoveFrom",
"type": "string[]"
}
],
"name": "RemovedFromGroups",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "string",
"name": "groupFrom",
"type": "string"
},
{
"indexed": false,
"internalType": "string[]",
"name": "rolesToRevoke",
"type": "string[]"
}
],
"name": "RevokedGroupRoles",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "who_",
"type": "address"
},
{
"internalType": "string[]",
"name": "groupsToAddTo_",
"type": "string[]"
}
],
"name": "addUserToGroups",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "group_",
"type": "string"
}
],
"name": "getGroupRoles",
"outputs": [
{
"internalType": "string[]",
"name": "roles_",
"type": "string[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "who_",
"type": "address"
}
],
"name": "getUserGroups",
"outputs": [
{
"internalType": "string[]",
"name": "groups_",
"type": "string[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "groupTo_",
"type": "string"
},
{
"internalType": "string[]",
"name": "rolesToGrant_",
"type": "string[]"
}
],
"name": "grantGroupRoles",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "who_",
"type": "address"
},
{
"internalType": "string[]",
"name": "groupsToRemoveFrom_",
"type": "string[]"
}
],
"name": "removeUserFromGroups",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "groupFrom_",
"type": "string"
},
{
"internalType": "string[]",
"name": "rolesToRevoke_",
"type": "string[]"
}
],
"name": "revokeGroupRoles",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]