Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
Spex
copy icon
SPex
• version 1.0.0
FEVM
Storage
Deployable

Spex

SPex is a decentralized storage provider exchange space on FVM

*Visit desktop site to download or deploy

Version

1.0.0

Creator

SPex

Last Publish

3/17/2023
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
buyMiner(uint64) :
Buy the Miner, buyer pay for the price and target the buyer as new owner of the Miner in the contract and transfer the money to seller. - minerId: Miner ID
cancelList(uint64) :
Cancel the listed on sale Miner order - minerId: Miner ID
changePrice(uint64,uint256) :
Edit the price of listed Miner - minerId: Miner ID - newPrice: New sale price
confirmTransferMinerIntoSPex(uint64,bytes,uint256) :
Validate if it’s the true owner of the Miner that sign. If yes, accept the Miner and transfer it into the contract and internally record that the Miner belongs to the current message sender. - minerId: Miner ID - sign: Use the old owner adress to sign the content that the miner id already executed the Hex transformation.
getListMinerById(uint64) :
check owner info of the listed Miner via Miner ID - minerId: Miner ID
getOwnerById(uint64) :
Check owner info of the Miner via Miner ID - minerId: Miner ID
listMiner(uint64,uint256) :
Designate Miner & price and list the Miner on sale - minerId: Miner ID - price: Sale price

Get Cookin'
share iconShare

copy iconNo-Code Deploy
copy iconDownload Source
copy iconnpx cookbookdev i Spex
copy icon

Bytecode

Download

Verification

Download

Last Publish

3/17/2023

Solidity Compiler

v0.8.17+commit.8df45f5f

Version

1.0.0

Creator

SPex

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.