Global Parameters
Token Market Parameters
updateAdmin - DevAddr
The owner can add/remove other administrators to/from the contract
createProtocol - Admin
This function adds a token market on your dRamp enabling it to mint or burn that token. You can only add approved tokens. The list of approved tokens is available on the page previous to this.
You can also attach a token from the collection attached to the dRamp to enable you to regain your admin privileges in the event you lose access to your wallet but still have the token. The collection address is the _ve parameter which is the last value returned by the getParams function
updateProtocol - Admin
This function updates parameters of a token market on your dRamp. You can use the _close parameter to close the token market.
deleteProtocol - Admin
This function the market associated to the specified token. This is only possible when the token market has burnt as many of the token as it has minted and there is not bounty currently associated with it
This function enables users to mint tokens from a token market. It's only callable by the dRamp's Admin or Payswap's Admin. The
withdraw - Admin
This withdraws available tokens from the dRamp.
updateIndividualProtocol - Anyone
This function updates parameters of a token market on a dRamp but can be called by anyone who owns to associated token id. You can use the _close parameter to close the token market.
This function enables users to burn tokens from a token market
claimPendingRevenue - Anyone
This function enables token market partners to claim their pending revenue on the token market
unlockBounty - Anyone
This function deattaches a bounty from a token market
checkIdentityProof - Anyone
This function checks that an identity token passes membership identity requirements on the associated channel/collection
updateBounty - Anyone
This function enables users to attach a bounty to a token market
addPartner - Anyone
This function enables users to partner with a token market and help it become overcollateralized which is necessary for it to become elligible to mint tokens
buyAccount - Anyone
This function enables users to purchase a token market
buyRamp - Anyone
This function enables users to purchase an entire dRamp. It requires its salePrice to be above 0 though.
updateProfile & updateDevTokenId & updateBadgeId & updateDevFromToken - Anyone
If the Owner needs to change the ownership of the contract, they can call this function.