@pear-protocol/symmio-client 0.1.9 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/react/index.d.mts +27 -4
- package/dist/react/index.d.ts +27 -4
- package/dist/react/index.js +144 -44
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +144 -46
- package/dist/react/index.mjs.map +1 -1
- package/package.json +4 -1
package/dist/index.js
CHANGED
|
@@ -24069,11 +24069,11 @@ function prepareGrantRole(symmioDiamond, account, role, grantee) {
|
|
|
24069
24069
|
const data = viem.encodeFunctionData({
|
|
24070
24070
|
abi: SymmioDiamondABI,
|
|
24071
24071
|
functionName: "grantRole",
|
|
24072
|
-
args: [
|
|
24072
|
+
args: [grantee, role]
|
|
24073
24073
|
});
|
|
24074
24074
|
return {
|
|
24075
24075
|
functionName: "grantRole",
|
|
24076
|
-
args: [
|
|
24076
|
+
args: [grantee, role],
|
|
24077
24077
|
config: { account, to: symmioDiamond, data, value: 0n }
|
|
24078
24078
|
};
|
|
24079
24079
|
}
|
|
@@ -24082,11 +24082,11 @@ function prepareRevokeRole(symmioDiamond, account, role, revokee) {
|
|
|
24082
24082
|
const data = viem.encodeFunctionData({
|
|
24083
24083
|
abi: SymmioDiamondABI,
|
|
24084
24084
|
functionName: "revokeRole",
|
|
24085
|
-
args: [
|
|
24085
|
+
args: [revokee, role]
|
|
24086
24086
|
});
|
|
24087
24087
|
return {
|
|
24088
24088
|
functionName: "revokeRole",
|
|
24089
|
-
args: [
|
|
24089
|
+
args: [revokee, role],
|
|
24090
24090
|
config: { account, to: symmioDiamond, data, value: 0n }
|
|
24091
24091
|
};
|
|
24092
24092
|
}
|