-
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 #48 from OriumNetwork/feature--ON-843
ON-843: Deploy Nft Rental Marketplace Moonbeam
- Loading branch information
Showing
23 changed files
with
1,068 additions
and
763 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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,50 @@ | ||
{ | ||
"Multisig": { | ||
"address": "" | ||
}, | ||
"RolesRegistry": { | ||
"address": "" | ||
}, | ||
"SftRolesRegistrySingleRole": { | ||
"address": "" | ||
}, | ||
"KMSDeployer": { | ||
"address": "0x04c8c6c56dab836f8bd62cb6884371507e706806" | ||
}, | ||
"OriumMarketplace": { | ||
"address": "", | ||
"operator": "", | ||
"implementation": "", | ||
"proxyAdmin": "" | ||
}, | ||
"ImmutableOwnerCreate2Factory": { | ||
"address": "" | ||
}, | ||
"OriumMarketplaceRoyalties": { | ||
"address": "0x1FdB03ee7e0A861D0495075C1459ef87bC4de54c", | ||
"operator": "0x04c8c6c56dab836f8bd62cb6884371507e706806", | ||
"implementation": "0xeE485138ae7b0A50F2342c67675c6D0a3bd1d3ea", | ||
"proxyAdmin": "0xbee720D292d591cc94f522050cc2069070e3a15C" | ||
}, | ||
"OriumSftMarketplace": { | ||
"address": "", | ||
"operator": "", | ||
"implementation": "", | ||
"proxyAdmin": "", | ||
"libraries": [ | ||
"" | ||
] | ||
}, | ||
"ERC7432WrapperForERC4907": { | ||
"address": "0xc3154ccac181eb9d71ccd53f29f425bddd52d983" | ||
}, | ||
"NftRentalMarketplace": { | ||
"address": "0x201E1636BB21Dfd51F93815BCD008EAe2Fa29bD9", | ||
"operator": "0x04c8c6c56dab836f8bd62cb6884371507e706806", | ||
"implementation": "0x1112949A242A0283c2170b9F28931ccBE8878d18", | ||
"proxyAdmin": "0x668e73cF24361cfE13801681d8885e6632A7Eaa6", | ||
"libraries": { | ||
"LibNftRentalMarketplace": "0x037c0ae89bAE6d86476074CE3ef4F235467B1B79" | ||
} | ||
} | ||
} |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,23 @@ | ||
import { network } from 'hardhat' | ||
import { print, colors } from '../../utils/misc' | ||
import addresses, { Network } from '../../addresses' | ||
import { deployUpgradeableContract } from '../../utils/deploy-upgradeable' | ||
|
||
const NETWORK = network.name as Network | ||
const PROXY_CONTRACT_NAME = 'NftRentalMarketplace' | ||
const OPERATOR_ADDRESS = addresses[NETWORK].KMSDeployer.address | ||
const INITIALIZER_ARGUMENTS: string[] = [OPERATOR_ADDRESS, addresses[NETWORK].OriumMarketplaceRoyalties.address] | ||
const LIBRARIES_CONTRACT_NAME = ['LibNftRentalMarketplace'] | ||
|
||
async function main() { | ||
await deployUpgradeableContract(PROXY_CONTRACT_NAME, OPERATOR_ADDRESS, INITIALIZER_ARGUMENTS, LIBRARIES_CONTRACT_NAME) | ||
} | ||
|
||
main() | ||
.then(async () => { | ||
print(colors.bigSuccess, 'All done!') | ||
}) | ||
.catch(error => { | ||
console.error(error) | ||
process.exitCode = 1 | ||
}) |
Oops, something went wrong.