ZivoeDAO.sol
DAO -> Decentralized Autonomous Organization
Last updated
DAO -> Decentralized Autonomous Organization
Last updated
Zivoe Finance - Official Documentation
This contract escrows assets for the Zivoe protocol and is governed by TimelockController (effectively $ZVE Governance).
This contract has the following responsibilities:
Push assets (ERC20, ERC721, ERC1155) to a locker.
Pull assets (ERC20, ERC721, ERC1155) from a locker.
Enforce a whitelist of "lockers" (ZivoeLockers).
push() - Pushes an ERC20 token from ZivoeDAO to locker.
pull() - Pulls ERC20 from locker to ZivoeDAO.
pullPartial() - Pulls specific amount of ERC20 from locker to ZivoeDAO.
pushMulti() - Pushes ERC20(s) from locker to ZivoeDAO.
pullMulti() - Pulls ERC20(s) from locker to ZivoeDAO.
pullMultiPartial() - Pulls specific amount(s) of ERC20(s) from locker to ZivoeDAO.
pushERC721() - Pushes an NFT from ZivoeDAO to locker.
pushMultiERC721() - Pushes NFT(s) from ZivoeDAO to locker.
pullERC721() - Pulls an NFT from locker to ZivoeDAO.
pushMultiERC721() - Pulls NFT(s) from locker to ZivoeDAO.
pushERC1155() - Pushes ERC1155 assets from ZivoeDAO to locker.
pullERC1155() - Pulls ERC1155 assets from locker to ZivoeDAO.
push()
Pushes an ERC20 token from ZivoeDAO to locker.
Emits the Pushed() event
pull()
Pulls ERC20 from locker to ZivoeDAO.
Emits the Pulled() event
pullPartial()
Pulls specific amount of ERC20 from locker to ZivoeDAO.
Emits the PulledPartial() event
pushMulti()
Pushes ERC20(s) from locker to ZivoeDAO.
Emits the Pushed() event (multiple times)
pullMulti()
Pulls ERC20(s) from locker to ZivoeDAO.
Emits the Pulled() event (multiple times)
pullMultiPartial()
Pulls specific amount(s) of ERC20(s) from locker to ZivoeDAO.
Emits the PulledPartial() event (multiple times)
pushERC721()
Pushes an NFT from ZivoeDAO to locker.
Emits the PushedERC721()
pushMultiERC721()
Pushes NFT(s) from ZivoeDAO to locker.
Emits the PushedERC721() event (multiple times)
pullERC721()
Pulls an NFT from locker to ZivoeDAO.
Emits the PulledERC721()
pullMultiERC721()
Pulls NFT(s) from locker to ZivoeDAO.
Emits the PulledERC721() event (multiple times)
pushERC1155()
Pushes ERC1155 assets from ZivoeDAO to locker.
Emits the PushedERC1155() event
pullERC1155()
Pulls ERC1155 assets from locker to ZivoeDAO.
Emits the PulledERC1155() event
Pushed()
Emitted during push() and pushMulti()
Pulled()
Emitted during pull() and pullMulti()
PulledPartial()
Emitted during pullPartial() and pullMultiPartial()
PushedERC721()
Emitted during pushERC721() and pushMultiERC721()
PulledERC721()
Emitted during pullERC721() and pullMultiERC721()
PushedERC1155()
Emitted during pushERC1155()
PulledERC1155()
Emitted during pullERC1155()
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Indexed | Name | Description |
---|---|---|---|
Type | Indexed | Name | Description |
---|---|---|---|
Type | Indexed | Name | Description |
---|---|---|---|
Type | Indexed | Name | Description |
---|---|---|---|
Type | Indexed | Name | Description |
---|---|---|---|
Type | Indexed | Name | Description |
---|---|---|---|
Type | Indexed | Name | Description |
---|---|---|---|