npm install
npx oz compile --solc-version=0.6.4 --optimizer on
npx oz deploy
According to the doc, since the upgrade library is a semi-product, using the non-interactive Javscript script is not recommended.
node src/deploy.js
node src/initial.js
npm test (without compiling)
or
oz compile && mocha --exit --recursive test
or specify the test file
npx mocha --exit test/Exponential.test.js
npx oz upgrade
According to this post, there seems no better way to do this than using CLI.
BANK_CONTROLLER:
BANK:
FETH:
FHBTC:
FWBTC:
FUSDT:
FUSDC:
FBUSD:
FHUSD:
FDAI:
FFOR:
FBNB:
FHT:
FOKB:
FYUSD:
FYWETH:
FQC:
FYFII:
FNEST:
FARPA:
FYFI:
FMKR:
FLINK:
FUNI:
FLRC:
FLEND:
FSNX:
FHBCH:
FHDOT:
FHFIL:
FAAVE:
FQUSD:
FBINANCE_BTC:
FBINANCE_DOT:
FOBTC:
BANK_CONTROLLER_V3_STABLE:
BANK_V3_STABLE:
SFETH:
SFWBTC:
SFHBTC:
SFUSDT:
SFUSDC:
SFDAI:
BANK_CONTROLLER:
BANK:
FUSDT:
FBUSD:
FDAI:
FETH:
FBNB:
FBTCB:
FBCH:
FLTC:
FXRP:
FDOT:
FLINK:
FONT:
FXTZ:
FEOS:
FFOR:
FYFII:
FZEC:
FCREAM:
FBAND:
FADA:
FATOM:
FFIL:
FQUSD:
FBETH:
FCAKE:
BANK_CONTROLLER_V3_STABLE:
BANK_V3_STABLE:
SFBTCB:
SFETH:
SFUSDT:
SFUSDC:
SFBUSD:
SFDAI: