-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: address comments regarding distribute and withdraw flow in split…
…Wallet and warehouse
- Loading branch information
Showing
7 changed files
with
143 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity ^0.8.18; | ||
|
||
interface ISplitsWarehouse { | ||
import { IERC6909 } from "./IERC6909.sol"; | ||
|
||
interface ISplitsWarehouse is IERC6909 { | ||
function NATIVE_TOKEN() external view returns (address); | ||
|
||
function deposit(address _owner, address _token, uint256 _amount) external payable; | ||
|
||
function batchTransfer(address _token, address[] memory _recipients, uint256[] memory _amounts) external; | ||
|
||
function withdraw(address _owner, address _token, uint256 _amount) external; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.