ZivoeLocker.sol
Abstract Locker Contract
Introduction
This contract standardizes communication between the DAO and lockers.
Note: This is an abstract contract and is inherited by Lockers, see Lockers
Sections
canPush() - Permission for calling
pushToLocker()
.canPull() - Permission for calling
pullFromLocker()
.canPullPartial() - Permission for calling
pullFromLockerPartial()
.canPushMulti() - Permission for calling
pushToLockerMulti()
.canPullMulti() - Permission for calling
pullFromLockerMulti()
.canPullMultiPartial() - Permission for calling
pullFromLockerMultiPartial()
.canPushERC721() - Permission for calling
pushFromLockerERC721()
.canPullERC721() - Permission for calling
pullFromLockerERC721()
.canPushMultiERC721() - Permission for calling
pushFromLockerMultiERC721()
.canPullMultiERC721() - Permission for calling
pullFromLockerMultiERC721()
.canPushERC1155() - Permission for calling
pushToLockerERC1155()
.canPullERC1155() - Permission for calling
pullFromLockerERC1155()
.
pushToLocker() - Migrates specific amount of ERC20 from owner() to locker.
pullFromLocker() - Migrates entire ERC20 balance from locker to owner().
pullFromLockerPartial() - Migrates specific amount of ERC20 from locker to owner().
pushToLockerMulti() - Migrates specific amounts of ERC20s from owner() to locker.
pullFromLockerMulti() - Migrates full amount of ERC20s from locker to owner().
pullFromLockerMultiPartial() - Migrates specific amounts of ERC20s from locker to owner().
pushToLockerERC721() - Migrates an ERC721 from owner() to locker.
pullFromLockerERC721() - Migrates an ERC721 from locker to owner().
pushToLockerMultiERC721() - Migrates ERC721s from owner() to locker.
pullFromLockerMultiERC721() - Migrates ERC721s from locker to owner().
pushToLockerERC1155() - Migrates ERC1155 assets from owner() to locker.
pullFromLockerERC1155() - Migrates ERC1155 assets from locker to owner().
Read Functions
canPush()
canPush()
Permission for calling pushToLocker()
.
canPull()
canPull()
Permission for calling pullFromLocker()
.
canPullPartial()
canPullPartial()
Permission for calling pullFromLockerPartial()
.
canPushMulti()
canPushMulti()
Permission for calling pushToLockerMulti()
.
canPullMulti()
canPullMulti()
Permission for calling pullFromLockerMulti()
.
canPullMultiPartial()
canPullMultiPartial()
Permission for calling pullFromLockerMultiPartial()
.
canPushERC721()
canPushERC721()
Permission for calling pushFromLockerERC721()
.
canPullERC721()
canPullERC721()
Permission for calling pullFromLockerERC721()
.
canPushMultiERC721()
canPushMultiERC721()
Permission for calling pushFromLockerMultiERC721()
.
canPullMultiERC721()
canPullMultiERC721()
Permission for calling pullFromLockerMultiERC721()
.
canPushERC1155()
canPushERC1155()
Permission for calling pushToLockerERC1155()
.
canPullERC1155()
canPullERC1155()
Permission for calling pullFromLockerERC1155()
.
Write Functions
pushToLocker()
pushToLocker()
Migrates specific amount of ERC20 from owner() to locker.
pullFromLocker()
pullFromLocker()
Migrates entire ERC20 balance from locker to owner().
pullFromLockerPartial()
pullFromLockerPartial()
Migrates specific amount of ERC20 from locker to owner().
pushToLockerMulti()
pushToLockerMulti()
Migrates specific amounts of ERC20s from owner() to locker.
pullFromLockerMulti()
pullFromLockerMulti()
Migrates full amount of ERC20s from locker to owner().
pullFromLockerMultiPartial()
pullFromLockerMultiPartial()
Migrates specific amounts of ERC20s from locker to owner().
pushToLockerERC721()
pushToLockerERC721()
Migrates an ERC721 from owner() to locker.
pullFromLockerERC721()
pullFromLockerERC721()
Migrates an ERC721 from locker to owner().
pushToLockerMultiERC721()
pushToLockerMultiERC721()
Migrates ERC721s from owner() to locker.
pullFromLockerMultiERC721()
pullFromLockerMultiERC721()
Migrates ERC721s from locker to owner().
pushToLockerERC1155()
pushToLockerERC1155()
Migrates ERC1155 assets from owner() to locker.
pullFromLockerERC1155()
pullFromLockerERC1155()
Migrates ERC1155 assets from locker to owner().
Last updated