Comment on page
Owner and Address Keys
Agent smart contracts have 2 important keys - the
operatorare inspired by the Filecoin Miner Actor's
workerkeys. Only the Storage Provider should have access to these keys, and it's important to keep them private and safe.
- 1.Owner - Has executive priviledges to borrow funds, withdraw funds from the Agent, and remove Miner Actors from the Agent. The
ownercan also change the
owneris usually held by an SP's management, since it is the only key that can actually move equity in and out of the Agent.
- 2.Operator - Can operate the Agent by making payments, changing worker addresses on any of the Agent's Miner Actors, and move funds to & from the Agent to any of its Miner Actors.
The Agent has an Owner and an Operator, which the Storage Provider keeps secret
Similar to how owner keys on the Filecoin Miner Actor are changed, changing an Agent's owner or operator is a two step process:
- 1.The current owner/operator proposes an ownership change, supplying the new owner/operator address to takeover the role
- 2.The proposed owner/operator accepts the ownership change
This handshake process is a more secure way to ensure owner and operator keys are not accidentally given to the wrong address.
The Agent's owner can also be another smart contract, which opens the door for new primitives to be built on top of the Agent architecture. Entirely new DeFi protocols will exist on top of Agents, and Storage Providers will eventually be able to install Agent plugins and wrappers, enabling them to tap into new DeFi services on Filecoin.