Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Commit

Permalink
feat(sdk): working permit
Browse files Browse the repository at this point in the history
  • Loading branch information
joeandrews committed Feb 25, 2020
1 parent 7741b90 commit 3b3cb75
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/extension/src/ui/apis/asset/depositWithPermit.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export default async function deposit({
erc20Amount.toString(),
signature,
nonce,
expiry,
],
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ contract IAccountRegistryBehaviour {
bytes calldata _proofData,
uint256 _value
) external;

function deposit(
address _registryOwner,
address _owner,
bytes32 _proofHash,
bytes memory _proofData,
uint256 _value,
bytes memory signature,
uint256 nonce
) external;

function publicApprove(address _registryOwner, bytes32 _proofHash, uint256 _value) external;

Expand Down

0 comments on commit 3b3cb75

Please sign in to comment.