forked from EthereansOS/Organizations-Core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Massive use of Proxy Delegates for reading, ERC721 Wallet, multiple o…
…neTime Proposals and best Proposal Error Catching
- Loading branch information
Showing
14 changed files
with
407 additions
and
222 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
pragma solidity ^0.6.0; | ||
|
||
interface IERC721 { | ||
function ownerOf(uint256 _tokenId) external view returns (address); | ||
function transferFrom(address _from, address _to, uint256 _tokenId) external payable; | ||
function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pragma solidity ^0.6.0; | ||
|
||
interface IERC721Receiver { | ||
function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); | ||
} |
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
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
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
pragma solidity ^0.6.0; | ||
|
||
interface IMVDWallet { | ||
|
||
function getProxy() external view returns (address); | ||
|
||
function setProxy() external; | ||
|
||
function setNewWallet(address payable newWallet, address tokenAddress) external; | ||
|
||
function transfer(address receiver, uint256 value, address tokenAddress) external; | ||
|
||
function transfer(address receiver, uint256 tokenId, bytes calldata data, bool safe, address token) external; | ||
|
||
function flushToNewWallet(address token) external; | ||
|
||
function flush721ToNewWallet(uint256 tokenId, bytes calldata data, bool safe, address tokenAddress) 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
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.