Skip to content

Commit dc1474c

Browse files
committed
chore: rename escrow -> projects_manager
Signed-off-by: Norman Meier <[email protected]>
1 parent 19e50eb commit dc1474c

File tree

10 files changed

+44
-42
lines changed

10 files changed

+44
-42
lines changed

examples/gno.land/r/demo/teritori/README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Provides the list of existing DAOs
5656

5757
It also provides the DAOs infos (name, description, pfp) until we use the [dedicated profile realm](https://github.com/gnolang/gno/pull/181)
5858

59-
See the [live demo](https://app.teritori.com/orgs?network=gno-teritori)
59+
See the [live demo](https://app.teritori.com/orgs?network=gno-portal)
6060

6161
### gno.land/r/demo/teritori/dao_realm
6262

@@ -88,15 +88,17 @@ Social feed contract that strives to have feature-parity with Teritori's cosmwas
8888

8989
It supports content flagging and moderation by DAOs
9090

91-
See the [live demo](https://app.teritori.com/feed?network=gno-teritori)
91+
See the [live demo](https://app.teritori.com/feed?network=gno-portal)
9292

9393
### gno.land/r/demo/teritori/social_feeds_dao
9494

9595
Example of a DAO that can moderate social feeds
9696

97-
### gno.land/r/demo/teritori/escrow
97+
### gno.land/r/demo/teritori/projects_manager
9898

99-
Escrow contract, will be used in grants manager and freelance marketplace
99+
Kanban with integrated payments and conflict resolution
100+
101+
See the [live demo](https://app.teritori.com/projects?network=gno-portal)
100102

101103
### gno.land/r/demo/teritori/gnodaos
102104

examples/gno.land/r/demo/teritori/escrow/escrow_test.gno

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module gno.land/r/demo/teritori/justicedao
22

33
require (
4-
"gno.land/p/demo/avl" v0.0.0-latest
5-
"gno.land/p/demo/ufmt" v0.0.0-latest
6-
"gno.land/r/demo/teritori/escrow" v0.0.0-latest
7-
"gno.land/r/demo/teritori/vrf" v0.0.0-latest
8-
)
4+
gno.land/p/demo/avl v0.0.0-latest
5+
gno.land/p/demo/ufmt v0.0.0-latest
6+
gno.land/r/demo/teritori/projects_manager v0.0.0-latest
7+
gno.land/r/demo/teritori/vrf v0.0.0-latest
8+
)

examples/gno.land/r/demo/teritori/justicedao/justicedao.gno

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"gno.land/p/demo/avl"
1010
fmt "gno.land/p/demo/ufmt"
11-
"gno.land/r/demo/teritori/escrow"
11+
"gno.land/r/demo/teritori/projects_manager"
1212
"gno.land/r/demo/teritori/vrf"
1313
)
1414

@@ -98,7 +98,7 @@ type JusticeProposal struct {
9898
summary string // proposal summary
9999
vrfId uint64 // the vrf request id being used to determine governers
100100
governers []string // the governers of the proposal
101-
contractId uint64 // the escrow contract id to resolve
101+
contractId uint64 // the projects_manager contract id to resolve
102102
sellerAmount uint64 // the seller amount determined by Justice DAO
103103
solution string // proposed result of justice DAO proposal
104104
submitTime uint64 // solution submission time
@@ -681,7 +681,7 @@ func TallyAndExecuteJusticeSolution(proposalId uint64) {
681681
// If more than 2/3 votes Yes, let it pass
682682
if numYesVotes > 0 && numYesVotes*3 >= uint64(len(proposal.governers))*2 {
683683
justiceProposals[proposalId].status = PASSED
684-
escrow.CompleteContractByDAO(proposal.contractId, proposal.sellerAmount)
684+
projects_manager.CompleteContractByDAO(proposal.contractId, proposal.sellerAmount)
685685
} else {
686686
justiceProposals[proposalId].status = REJECTED
687687
}

examples/gno.land/r/demo/teritori/escrow/escrow_public_testnet.sh examples/gno.land/r/demo/teritori/projects_manager/escrow_public_testnet.sh

+13-13
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ gnokey maketx addpkg \
1818
-broadcast="true" \
1919
-remote="test3.gno.land:36657" \
2020
-chainid="test3" \
21-
-pkgdir="./r/escrow" \
22-
-pkgpath="gno.land/r/demo/escrow_03" \
21+
-pkgdir="./r/projects_manager" \
22+
-pkgpath="gno.land/r/demo/projects_manager_03" \
2323
gopher
2424

2525
# Set config
@@ -29,7 +29,7 @@ gnokey maketx call \
2929
-broadcast="true" \
3030
-remote="test3.gno.land:36657" \
3131
-chainid="test3" \
32-
-pkgpath="gno.land/r/demo/escrow_03" \
32+
-pkgpath="gno.land/r/demo/projects_manager_03" \
3333
-func="UpdateConfig" \
3434
-args="g1c5y8jpe585uezcvlmgdjmk5jt2glfw88wxa3xq" \
3535
gopher
@@ -41,7 +41,7 @@ gnokey maketx call \
4141
-broadcast="true" \
4242
-remote="test3.gno.land:36657" \
4343
-chainid="test3" \
44-
-pkgpath="gno.land/r/demo/escrow_03" \
44+
-pkgpath="gno.land/r/demo/projects_manager_03" \
4545
-func="CreateContract" \
4646
-args="g1c5y8jpe585uezcvlmgdjmk5jt2glfw88wxa3xq" \
4747
-args="foo20" \
@@ -56,7 +56,7 @@ gnokey maketx call \
5656
-broadcast="true" \
5757
-remote="test3.gno.land:36657" \
5858
-chainid="test3" \
59-
-pkgpath="gno.land/r/demo/escrow_03" \
59+
-pkgpath="gno.land/r/demo/projects_manager_03" \
6060
-func="CancelContract" \
6161
-args="0" \
6262
gopher
@@ -68,7 +68,7 @@ gnokey maketx call \
6868
-broadcast="true" \
6969
-remote="test3.gno.land:36657" \
7070
-chainid="test3" \
71-
-pkgpath="gno.land/r/demo/escrow_03" \
71+
-pkgpath="gno.land/r/demo/projects_manager_03" \
7272
-func="AcceptContract" \
7373
-args="0" \
7474
gopher
@@ -80,7 +80,7 @@ gnokey maketx call \
8080
-broadcast="true" \
8181
-remote="test3.gno.land:36657" \
8282
-chainid="test3" \
83-
-pkgpath="gno.land/r/demo/escrow_03" \
83+
-pkgpath="gno.land/r/demo/projects_manager_03" \
8484
-func="PauseContract" \
8585
-args="0" \
8686
gopher
@@ -92,7 +92,7 @@ gnokey maketx call \
9292
-broadcast="true" \
9393
-remote="test3.gno.land:36657" \
9494
-chainid="test3" \
95-
-pkgpath="gno.land/r/demo/escrow_03" \
95+
-pkgpath="gno.land/r/demo/projects_manager_03" \
9696
-func="CompleteContract" \
9797
-args="0" \
9898
gopher
@@ -104,7 +104,7 @@ gnokey maketx call \
104104
-broadcast="true" \
105105
-remote="test3.gno.land:36657" \
106106
-chainid="test3" \
107-
-pkgpath="gno.land/r/demo/escrow_03" \
107+
-pkgpath="gno.land/r/demo/projects_manager_03" \
108108
-func="CompleteContractByDAO" \
109109
-args="0" \
110110
-args="50" \
@@ -117,22 +117,22 @@ gnokey maketx call \
117117
-broadcast="true" \
118118
-remote="test3.gno.land:36657" \
119119
-chainid="test3" \
120-
-pkgpath="gno.land/r/demo/escrow_03" \
120+
-pkgpath="gno.land/r/demo/projects_manager_03" \
121121
-func="GiveFeedback" \
122122
-args="0" \
123123
-args="Amazing work" \
124124
gopher
125125

126126
# Query Contracts
127-
gnokey query "vm/qeval" -data="gno.land/r/demo/escrow_03
127+
gnokey query "vm/qeval" -data="gno.land/r/demo/projects_manager_03
128128
RenderContracts(0, 10)" -remote="test3.gno.land:36657"
129129

130130
# Query contract
131-
gnokey query "vm/qeval" -data="gno.land/r/demo/escrow_03
131+
gnokey query "vm/qeval" -data="gno.land/r/demo/projects_manager_03
132132
RenderContract(0)" -remote="test3.gno.land:36657"
133133

134134
# Query config
135-
gnokey query "vm/qeval" -data="gno.land/r/demo/escrow_03
135+
gnokey query "vm/qeval" -data="gno.land/r/demo/projects_manager_03
136136
RenderConfig()" -remote="test3.gno.land:36657"
137137

138138

examples/gno.land/r/demo/teritori/escrow/escrow_teritori_testnet.sh examples/gno.land/r/demo/teritori/projects_manager/escrow_teritori_testnet.sh

+14-14
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ gnokey maketx addpkg \
3030
-broadcast="true" \
3131
-remote="51.15.236.215:26657" \
3232
-chainid="teritori-1" \
33-
-pkgdir="./r/escrow" \
34-
-pkgpath="gno.land/r/demo/escrow_05" \
33+
-pkgdir="./r/projects_manager" \
34+
-pkgpath="gno.land/r/demo/projects_manager_05" \
3535
teritori
3636

3737
# Set config
@@ -41,7 +41,7 @@ gnokey maketx call \
4141
-broadcast="true" \
4242
-remote="51.15.236.215:26657" \
4343
-chainid="teritori-1" \
44-
-pkgpath="gno.land/r/demo/escrow_05" \
44+
-pkgpath="gno.land/r/demo/projects_manager_05" \
4545
-func="UpdateConfig" \
4646
-args="g1c5y8jpe585uezcvlmgdjmk5jt2glfw88wxa3xq" \
4747
teritori
@@ -53,7 +53,7 @@ gnokey maketx call \
5353
-broadcast="true" \
5454
-remote="51.15.236.215:26657" \
5555
-chainid="teritori-1" \
56-
-pkgpath="gno.land/r/demo/escrow_05" \
56+
-pkgpath="gno.land/r/demo/projects_manager_05" \
5757
-func="CreateContract" \
5858
-args="g1c5y8jpe585uezcvlmgdjmk5jt2glfw88wxa3xq" \
5959
-args="gopher20" \
@@ -68,7 +68,7 @@ gnokey maketx call \
6868
-broadcast="true" \
6969
-remote="51.15.236.215:26657" \
7070
-chainid="teritori-1" \
71-
-pkgpath="gno.land/r/demo/escrow_05" \
71+
-pkgpath="gno.land/r/demo/projects_manager_05" \
7272
-func="CancelContract" \
7373
-args="0" \
7474
teritori
@@ -80,7 +80,7 @@ gnokey maketx call \
8080
-broadcast="true" \
8181
-remote="51.15.236.215:26657" \
8282
-chainid="teritori-1" \
83-
-pkgpath="gno.land/r/demo/escrow_05" \
83+
-pkgpath="gno.land/r/demo/projects_manager_05" \
8484
-func="AcceptContract" \
8585
-args="1" \
8686
gopher2
@@ -92,7 +92,7 @@ gnokey maketx call \
9292
-broadcast="true" \
9393
-remote="51.15.236.215:26657" \
9494
-chainid="teritori-1" \
95-
-pkgpath="gno.land/r/demo/escrow_05" \
95+
-pkgpath="gno.land/r/demo/projects_manager_05" \
9696
-func="PauseContract" \
9797
-args="0" \
9898
teritori
@@ -104,7 +104,7 @@ gnokey maketx call \
104104
-broadcast="true" \
105105
-remote="51.15.236.215:26657" \
106106
-chainid="teritori-1" \
107-
-pkgpath="gno.land/r/demo/escrow_05" \
107+
-pkgpath="gno.land/r/demo/projects_manager_05" \
108108
-func="CompleteContract" \
109109
-args="1" \
110110
teritori
@@ -116,7 +116,7 @@ gnokey maketx call \
116116
-broadcast="true" \
117117
-remote="51.15.236.215:26657" \
118118
-chainid="teritori-1" \
119-
-pkgpath="gno.land/r/demo/escrow_05" \
119+
-pkgpath="gno.land/r/demo/projects_manager_05" \
120120
-func="CompleteContractByDAO" \
121121
-args="0" \
122122
-args="50" \
@@ -129,26 +129,26 @@ gnokey maketx call \
129129
-broadcast="true" \
130130
-remote="51.15.236.215:26657" \
131131
-chainid="teritori-1" \
132-
-pkgpath="gno.land/r/demo/escrow_05" \
132+
-pkgpath="gno.land/r/demo/projects_manager_05" \
133133
-func="GiveFeedback" \
134134
-args="0" \
135135
-args="Amazing work" \
136136
teritori
137137

138138
# Query Contracts
139-
gnokey query "vm/qeval" -data="gno.land/r/demo/escrow_05
139+
gnokey query "vm/qeval" -data="gno.land/r/demo/projects_manager_05
140140
RenderContracts(0, 10)" -remote="51.15.236.215:26657"
141141

142142
# Query contract
143-
gnokey query "vm/qeval" -data="gno.land/r/demo/escrow_05
143+
gnokey query "vm/qeval" -data="gno.land/r/demo/projects_manager_05
144144
RenderContract(0)" -remote="51.15.236.215:26657"
145145

146146
# Query config
147-
gnokey query "vm/qeval" -data="gno.land/r/demo/escrow_05
147+
gnokey query "vm/qeval" -data="gno.land/r/demo/projects_manager_05
148148
RenderConfig()" -remote="51.15.236.215:26657"
149149

150150
# Query escrow address
151-
gnokey query "vm/qeval" -data="gno.land/r/demo/escrow_05
151+
gnokey query "vm/qeval" -data="gno.land/r/demo/projects_manager_05
152152
CurrentRealm()" -remote="51.15.236.215:26657"
153153

154154

examples/gno.land/r/demo/teritori/escrow/gno.mod examples/gno.land/r/demo/teritori/projects_manager/gno.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module gno.land/r/demo/teritori/escrow
1+
module gno.land/r/demo/teritori/projects_manager
22

33
require (
44
gno.land/p/demo/ufmt v0.0.0-latest

examples/gno.land/r/demo/teritori/escrow/escrow.gno examples/gno.land/r/demo/teritori/projects_manager/projects_manager.gno

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package escrow
1+
package projects_manager
22

33
import (
44
"std"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package projects_manager

0 commit comments

Comments
 (0)