Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
QSI_Groupe2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lydia Tarmelit
QSI_Groupe2
Commits
0912138b
Commit
0912138b
authored
1 year ago
by
arnaud kaderi
Browse files
Options
Downloads
Patches
Plain Diff
refactor code
parent
013c956c
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
deploy/deploy.ts
+1
-3
1 addition, 3 deletions
deploy/deploy.ts
src/contract.jsligo
+2
-2
2 additions, 2 deletions
src/contract.jsligo
src/type.jsligo
+1
-1
1 addition, 1 deletion
src/type.jsligo
with
5 additions
and
7 deletions
README.md
+
1
−
1
View file @
0912138b
...
@@ -13,4 +13,4 @@ Pour compiler le projet: `make compile`
...
@@ -13,4 +13,4 @@ Pour compiler le projet: `make compile`
Pour le déployer:
`make deploy`
Pour le déployer:
`make deploy`
Lien de déploiement du smart contract:
`KT1
8ohWSbRJsE9hKWzFCfPbskDa3ipjJfoih
`
Lien de déploiement du smart contract:
`KT1
T2uYvmNmWv69ZmnVLM749LoYFt1AgqzF1
`
This diff is collapsed.
Click to expand it.
deploy/deploy.ts
+
1
−
3
View file @
0912138b
import
{
InMemorySigner
}
from
"
@taquito/signer
"
;
import
{
InMemorySigner
}
from
"
@taquito/signer
"
;
import
{
MichelsonMap
,
TezosToolkit
}
from
"
@taquito/taquito
"
;
import
{
TezosToolkit
}
from
"
@taquito/taquito
"
;
import
{
buf2hex
}
from
"
@taquito/utils
"
;
import
chalk
from
"
chalk
"
;
import
chalk
from
"
chalk
"
;
import
{
Spinner
}
from
"
cli-spinner
"
;
import
{
Spinner
}
from
"
cli-spinner
"
;
import
dotenv
from
"
dotenv
"
;
import
dotenv
from
"
dotenv
"
;
import
multisig
from
"
../compiled/Multisig.json
"
;
import
multisig
from
"
../compiled/Multisig.json
"
;
import
metadata
from
"
./metadata.json
"
;
dotenv
.
config
();
dotenv
.
config
();
...
...
This diff is collapsed.
Click to expand it.
src/contract.jsligo
+
2
−
2
View file @
0912138b
...
@@ -27,7 +27,7 @@ namespace Preamble {
...
@@ -27,7 +27,7 @@ namespace Preamble {
};
};
// ===============================================================================================
// ===============================================================================================
export type result =
[list<operation>,
Storage.Utils.
storage]
;
export type result = Storage.Utils.
result
;
@entry
@entry
export const create_proposal = (
export const create_proposal = (
...
...
This diff is collapsed.
Click to expand it.
src/type.jsligo
+
1
−
1
View file @
0912138b
...
@@ -22,7 +22,7 @@ export type dao = {
...
@@ -22,7 +22,7 @@ export type dao = {
export type atomic_trans =
export type atomic_trans =
@layout("comb")
@layout("comb")
{
amount: nat
; token_id: nat
, to_: address
; }
{
to_: address
; token_id: nat
; amount: nat
; }
export type transfer_from = { from_: address; txs: list<atomic_trans> };
export type transfer_from = { from_: address; txs: list<atomic_trans> };
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment