Skip to content

Commit

Permalink
fix: add ticket list using multisig
Browse files Browse the repository at this point in the history
  • Loading branch information
BelfordZ committed Nov 26, 2024
1 parent f60e257 commit a99115d
Show file tree
Hide file tree
Showing 2 changed files with 144 additions and 15 deletions.
35 changes: 34 additions & 1 deletion src/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import * as merge from 'deepmerge'
import * as minimist from 'minimist'
import { join } from 'path'
import { Utils as StringUtils } from '@shardus/types'
import { DevSecurityLevel } from './types/security'

export interface Config {
[index: string]: object | string | number | boolean
Expand Down Expand Up @@ -204,7 +205,39 @@ let config: Config = {
restoreNGTsFromSnapshot: false,
tickets: {
allowedTicketSigners: {
"0x891DF765C855E9848A18Ed18984B9f57cb3a4d47": 3
'0x002D3a2BfE09E3E29b6d38d58CaaD16EEe4C9BC5': 5,
'0x0a0844DA5e01E391d12999ca859Da8a897D5979A': 5,
'0x390878B18DeBe2A9f0d5c0252a109c84243D3beb': 5,
'0x32B6f2C027D4c9D99Ca07d047D17987390a5EB39': 5,
'0x80aF8E195B56aCC3b4ec8e2C99EC38957258635a': 5,
'0x7Efbb31431ac7C405E8eEba99531fF1254fCA3B6': 5,
'0xCc74bf387F6C102b5a7F828796C57A6D2D19Cb00': 5,
'0x4ed5C053BF2dA5F694b322EA93dce949F3276B85': 5,
'0xd31aBC7497aD8bC9fe8555C9eDe45DFd7FB3Bf6F': 5,
'0xe7e4cc292b424C6D50d16F1Bb5BAB2032c486980': 5,
'0xD815DA50966c19261B34Ffa3bE50A30A67D97456': 5,
'0xE856B2365641eba73Bc430AAC1E8F930dA513D9D': 5,
'0x8282F755e784414697421D4b59232E5d194e2262': 5,
'0x353Ad64Df4fAe5EffF717A1c41BE6dEBee543129': 5,
'0x9Ce1C3c114538c625aA2488b97fEb3723fdBB07B': 5,
'0x6A83e4e4eB0A2c8f562db6BB64b02a9A6237B314': 5,
'0x92E375E0c76CaE76D9DfBab17EE7B3B4EE407715': 5,
'0xBD79B430CA932e2D89bb77ACaE7367a07471c2eA': 5,
'0xEbe173a837Bc30BFEF6E13C9988a4771a4D83275': 5,
'0xfF2b584A947182c55BBc039BEAB78BC201D3AdDe': 5,
'0xCeA068d8DCB4B4020D30a9950C00cF8408611F67': 5,
'0x52F8d3DaA7b5FF25ca2bF7417E059aFe0bD5fB0E': 5,
'0x0341996A92193d8B7d80C4774fA2eff889e4b427': 5,
'0xF82BDA6Ef512e4219C6DCEea896E50e8180a5bff': 5,
'0xA04A1B214a2537139fE59488820D4dA06516933f': 5,
'0x550817e7B91244BBeFE2AD621ccD555A16B00405': 5,
'0x84C55a4bFfff1ADadb9C46e2B60979F519dAf874': 5,
'0x4563303BCE96D3f8d9C7fB94b36dfFC9d831871d': 5,
'0xdA058F9c7Ce86C1D21DD5DBDeBad5ab5c785520a': 5,
'0x891DF765C855E9848A18Ed18984B9f57cb3a4d47': 5,
'0x7Fb9b1C5E20bd250870F87659E46bED410221f17': 5,
'0x1e5e12568b7103E8B22cd680A6fa6256DD66ED76': 5,
'0xa58169308e7153B5Ce4ca5cA515cC4d0cBE7770B': 5,
},
minSigRequired: 1,
requiredSecurityLevel: 3
Expand Down
124 changes: 110 additions & 14 deletions static/tickets.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,112 @@
[
{
"data": [
{
"address": "0x37a9FCf5628B1C198A01C9eDaB0BF5C4d453E928"
}
],
"sign": [
{
"owner": "0x891DF765C855E9848A18Ed18984B9f57cb3a4d47",
"sig": "0x5f1aad2caa2cca1f725715ed050b1928527f0c4eb815fb282fad113ca866a63568d9c003b5310e16de67103521bf284fda10728b4fffc66055c55fde5934438d1b"
}
],
"type": "silver"
}
{
"type": "silver",
"data": [
{
"address": "0x002D3a2BfE09E3E29b6d38d58CaaD16EEe4C9BC5"
},
{
"address": "0x0a0844DA5e01E391d12999ca859Da8a897D5979A"
},
{
"address": "0x390878B18DeBe2A9f0d5c0252a109c84243D3beb"
},
{
"address": "0x32B6f2C027D4c9D99Ca07d047D17987390a5EB39"
},
{
"address": "0x80aF8E195B56aCC3b4ec8e2C99EC38957258635a"
},
{
"address": "0x7Efbb31431ac7C405E8eEba99531fF1254fCA3B6"
},
{
"address": "0xCc74bf387F6C102b5a7F828796C57A6D2D19Cb00"
},
{
"address": "0x4ed5C053BF2dA5F694b322EA93dce949F3276B85"
},
{
"address": "0xd31aBC7497aD8bC9fe8555C9eDe45DFd7FB3Bf6F"
},
{
"address": "0xe7e4cc292b424C6D50d16F1Bb5BAB2032c486980"
},
{
"address": "0xD815DA50966c19261B34Ffa3bE50A30A67D97456"
},
{
"address": "0xE856B2365641eba73Bc430AAC1E8F930dA513D9D"
},
{
"address": "0x8282F755e784414697421D4b59232E5d194e2262"
},
{
"address": "0x353Ad64Df4fAe5EffF717A1c41BE6dEBee543129"
},
{
"address": "0x9Ce1C3c114538c625aA2488b97fEb3723fdBB07B"
},
{
"address": "0x6A83e4e4eB0A2c8f562db6BB64b02a9A6237B314"
},
{
"address": "0x92E375E0c76CaE76D9DfBab17EE7B3B4EE407715"
},
{
"address": "0xBD79B430CA932e2D89bb77ACaE7367a07471c2eA"
},
{
"address": "0xEbe173a837Bc30BFEF6E13C9988a4771a4D83275"
},
{
"address": "0xfF2b584A947182c55BBc039BEAB78BC201D3AdDe"
},
{
"address": "0xCeA068d8DCB4B4020D30a9950C00cF8408611F67"
},
{
"address": "0x52F8d3DaA7b5FF25ca2bF7417E059aFe0bD5fB0E"
},
{
"address": "0x0341996A92193d8B7d80C4774fA2eff889e4b427"
},
{
"address": "0xF82BDA6Ef512e4219C6DCEea896E50e8180a5bff"
},
{
"address": "0xA04A1B214a2537139fE59488820D4dA06516933f"
},
{
"address": "0x550817e7B91244BBeFE2AD621ccD555A16B00405"
},
{
"address": "0x84C55a4bFfff1ADadb9C46e2B60979F519dAf874"
},
{
"address": "0x4563303BCE96D3f8d9C7fB94b36dfFC9d831871d"
},
{
"address": "0xdA058F9c7Ce86C1D21DD5DBDeBad5ab5c785520a"
},
{
"address": "0x891DF765C855E9848A18Ed18984B9f57cb3a4d47"
},
{
"address": "0x7Fb9b1C5E20bd250870F87659E46bED410221f17"
},
{
"address": "0x1e5e12568b7103E8B22cd680A6fa6256DD66ED76"
},
{
"address": "0xa58169308e7153B5Ce4ca5cA515cC4d0cBE7770B"
}
],
"sign": [
{
"owner": "0x891DF765C855E9848A18Ed18984B9f57cb3a4d47",
"sig": "0x9701d7ec08583a80981c6e4e2aee0bef44236bb08f35d42511561ee992ed7bae0c049fa781aa49e089da5ec4a1c61d5fc8393a5b39a34e35ac9ec47642e5de191c"
}
]
}
]

0 comments on commit a99115d

Please sign in to comment.