Skip to content

Commit

Permalink
fix: readme + wasm files
Browse files Browse the repository at this point in the history
  • Loading branch information
PFC-developer committed May 10, 2023
1 parent 18a2ca4 commit e30cd17
Show file tree
Hide file tree
Showing 10 changed files with 100 additions and 5 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# WARNING
v0.2.1 has been [audited](https://github.com/SCV-Security/PublicReports/blob/main/CW/NFTswitch/NFTswitch%20-%20Fee%20Split%20Contract%20Audit%20Report%201.0.pdf)
you should still exercise caution, and do your own research.
* v0.2.9 has been [audited](https://github.com/SCV-Security/PublicReports/blob/a2d955cac6398f78a3cd067a04bda147ec7ba5c3/CW%2FPFC%2FPFC%20-%20Steak%20%26%20Fee%20Split%20-%20Audit%20Report%20v1.0.pdf
) and remediations have been applied (in 0.2.10 tag). Please pay careful attention to which contracts were audited, as 'dust-collector' were not, and are still considered unstable.

* v0.2.1 has been [audited](https://github.com/SCV-Security/PublicReports/blob/main/CW/NFTswitch/NFTswitch%20-%20Fee%20Split%20Contract%20Audit%20Report%201.0.pdf)


*you should still exercise caution, and do your own research. no warranty is given or implied*


# PFC-Fee-Splitter protocol contracts

Expand Down
6 changes: 3 additions & 3 deletions artifacts/checksums.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
48d046d96caca8d77b86555c2c66cafd8e7e6bf0be2e8fab4c1c3d1bc6baa03a pfc_astroport_generator.wasm
f2f8eb71924c41f8619490af695f673cf69e0388e56c42be2d30e10df42e4e81 pfc_fee_splitter.wasm
bdb715dc114b7a9fff00629ece677af4a6adfe3d581aa65fb5f251e0cee00b61 pfc_vault_contract.wasm
251182c942d9f04ed984b548ac5f94b9ade1019933bdbb0e6abc1f22e3edb33d pfc_astroport_generator.wasm
4faf9c13b7ad0a2407065f8c5ae00a40e427624b508b955e41cff26599f5c7be pfc_fee_splitter.wasm
c49f1bf9a10f24d58b14ecd956d47db9ef59277b12895c936fea3d5389d7cee2 pfc_vault_contract.wasm
Binary file modified artifacts/pfc_astroport_generator.wasm
100755 → 100644
Binary file not shown.
Binary file modified artifacts/pfc_fee_splitter.wasm
Binary file not shown.
Binary file modified artifacts/pfc_vault_contract.wasm
100755 → 100644
Binary file not shown.
16 changes: 16 additions & 0 deletions notes_chihuahua.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

# chihuahuad
chihuahuad tx wasm store ./artifacts/pfc_fee_splitter.wasm --from bone-luna --yes --gas-prices 1uhuahua --gas-adjustment 1.7 --gas auto
# 274
json=$(cat ./test_files/chihuahua_instantiate_feesplit.json)
chihuahuad tx wasm instantiate 274 "${json}" --admin chihuahua1lu92zj8q6cmrptu09rp3343x9969r9qr7qmaf8 --label pfc-fee-split --from bone-luna --gas-prices 1uhuahua --gas-adjustment 1.7 --gas 324601
# "chihuahua1dhlrnqrpafcynx2w3mmveasv7rcmjhx0gsr7k740yx8x4q833vcq7tzlr4"



chihuahuad tx wasm migrate chihuahua1dhlrnqrpafcynx2w3mmveasv7rcmjhx0gsr7k740yx8x4q833vcq7tzlr4 834 '{}' --from bone-luna --gas-prices 1uhuahua --gas-adjustment 1.7 --gas auto
add_alloc=$(cat ./test_files/add_allocation_phoenix_vault.json)
migalood tx wasm exec migaloo1d6k8pahenpmx4spwfpf80zealtecfv7v0n7v49rxeu4lpzgzhrwq4wmhkr "${add_alloc}" --from testadmin --gas-prices 0.025ustars --gas-adjustment 1.7 --gas auto
migalood tx wasm exec migaloo1d6k8pahenpmx4spwfpf80zealtecfv7v0n7v49rxeu4lpzgzhrwq4wmhkr '{"reconcile":{}}' --from testadmin --gas-prices 0.025ustars --gas-adjustment 1.7 --gas auto --node https://narwhal-rpc.dalnim.finance:443 --chain-id narwhal-1

chihuahuad query wasm cs smart chihuahua1dhlrnqrpafcynx2w3mmveasv7rcmjhx0gsr7k740yx8x4q833vcq7tzlr4 '{"allocations":{}}'
20 changes: 20 additions & 0 deletions notes_inj.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

# INJ
injectived tx wasm store ./artifacts/pfc_fee_splitter.wasm --from bone-luna --yes --gas-prices 700000000inj --gas-adjustment 1.7 --gas auto
# inj-888
# 539
json=$(cat ./test_files/inj_instantiate_feesplit.json)
injectived tx wasm instantiate 539 "${json}" --admin inj1d3yya2s4cejxfe5et9djq38qgtvlsmn9nqjeu9 --label pfc-fee-split --from bone-luna --gas-prices 700000000inj --gas-adjustment 1.7 --gas auto

# inj1z7s6eqeql5r23gptjrfhvks3z79vwweuezk77g



injectived tx wasm migrate inj1z7s6eqeql5r23gptjrfhvks3z79vwweuezk77g 834 '{}' --from testadmin --gas-prices 0.025ustars --gas-adjustment 1.7 --gas auto
add_alloc=$(cat ./test_files/add_allocation_phoenix_vault.json)
injectived tx wasm exec inj1z7s6eqeql5r23gptjrfhvks3z79vwweuezk77g "${add_alloc}" --from testadmin --gas-prices 0.025ustars --gas-adjustment 1.7 --gas auto
injectived tx wasm exec inj1z7s6eqeql5r23gptjrfhvks3z79vwweuezk77g '{"reconcile":{}}' --from testadmin --gas-prices 0.025ustars --gas-adjustment 1.7 --gas auto

injectived query wasm cs smart inj1z7s6eqeql5r23gptjrfhvks3z79vwweuezk77g '{"allocations":{}}'


16 changes: 16 additions & 0 deletions notes_juno.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

# junod
junod tx wasm store ./artifacts/pfc_fee_splitter.wasm --from bone-luna --yes --gas-prices 1ujuno --gas-adjustment 1.7 --gas auto
# 2240
json=$(cat ./test_files/juno_instantiate_feesplit.json)
junod tx wasm instantiate 2240 "${json}" --admin juno1lu92zj8q6cmrptu09rp3343x9969r9qrt84g0e --label pfc-fee-split --from bone-luna --gas-prices 1ujuno --gas-adjustment 1.7 --gas auto
# "juno167yrnjppr034exsj940q39kfc3nmdg36jtfv63tymyzlyhxg4a3snesqhv"



chihuahuad tx wasm migrate juno167yrnjppr034exsj940q39kfc3nmdg36jtfv63tymyzlyhxg4a3snesqhv 834 '{}' --from bone-luna --gas-prices 1uhuahua --gas-adjustment 1.7 --gas auto
add_alloc=$(cat ./test_files/add_allocation_phoenix_vault.json)
migalood tx wasm exec juno167yrnjppr034exsj940q39kfc3nmdg36jtfv63tymyzlyhxg4a3snesqhv "${add_alloc}" --from testadmin --gas-prices 0.025ustars --gas-adjustment 1.7 --gas auto
migalood tx wasm exec juno167yrnjppr034exsj940q39kfc3nmdg36jtfv63tymyzlyhxg4a3snesqhv '{"reconcile":{}}' --from testadmin --gas-prices 0.025ustars --gas-adjustment 1.7 --gas auto --node https://narwhal-rpc.dalnim.finance:443 --chain-id narwhal-1

junod query wasm cs smart juno167yrnjppr034exsj940q39kfc3nmdg36jtfv63tymyzlyhxg4a3snesqhv '{"allocations":{}}'
18 changes: 18 additions & 0 deletions notes_migaloo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

# migaloo
migalood tx wasm store ./artifacts/pfc_fee_splitter.wasm --from boneluna-admin --yes --gas-prices 0.025uwhale --gas-adjustment 1.7 --gas auto
# 2
json=$(cat ./test_files/migaloo_instantiate_feesplit.json)
migalood tx wasm instantiate 2 "${json}" --admin migaloo1lu92zj8q6cmrptu09rp3343x9969r9qrsplfat --label pfc-fee-split --from boneluna-admin --gas-prices 0.025uwhale --gas-adjustment 1.7 --gas 324601
# migaloo1wug8sewp6cedgkmrmvhl3lf3tulagm9hnvy8p0rppz9yjw0g4wtqvk723g



migalood tx wasm migrate migaloo1d6k8pahenpmx4spwfpf80zealtecfv7v0n7v49rxeu4lpzgzhrwq4wmhkr 834 '{}' --from testadmin --gas-prices 0.025ustars --gas-adjustment 1.7 --gas auto
add_alloc=$(cat ./test_files/add_allocation_phoenix_vault.json)
migalood tx wasm exec migaloo1d6k8pahenpmx4spwfpf80zealtecfv7v0n7v49rxeu4lpzgzhrwq4wmhkr "${add_alloc}" --from testadmin --gas-prices 0.025ustars --gas-adjustment 1.7 --gas auto
migalood tx wasm exec migaloo1d6k8pahenpmx4spwfpf80zealtecfv7v0n7v49rxeu4lpzgzhrwq4wmhkr '{"reconcile":{}}' --from testadmin --gas-prices 0.025ustars --gas-adjustment 1.7 --gas auto --node https://narwhal-rpc.dalnim.finance:443 --chain-id narwhal-1

migalood query wasm cs smart migaloo1d6k8pahenpmx4spwfpf80zealtecfv7v0n7v49rxeu4lpzgzhrwq4wmhkr '{"allocations":{}}' --node https://narwhal-rpc.dalnim.finance:443 --chain-id narwhal-1


19 changes: 19 additions & 0 deletions notes_narwhal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

# narwhal
migalood tx wasm store ./artifacts/pfc_fee_splitter.wasm --from test-admin --yes --gas-prices 0.025uwhale --gas-adjustment 1.7 --gas auto --node https://narwhal-rpc.dalnim.finance:443 --chain-id narwhal-1
# 23 |131
json=$(cat ./test_files/narwhal_instantiate_feesplit.json)
migalood tx wasm instantiate 23 "${json}" --admin migaloo1kdtdg0lvy8asxn8clnjfpusuvf93zuknltr2eh --label pfc-fee-split --from test-admin --gas-prices 0.025uwhale --gas-adjustment 1.7 --gas 324601 --node https://narwhal-rpc.dalnim.finance:443 --chain-id narwhal-1

# migaloo1d6k8pahenpmx4spwfpf80zealtecfv7v0n7v49rxeu4lpzgzhrwq4wmhkr



migalood tx wasm migrate migaloo1d6k8pahenpmx4spwfpf80zealtecfv7v0n7v49rxeu4lpzgzhrwq4wmhkr 131 '{}' --from test-admin --gas-prices 0.025uwhale --gas-adjustment 1.7 --gas auto
add_alloc=$(cat ./test_files/add_allocation_narwhal_vault_fail.json)
migalood tx wasm exec migaloo1d6k8pahenpmx4spwfpf80zealtecfv7v0n7v49rxeu4lpzgzhrwq4wmhkr "${add_alloc}" --from test-admin --gas-prices 0.025uwhale --gas-adjustment 1.7 --gas auto
migalood tx wasm exec migaloo1d6k8pahenpmx4spwfpf80zealtecfv7v0n7v49rxeu4lpzgzhrwq4wmhkr '{"reconcile":{}}' --from testadmin --gas-prices 0.025ustars --gas-adjustment 1.7 --gas auto --node https://narwhal-rpc.dalnim.finance:443 --chain-id narwhal-1

migalood query wasm cs smart migaloo1d6k8pahenpmx4spwfpf80zealtecfv7v0n7v49rxeu4lpzgzhrwq4wmhkr '{"allocations":{}}' --node https://narwhal-rpc.dalnim.finance:443 --chain-id narwhal-1


0 comments on commit e30cd17

Please sign in to comment.