-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
successfully anchor built and anchor deployed to localnet:8899 cluste…
…r using local tes validator (.venv) ~/devs/anarcrypt.sol/AnnAHeiM/anchor git:[main] anchor deploy# Veuillez saisir le message de validation pour vos modifications. Les lignes Deploying cluster: http://127.0.0.1:8899# commençant par '#' seront ignorées, et un message vide abandonne la validation. Upgrade authority: /home/anarchsun/.config/solana/id.json# Deploying program "ana"...# Sur la branche main Program path: /home/anarchsun/devs/anarcrypt.sol/AnnAHeiM/anchor/target/deploy/ana.so...# Votre branche est à jour avec 'origin/main'. Program Id: 7GwbA3FMiRgtsHndhTL5a47iqqM1zuMJ3iC4RtedpPpw# Signature: 33y9b19Gafg9GoeijavCTCNJ1BN56PVw56fLboYmsjEqnz4bWz2NiFZ6bmKekqYcnjXR3vSy5agyrbgaj1oPKdTV# Deploying program "onchain_voting"... Program path: /home/anarchsun/devs/anarcrypt.sol/AnnAHeiM/anchor/target/deploy/onchain_voting.so... Program Id: 96ZbjmztJKJDiZJFyDRJc1bYxZmATZMS8PofLYDJQAW3 Signature: 4DSK1Lrnbdq8XQ1ufzb2DiQ4QcUi6jVuUF7SPCUvkxt8xKpC7Bf6eCpCJSehdX5B5SDoMhzd6a5BiSEEmwv5mgpa Deploy success
- Loading branch information
RastDjuss
authored and
RastDjuss
committed
Feb 28, 2025
1 parent
6578794
commit 0ec687b
Showing
48 changed files
with
27,522 additions
and
20,882 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
{ | ||
"address": "7GwbA3FMiRgtsHndhTL5a47iqqM1zuMJ3iC4RtedpPpw", | ||
"metadata": { | ||
"name": "ana", | ||
"version": "0.1.0", | ||
"spec": "0.1.0", | ||
"description": "Created with Anchor" | ||
}, | ||
"instructions": [ | ||
{ | ||
"name": "close", | ||
"discriminator": [ | ||
98, | ||
165, | ||
201, | ||
177, | ||
108, | ||
65, | ||
206, | ||
96 | ||
], | ||
"accounts": [ | ||
{ | ||
"name": "payer", | ||
"writable": true, | ||
"signer": true | ||
}, | ||
{ | ||
"name": "ana", | ||
"writable": true | ||
} | ||
], | ||
"args": [] | ||
}, | ||
{ | ||
"name": "decrement", | ||
"discriminator": [ | ||
106, | ||
227, | ||
168, | ||
59, | ||
248, | ||
27, | ||
150, | ||
101 | ||
], | ||
"accounts": [ | ||
{ | ||
"name": "ana", | ||
"writable": true | ||
} | ||
], | ||
"args": [] | ||
}, | ||
{ | ||
"name": "increment", | ||
"discriminator": [ | ||
11, | ||
18, | ||
104, | ||
9, | ||
104, | ||
174, | ||
59, | ||
33 | ||
], | ||
"accounts": [ | ||
{ | ||
"name": "ana", | ||
"writable": true | ||
} | ||
], | ||
"args": [] | ||
}, | ||
{ | ||
"name": "initialize", | ||
"discriminator": [ | ||
175, | ||
175, | ||
109, | ||
31, | ||
13, | ||
152, | ||
155, | ||
237 | ||
], | ||
"accounts": [ | ||
{ | ||
"name": "payer", | ||
"writable": true, | ||
"signer": true | ||
}, | ||
{ | ||
"name": "ana", | ||
"writable": true, | ||
"signer": true | ||
}, | ||
{ | ||
"name": "system_program", | ||
"address": "11111111111111111111111111111111" | ||
} | ||
], | ||
"args": [] | ||
}, | ||
{ | ||
"name": "set", | ||
"discriminator": [ | ||
198, | ||
51, | ||
53, | ||
241, | ||
116, | ||
29, | ||
126, | ||
194 | ||
], | ||
"accounts": [ | ||
{ | ||
"name": "ana", | ||
"writable": true | ||
} | ||
], | ||
"args": [ | ||
{ | ||
"name": "value", | ||
"type": "u8" | ||
} | ||
] | ||
} | ||
], | ||
"accounts": [ | ||
{ | ||
"name": "Ana", | ||
"discriminator": [ | ||
119, | ||
77, | ||
173, | ||
208, | ||
132, | ||
255, | ||
123, | ||
254 | ||
] | ||
} | ||
], | ||
"types": [ | ||
{ | ||
"name": "Ana", | ||
"type": { | ||
"kind": "struct", | ||
"fields": [ | ||
{ | ||
"name": "count", | ||
"type": "u8" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
{ | ||
"address": "96ZbjmztJKJDiZJFyDRJc1bYxZmATZMS8PofLYDJQAW3", | ||
"metadata": { | ||
"name": "onchain_voting", | ||
"version": "0.1.0", | ||
"spec": "0.1.0", | ||
"description": "Created with Anchor" | ||
}, | ||
"instructions": [ | ||
{ | ||
"name": "gib_vote", | ||
"discriminator": [ | ||
123, | ||
118, | ||
129, | ||
88, | ||
142, | ||
252, | ||
195, | ||
85 | ||
], | ||
"accounts": [ | ||
{ | ||
"name": "vote_account", | ||
"writable": true | ||
}, | ||
{ | ||
"name": "signer", | ||
"signer": true | ||
} | ||
], | ||
"args": [ | ||
{ | ||
"name": "vote_type", | ||
"type": { | ||
"defined": { | ||
"name": "VoteType" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "init_vote_bank", | ||
"discriminator": [ | ||
188, | ||
23, | ||
119, | ||
203, | ||
213, | ||
60, | ||
75, | ||
218 | ||
], | ||
"accounts": [ | ||
{ | ||
"name": "vote_account", | ||
"writable": true, | ||
"signer": true | ||
}, | ||
{ | ||
"name": "signer", | ||
"writable": true, | ||
"signer": true | ||
}, | ||
{ | ||
"name": "system_program", | ||
"address": "11111111111111111111111111111111" | ||
} | ||
], | ||
"args": [] | ||
} | ||
], | ||
"accounts": [ | ||
{ | ||
"name": "VoteBank", | ||
"discriminator": [ | ||
83, | ||
109, | ||
30, | ||
62, | ||
146, | ||
35, | ||
200, | ||
133 | ||
] | ||
} | ||
], | ||
"types": [ | ||
{ | ||
"name": "VoteBank", | ||
"type": { | ||
"kind": "struct", | ||
"fields": [ | ||
{ | ||
"name": "is_open_to_vote", | ||
"type": "bool" | ||
}, | ||
{ | ||
"name": "gm", | ||
"type": "u64" | ||
}, | ||
{ | ||
"name": "gn", | ||
"type": "u64" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "VoteType", | ||
"type": { | ||
"kind": "enum", | ||
"variants": [ | ||
{ | ||
"name": "GM" | ||
}, | ||
{ | ||
"name": "GN" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.