Closed polarker closed 1 year ago
I reviewed the contracts, LGTM, only one minor question, do we need to add a withdraw function to the NFTMarketPlace contract?
withdraw
NFTMarketPlace
@using(assetsInContract = true) pub fn withdraw(to: Address, amount: U256) -> () { checkCaller!(callerAddress!() == admin, ErrorCodes.AdminAllowedOnly) transferTokenFromSelf!(to, ALPH, amount) }
Sounds good :+1:
I reviewed the contracts, LGTM, only one minor question, do we need to add a
withdraw
function to theNFTMarketPlace
contract?