Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to run contracts in remix. got Error in SuperRareMarketAuctionV2.sol (setSale rice Error). #10

Open
AliWisam opened this issue Mar 9, 2021 · 0 comments

Comments

@AliWisam
Copy link

AliWisam commented Mar 9, 2021

Hi, I am trying to run superrare smart contracts in Remix but I got errors. /
I found superrare.sol contract from this repo that is in 0.4.18 and on etherscan, after this I found superrareV2.sol. The superrarev2.sol is not managing Primary and secondary Fees for Art Owners and on this contract, users are doing transactions.
After that, I think there should be some other contracts managing this smart contract. So, I ran thoroughly through this repo and got MarketSettings.sol and SuperRareTokenCreatorRegistry.sol(in the parameter I passed msg.sender account address). After these I deploy SuperRareMarketAuctionV2.sol(MarketSettings.sol contract Address and SuperRareTokenCreatorRegistery contract address).
I gave marketplace permission to the contract owner address and then set primary fee to superrarev2 contract(trxs success), after this when I call setSalePrice function to set the sale price of any token in the superrare contract, it gave me the error: owner must have approved contract. If I am doing any mistakes please correct me and tell me the complete process of running contracts in the remix.
I think all smart contracts are not in the repo and if the superrareV2 manager is not in the repo, please provide me that.

  1. SuperrareV2 deployed first
  2. MarketSettings. sol
  3. SuperRareTokenCreatorRegistry([msg.sender])
    4.SuperRareMarketAuctionV2(MarketSettings,SuperRareTokenCreatorRegistry)

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant