-
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.
Merge pull request #1 from dephy-io/feat/event
feat: events and acl
- Loading branch information
Showing
32 changed files
with
1,994 additions
and
108 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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
BASE_RPC_URL=https://base.rpc.subquery.network/public | ||
BASE_SEPOLIA_RPC_URL=https://base-sepolia-rpc.publicnode.com | ||
BASE_SEPOLIA_RPC_URL=https://base-sepolia.g.alchemy.com/v2/0ZS0OdXDqBpKt6wkusuFDyi0lLlTFRVf | ||
BNB_RPC_URL=https://binance.llamarpc.com | ||
BNB_TESTNET_RPC_URL=https://public.stackup.sh/api/v1/node/bsc-testnet | ||
|
||
PRIVATE_KEY= |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -13,4 +13,8 @@ docs/ | |
# Dotenv file | ||
.env | ||
|
||
dependencies/ | ||
dependencies/ | ||
|
||
node_modules | ||
|
||
bun.lockb |
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,6 @@ | ||
{ | ||
"BNBTestnet": { | ||
"AccessTokenFactory": "0x35a8483444947B2166Aa85837F97FaEf122f5ebb", | ||
"Marketplace": "0x647d77324E241709BaF63D7f96F0C19ecA06E2e0" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
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,40 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.24; | ||
|
||
import {IMarketplaceStructs} from "./IMarketplaceStructs.sol"; | ||
import {IMarketplaceEvents} from "./IMarketplaceEvents.sol"; | ||
|
||
interface IMarketplace is IMarketplaceStructs, IMarketplaceEvents { | ||
function getListingInfo( | ||
address accessToken, | ||
uint256 tokenId | ||
) external view returns (ListingInfo memory); | ||
|
||
function getRentalInfo( | ||
address accessToken, | ||
uint256 tokenId, | ||
address tenant | ||
) external view returns (RentalInfo memory); | ||
|
||
function setFeePoints(uint256 feePoints) external; | ||
|
||
function setTreasury(address payable treasury) external; | ||
|
||
function addRentCurrencies(address[] memory rentCurrencies) external; | ||
|
||
function removeRentCurrencies(address[] memory rentCurrencies) external; | ||
|
||
function list(ListArgs memory args) external; | ||
|
||
function delist(DelistArgs memory args) external; | ||
|
||
function relist(RelistArgs memory args) external; | ||
|
||
function rent(RentArgs memory args) external payable; | ||
|
||
function payRent(PayRentArgs memory args) external payable; | ||
|
||
function endLease(EndLeaseArgs memory args) external; | ||
|
||
function withdraw(WithdrawArgs memory args) external; | ||
} |
Oops, something went wrong.