Papyrus
Papyrus is an ONFT1155 contract that's a 1-n NFT and can be transferred across chains.
Overview
Papyrus
is an ONFT1155
contract that's a 1-n NFT and can be transferred across chains. It's basically SBT
so can't be transferred to another wallet by the owner. It can be transferred to same wallet address on another chain or by an authorized transferrer
(e.g. Obelisk
) to another wallet.
Buying a Papyrus
A papyrus is needed for staking 1 NFT when entering a draw in Obelisk. To get papyrus NFTs, you can call buy()
with _quantity * price
ETH. FYI, price
can be updated by owner
.
The amount paid is transferred to treasury
, which can also be updated by owner
.
Sending Across Chain
Papyrus NFTs can be sent across chain via sendFrom()
or sendBatchFrom()
. For more information on how ONFT1155 works, refer to https://layerzero.gitbook.io/docs/evm-guides/code-examples/onft-overview/1155.
Functions
Last updated