Skip to content

Commit

Permalink
Merge branch 'main' into 29-add-permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuang0212 authored and dhuang0212 committed Mar 20, 2023
2 parents 97b4102 + 8f1b385 commit d577506
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 187 deletions.
184 changes: 0 additions & 184 deletions content/static_data/account_attributes.json

This file was deleted.

92 changes: 92 additions & 0 deletions content/static_data/generic-token-access-events.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
{
"data": {
"accessDenieds": [
{
"id": "0x32013bac23dce22d54de396fae6ee4d5018e5207d29e42749b6f4e7d2beb27781b000000",
"sub_addr": "0x4fe6b923a710b155db175e0776a602a2c8958158",
"obj_addr": "0x05c02a63f7c04dB0c1a73e4B000b3A80f8613E56",
"time": "1678298400",
"message": "Subject Not Found!"
},
{
"id": "0x32013bac23dce22d54de396fae6ee4d5018e5207d29e42749b6f4e7d2beb27781b000001",
"sub_addr": "0x05c02a63f7c04dB0c1a73e4B000b3A80f8613E56",
"obj_addr": "0x05c02a63f7c04dB0c1a73e4B000b3A80f8613E56",
"time": "1678298200",
"message": "Neither from CGI nor from blockchain department"
},
{
"id": "0x32013bac23dce22d54de396fae6ee4d5018e5207d29e42749b6f4e7d2beb27781b000002",
"sub_addr": "0x149bc7ea1139bc71c25363257d73d8de90d84c4e",
"obj_addr": "0x149bc7ea1139bc71c25363257d73d8de90d84c4e",
"time": "1678298000",
"message": "From CGI, but not blockchain department"
},
{
"id": "0x32013bac23dce22d54de396fae6ee4d5018e5207d29e42749b6f4e7d2beb27781b000003",
"sub_addr": "0x149bc7ea1139bc71c25363257d73d8de90d84c4e",
"obj_addr": "0x149bc7ea1139bc71c25363257d73d8de90d84c4e",
"time": "1678297000",
"message": "From CGI, but not blockchain department"
},
{
"id": "0x32013bac23dce22d54de396fae6ee4d5018e5207d29e42749b6f4e7d2beb27781b000004",
"sub_addr": "0x05c02a63f7c04dB0c1a73e4B000b3A80f8613E56",
"obj_addr": "0x05c02a63f7c04dB0c1a73e4B000b3A80f8613E56",
"time": "1678296000",
"message": "Neither from CGI nor from blockchain department"
}
],
"accessGranteds": [
{
"id": "0xf4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16",
"sub_addr": "0x25c526dfaec3b743f256aa81ae080718665e9401",
"obj_addr": "0x25c526dfaec3b743f256aa81ae080718665e9401",
"time": "1678301330",
"blockNumber": "32343733"
},
{
"id": "0xf4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e17",
"sub_addr": "0xca757bfbf46e2de1f171e1ebcc70c15fc0f28096",
"obj_addr": "0xca757bfbf46e2de1f171e1ebcc70c15fc0f28096",
"time": "1678301300",
"blockNumber": "32343733"
},
{
"id": "0xf4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e18",
"sub_addr": "0x25c526dfaec3b743f256aa81ae080718665e9401",
"obj_addr": "0x25c526dfaec3b743f256aa81ae080718665e9401",
"time": "1678301030",
"blockNumber": "32343733"
},
{
"id": "0xf4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e19",
"sub_addr": "0xd3fa48aa65c6701f2cf56662f669fd6619799b71",
"obj_addr": "0xd3fa48aa65c6701f2cf56662f669fd6619799b71",
"time": "1678301000",
"blockNumber": "32343733"
},
{
"id": "0xf4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e20",
"sub_addr": "0x90106fa680af6fc1046e4183f91ea033d2380d46",
"obj_addr": "0x90106fa680af6fc1046e4183f91ea033d2380d46",
"time": "1678300500",
"blockNumber": "32343733"
},
{
"id": "0xf4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e21",
"sub_addr": "0x703185b291ccd8caa38158a085060b8342c6807b",
"obj_addr": "0x703185b291ccd8caa38158a085060b8342c6807b",
"time": "1678299900",
"blockNumber": "32343733"
},
{
"id": "0xf4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e22",
"sub_addr": "0x97e5c7aeb90c4bc5e3b0f33e71e8991af26a8760",
"obj_addr": "0x97e5c7aeb90c4bc5e3b0f33e71e8991af26a8760",
"time": "1678299000",
"blockNumber": "32343733"
}
]
}
}
5 changes: 3 additions & 2 deletions src/@utils/SvgWaves.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class Point {
enum WaveColors {
Violet = '#e000cf',
Pink = '#ff4092',
Grey = '#8b98a9'
Grey = '#8b98a9',
Blue = '#0fb9fc'
}

export class SvgWaves {
Expand Down Expand Up @@ -55,7 +56,7 @@ export class SvgWaves {
width: 99,
height: 99,
viewBox: '0 0 99 99',
color: WaveColors.Pink,
color: WaveColors.Blue,
fill: true,
layerCount: 4,
pointsPerLayer: randomIntFromInterval(3, 4),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default withTooltip<TimelineProps, Order>(
onClick={() => setFilteredOrders(orders)}
selectedBoxStyle={{
fill: `url(#${'brush_pattern'})`,
stroke: 'white'
stroke: 'black'
}}
useWindowMoveEvents
renderBrushHandle={(props) => <BrushHandle {...props} />}
Expand Down

0 comments on commit d577506

Please sign in to comment.