Skip to content

Commit

Permalink
WIP: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-spencer committed Feb 8, 2024
1 parent 0e43738 commit 1cf2445
Show file tree
Hide file tree
Showing 6 changed files with 193 additions and 144 deletions.
1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ ignore-patterns=
.editorconfig,
.codespellrc,
.codespellignore,
^(.+).jpg,


ignore-paths=
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"mnem",
"OGMIOS",
"opshin",
"parameterizing",
"pkey",
"preprod",
"pycardano",
Expand Down
File renamed without changes.
15 changes: 12 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,23 @@ build-contract: ## Build the Oracle smart contract.
@cat build/contract/testnet.addr
@echo "";

lint-contract: ## Lint the smart contract
lint-contract: ## Lint the smart contract.
opshin lint spending contract.py

deploy-contract: ## Deploy the Oracle smart contract.
python 01.deploy.py

undeploy-contract: undeploy-contract ## Un-deploy the Oracle smart contract.
deposit-funds: ## Deposit funds to be claimed.
python 02.deposit.py

claim-funds: ## Claim the deposited funds.
python 03.claim.py

undeploy-contract: ## Un-deploy the Oracle smart contract.
python 04.undeploy.py

help: ## Print this help message
refund-deposit: ## Refund deposited funds.
python 05.refund.py

help: ## Print this help message.
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
Loading

0 comments on commit 1cf2445

Please sign in to comment.