@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 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: [role, grantee]
24072
+ args: [grantee, role]
24073
24073
  });
24074
24074
  return {
24075
24075
  functionName: "grantRole",
24076
- args: [role, grantee],
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: [role, revokee]
24085
+ args: [revokee, role]
24086
24086
  });
24087
24087
  return {
24088
24088
  functionName: "revokeRole",
24089
- args: [role, revokee],
24089
+ args: [revokee, role],
24090
24090
  config: { account, to: symmioDiamond, data, value: 0n }
24091
24091
  };
24092
24092
  }