Admin
Last updated
Was this helpful?
Last updated
Was this helpful?
The admin gets incentivized to maintain the data union by the admin fee parameter, a fraction of the incoming data union revenue. Admins have control over this fee parameter. Members agree to it by joining the data union. Previous earnings are not affected by changing the admin fee.
The data union smart contract inherits an that handles the ownership of the data union. The account that deploys the contract is the initial owner/admin of the contract.
The role can be reassigned to someone else or even performed by the members themselves via a DAO governed wallet.
1️⃣ Call
transferOwnership($newAddress)
2️⃣ Call
claimOwnership()
while your wallet is connected with the$newAddress
Store information about your data union in a JSON file on-chain inside the contract. For example you can store a DAO manifesto, a name or anything else you can think of.
Automate sending tokens to new members. The parameter stipendWei
determines how many tokens should get send to every new data union member.
The stipend will be paid by the contract balance in the native token (e.g. MATIC, xDAI or ETH).
Be careful with this. We highly recommend to carefully monitor who is joining the data union. An attacker could join with multiple wallets until the contract wallet is empty.
// coming soon