Skip to content

This smart contract protocol attempts to build a decentralized company, describing human collaboration relationships through smart contracts, incorporating value production into the blockchain, and facilitating the deconstruction, splitting, and decentralization of the company.

Notifications You must be signed in to change notification settings

clock015/Creator-Market

Repository files navigation

Creator-Market

This smart contract protocol builds a decentralized company model that allows for investing in the real world by investing in creators. Since every node in the system can be invested in and can grow, this model is inherently decentralized and divisible, greatly enhancing investment efficiency.

Build a decentralized version of Patreon, Steam, and YouTube.

Smart Contract Image:

Creator-Market

smart contract usage:

clone folder "contracts" to Remix

deploy contract MyToken

deploy contract Vesting4626

owner_ = test wallet (0x5B38Da6a701c568545dCfcB03FcB875f56beddC4)

token_ = contract MyToken address

deposit:

call MyToken.approve, spender = contract Vesting4626 address, value = 1e20

call Vesting4626.deposit, assets = 1e18, receiver = test wallet (0x5B38Da6a701c568545dCfcB03FcB875f56beddC4)

update salary:

call Vesting4626.updateSalary, creator_ = test wallet (0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2), amount = 1e18

call Vesting4626.finishUpdate, creator_ = test wallet (0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2)

TODO:

    • permit
    • Math
    • front-end

About

This smart contract protocol attempts to build a decentralized company, describing human collaboration relationships through smart contracts, incorporating value production into the blockchain, and facilitating the deconstruction, splitting, and decentralization of the company.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published