-
Notifications
You must be signed in to change notification settings - Fork 51
Add PoP of staking private key for node registration #425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 135 commits
Commits
Show all changes
141 commits
Select commit
Hold shift + click to select a range
d7330c3
update to view functions for stable cadence
joshuahannan bebb19d
Update to newest Stable Cadence Preview (#371)
dsainati1 a9e9e5d
remove casting and fix conflicts
joshuahannan 253f985
integrate ft and nft stable cadence changes, use access, view, and en…
joshuahannan d5d3fc2
use v2 ft and nft
joshuahannan 58bfcfb
use string for nft import
joshuahannan d9d2614
update token deps
joshuahannan 9b8c764
update token deps
joshuahannan 5044e1d
update nft dependecy
joshuahannan 07c8c7b
update nft dep
joshuahannan 99f47a0
update ft dep
joshuahannan aa0d30b
add more view
joshuahannan 69e65bd
update FlowToken contract getter to explicitly use metadata views
joshuahannan a94c565
implement new standard methods
joshuahannan 90cd889
update nft dependency
joshuahannan 8217b15
update ft dep
joshuahannan 7a4a112
fix FungibleToken.Vault types and imports
joshuahannan dc499b4
remove view from copy
joshuahannan 3e0bd42
add correct vault type
joshuahannan e642b90
remove views and update balances
joshuahannan 9f786d5
use vault interface type
joshuahannan a3ad792
remove restricted types
joshuahannan 0bd0969
remove AnyStruct
joshuahannan 40fdc45
remove type restrictions
joshuahannan bceaf1d
fix view modifiers in epoch contracts
joshuahannan d6f1c62
remove view for dkgCompleted
joshuahannan 00f3f53
remove non-view methods from pre-conditions
joshuahannan d258883
use setter methods in QC
joshuahannan 334b5ef
remove pub from QC
joshuahannan 088c4f1
add fun keyword
joshuahannan 186f352
use setters for fields and use getBalance
joshuahannan eaf04f6
use view keyword
joshuahannan 4a593e6
remove restricted types from flow epoch
joshuahannan f82c0bd
use setters in FlowEpoch
joshuahannan 1e42943
correct metadata types
joshuahannan b6eea49
use UInt64 in NodeVersionBeacon
joshuahannan 234488b
dont use restricted types in locked tokens and staking collection
joshuahannan 32ee36b
make LockedTokens compatible with FungibleToken
joshuahannan 3e7e66c
use entitlement for manager
joshuahannan 81673c1
correct entitlement syntax
joshuahannan 3366647
fix entitlement issues with locked tokens
joshuahannan ae14189
fix entitlement issues with staking collection
joshuahannan 98e669c
fix entitlement return types
joshuahannan d03de9a
add withdrawable to machine account functions
joshuahannan 20bc88d
replace addresses and fix transactions and scripts
joshuahannan f00e74c
fixes to epoch tests
joshuahannan 8a95802
update to latest token standards and update locked tokens transactions
joshuahannan 90028cb
Update contracts
SupunS 5624221
Update more contracts
SupunS a146eb7
Update contracts
SupunS 47c7323
Update contarcts and transactions
SupunS 7f6a9cf
go mod tidy
SupunS 006692d
Update flow-sdk
SupunS 20bf827
Update more contracts
SupunS f90b7db
Update ft/nft deps
SupunS 3e4a8d7
Generate assets
SupunS 148f186
Update more cadence codes
SupunS 5287d71
Update staking collection
SupunS 82e83fc
Update go mods
SupunS 6e65aab
Fix typo
SupunS 071589b
Replace get()+borrow() with borrow()
SupunS 8bf41b7
Refactor code
SupunS 36b3a40
Update go-sdk and flow-nft versions
SupunS a14bfc3
Fix publish_voter transaction
SupunS 1a47522
Update to Cadence v1.0.0-preview.1
SupunS 7f0ae3d
Apply suggestions from code review
SupunS 222d143
Refactor code
SupunS 889e103
fix and improve syntax
turbolent 0e44d6d
use optional chaining and nil-coaelescing instead of force-unwrapping
turbolent 2ba8ec1
Update get_total_balance.cdc
SupunS 5d361b6
Merge remote-tracking branch 'origin/master' into stable-cadence
joshuahannan b41a334
make sure epoch contracts work with capability controllers and entitl…
joshuahannan f8dfacb
update dependencies and add public burn tokens method
joshuahannan 69a42be
fix go.mod conflict from merge from master
joshuahannan e45ba2b
remove view from getRandomSourceHistoryPage and use account.storage
joshuahannan 37cbe45
remove custom destructors and fix entitlement usage
joshuahannan 965521c
merge from master and update dependencies
joshuahannan 5f2af20
get all go tests passing for cadence 1.0
joshuahannan 93317bc
make ci
joshuahannan 6eb32e7
make ci
joshuahannan b29775f
update random source transactions
joshuahannan 1c546c6
update cli version for CI
joshuahannan cb90b89
update go version
joshuahannan c0c5250
Update Cadence version (#406)
SupunS 77b4a62
update Withdrawable and createEmptyVault
joshuahannan 1036e08
merge from origin
joshuahannan 8d58eb4
update createEmpty in staking
joshuahannan 7204ba8
use Burner and update dependencies
joshuahannan 9289bdc
update to SDK v1.0.0-M1
turbolent 1a178d6
update NFT contracts, remove replace statements
turbolent edbd26e
update to Cadence v1.0.0-M3
turbolent df76aaf
update to Cadence v1.0.0-M3 and SDK v1.0.0-M1
turbolent b7a9513
remove getBalance, add isAvailableToWithdraw
joshuahannan e3aada3
update ft and nft deps
joshuahannan 1984b08
merge from master
joshuahannan 5f44be4
update emulator dependencies and get tests passing
joshuahannan 80dacce
use FungibleToken.Balance instead of FlowToken.Vault
joshuahannan 89c4b73
use correct public path types
joshuahannan e489275
update imports
joshuahannan 7af9d5b
go mod tidy
joshuahannan b75941c
add fungible token switchboard
joshuahannan 928bf99
fix switchboard
joshuahannan 098fbb0
update error messages for ledger transactions
joshuahannan 439755c
add updated manifests with new account, FT, and NFT transactions and …
joshuahannan b403661
update account transactions to use simple arguments
joshuahannan 7d800d5
update manifest to include both styles of token transfer transactions:
joshuahannan 46d7685
update emulator dependency
joshuahannan 439c5aa
use string args for NFT contracts
joshuahannan f5053a4
update collection machine account transactions to not use keylist entry
joshuahannan a7b73af
Update contract getter methods to use env (#410)
joshuahannan fda9bc2
get address replacement working in tests and add event emission restr…
joshuahannan d81e0c3
update to latest emulator, cadence, and token standards versions
joshuahannan 6f9e0a9
Update README
joshuahannan bcf77ee
Don't copy dictionary in getEpochMetadata (#413)
janezpodhostnik 4352c32
update NFT contracts
joshuahannan 10241ff
update ft dependency
joshuahannan f410947
update token standard dependencies
joshuahannan 9004857
make ci
joshuahannan 77f7eae
fix algorithm typo and test names
joshuahannan 826099b
update nft transactions
joshuahannan d40b890
fix typos in transactions
joshuahannan 486ea68
update nft dependencies
joshuahannan 1b20b4d
update RandomBeaconHistory to Cadence 1.0
joshuahannan 272832a
Add entitlement for locked account creator (#423)
joshuahannan 50821c3
update ft dependencies
joshuahannan 93d97ed
remove optional chaining in FlowStakingCollection
joshuahannan 0fc367f
remove optional chaining
joshuahannan e696a8e
update nft imports and remove unnecessary Burner import from FlowToken
joshuahannan b0461a7
add pop for node registration
af808a6
update dependencies
joshuahannan 63b1dba
merge stable-cadence branch
6234d8b
merge master branch
dc121f1
fix cli name
0bf8e03
fix merging errors
0341eca
update assets
cf66e1d
Update contracts/FlowIDTableStaking.cdc
tarakby 4c10f40
remove PoP wrongly added to Create Account tx
8472e21
add POP changes to a new branch
joshuahannan b4f3a13
merge josh/proof-of-possesion
fec1699
add missing changes from merge
a5be481
minor comment update
tarakby File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.