diff --git a/content/static_data/account_attributes.json b/content/static_data/account_attributes.json deleted file mode 100644 index 2a892c8534..0000000000 --- a/content/static_data/account_attributes.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "accountAddresses": [ - { - "accountAddress": "0x6dA9E6bfe0287E32944738d3b11254394773BfA8", - "abacAttributes": { - "subjectAttributes": { - "name": "Caroline", - "username": "crinks", - "department": "space", - "position": "astronaut", - "age": 25, - "oceanPermission": "datasets" - }, - "objectAttributes": { - "location": "Knoxville", - "date": "03-01-2023", - "endpoint_addr": "0x1234" - } - } - }, - { - "accountAddress": "0x05c02a63f7c04dB0c1a73e4B000b3A80f8613E56", - "abacAttributes": { - "subjectAttributes": { - "name": "Ian", - "username": "i_an", - "department": "military", - "position": "developer", - "age": 30, - "oceanPermission": "algorithms" - }, - "objectAttributes": { - "location": "Memphis", - "date": "03-02-2023", - "endpoint_addr": "0x5678" - } - } - }, - { - "accountAddress": "0x47CE7F67C3CC0E4Eb445e63173D8649E01e6c964", - "abacAttributes": { - "subjectAttributes": { - "name": "David", - "username": "the_david", - "department": "federal", - "position": "director", - "age": 55, - "oceanPermission": "datasets-and-algorithms" - }, - "objectAttributes": { - "location": "Washington D.C.", - "date": "03-03-2023", - "endpoint_addr": "0x0001" - } - } - }, - { - "accountAddress": "0x999AA2ffe0287E32294638d3b112543492558558", - "abacAttributes": { - "subjectAttributes": { - "name": "Hanson", - "username": "han_son", - "department": "space", - "position": "developer", - "age": 28, - "oceanPermission": "algorithms" - }, - "objectAttributes": { - "location": "Boston", - "date": "03-01-2023", - "endpoint_addr": "0x2222" - } - } - }, - { - "accountAddress": "0x246828cfe0287E322b87b8b7b112543492224682", - "abacAttributes": { - "subjectAttributes": { - "name": "Ashna", - "username": "ashna_22", - "department": "federal", - "position": "researcher", - "age": 32, - "oceanPermission": "datasets" - }, - "objectAttributes": { - "location": "Atlanta", - "date": "03-03-2023", - "endpoint_addr": "0x2468" - } - } - }, - { - "accountAddress": "0x7654C3dde0287E32294638d3b112543492267654", - "abacAttributes": { - "subjectAttributes": { - "name": "Gary", - "username": "g_ary", - "department": "federal", - "position": "director", - "age": 29, - "oceanPermission": "datasets-and-algorithms" - }, - "objectAttributes": { - "location": "Knoxville", - "date": "03-02-2023", - "endpoint_addr": "0x8888" - } - } - }, - { - "accountAddress": "0x123458cfe444bE32294638d3b112543492212345", - "abacAttributes": { - "subjectAttributes": { - "name": "Thomas", - "username": "thomAs", - "department": "federal", - "position": "developer", - "age": 35, - "oceanPermission": "algorithms" - }, - "objectAttributes": { - "location": "Knoxville", - "date": "03-01-2023", - "endpoint_addr": "0x0002" - } - } - }, - { - "accountAddress": "0x1134f6cfe0287E32294638d3b1125434cf111111", - "abacAttributes": { - "subjectAttributes": { - "name": "Ruoti", - "username": "professor_R", - "department": "military", - "position": "researcher", - "age": 33, - "oceanPermission": "datasets-and-algorithms" - }, - "objectAttributes": { - "location": "Knoxville", - "date": "03-02-2023", - "endpoint_addr": "0x0003" - } - } - }, - { - "accountAddress": "0x987654cfe0287E32294638d3b11254349cf99f62", - "abacAttributes": { - "subjectAttributes": { - "name": "Shadman", - "username": "shad_man", - "department": "federal", - "position": "researcher", - "age": 52, - "oceanPermission": "datasets" - }, - "objectAttributes": { - "location": "Washington D.C.", - "date": "03-03-2023", - "endpoint_addr": "0x0004" - } - } - }, - { - "accountAddress": "0x3fB3D8cfe0287E32294638d3b11254349226CfB2", - "abacAttributes": { - "subjectAttributes": { - "name": "Sally", - "username": "sall", - "department": "military", - "position": "director", - "age": 42, - "oceanPermission": "datasets-and-algorithms" - }, - "objectAttributes": { - "location": "Boston", - "date": "03-03-2023", - "endpoint_addr": "0x0005" - } - } - } - ] -} diff --git a/content/static_data/generic-token-access-events.json b/content/static_data/generic-token-access-events.json new file mode 100644 index 0000000000..2697d768c9 --- /dev/null +++ b/content/static_data/generic-token-access-events.json @@ -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" + } + ] + } +} diff --git a/src/@utils/SvgWaves.ts b/src/@utils/SvgWaves.ts index 1a2db1ec5a..73e617c4e4 100644 --- a/src/@utils/SvgWaves.ts +++ b/src/@utils/SvgWaves.ts @@ -27,7 +27,8 @@ class Point { enum WaveColors { Violet = '#e000cf', Pink = '#ff4092', - Grey = '#8b98a9' + Grey = '#8b98a9', + Blue = '#0fb9fc' } export class SvgWaves { @@ -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), diff --git a/src/components/Asset/AssetContent/TransactionHistoryVisualization.tsx b/src/components/Asset/AssetContent/TransactionHistoryVisualization.tsx index b9e58d94a0..e46b0179b4 100644 --- a/src/components/Asset/AssetContent/TransactionHistoryVisualization.tsx +++ b/src/components/Asset/AssetContent/TransactionHistoryVisualization.tsx @@ -213,7 +213,7 @@ export default withTooltip( onClick={() => setFilteredOrders(orders)} selectedBoxStyle={{ fill: `url(#${'brush_pattern'})`, - stroke: 'white' + stroke: 'black' }} useWindowMoveEvents renderBrushHandle={(props) => }