Repository Public
1[2 {3 "name": "authorization-mainnet-unsorted-instruments-noncanonical-decimals",4 "domain": "SPW-VENUE-AUTH-v1",5 "source": "packages/derivatives/src/live/canonical.ts venueAuthorizationBytes / venueAuthorizationHash",6 "object": {7 "v": 1,8 "authorizationId": "7a1c1f0e-8f5f-4b1e-9c56-000000000500",9 "keyId": "spw-0123456789abcdef",10 "venue": "hyperliquid",11 "network": "mainnet",12 "account": "0x70997970c51812dc3a010c7d01b50e0d17dc79c8",13 "agentAddress": "0x90f79bf6eb2c4f870365e785982e1f101e93b906",14 "agentName": "spw-live",15 "mode": "MANUAL_LIVE",16 "policy": {17 "allowedInstruments": [18 "hyperliquid:ETH",19 "hyperliquid:BTC",20 "hyperliquid:SOL"21 ],22 "maxLeverage": 5,23 "maxOrderNotional": "2500.50",24 "maxPositionNotional": "10000",25 "maxGrossExposure": "25000.000",26 "maxOrdersPerDay": 200,27 "maxPriceDeviationBps": 30028 },29 "createdAt": 1794000000,30 "expiresAt": 1796592000,31 "approveNonce": 1794000001234,32 "ackSha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3"33 },34 "canonicalHex": "5350572d56454e55452d415554482d7631000001000000017631000f00000024617574686f72697a6174696f6e496437613163316630652d386635662d346231652d396335362d3030303030303030303530300005000000146b657949647370772d3031323334353637383961626364656600050000000b76656e756568797065726c69717569640007000000076e6574776f726b6d61696e6e657400070000002a6163636f756e74307837303939373937306335313831326463336130313063376430316235306530643137646337396338000c0000002a6167656e74416464726573733078393066373962663665623263346638373033363565373835393832653166313031653933623930360009000000086167656e744e616d657370772d6c69766500040000000b6d6f64654d414e55414c5f4c49564500190000002f706f6c6963792e616c6c6f776564496e737472756d656e747368797065726c69717569643a4254432c68797065726c69717569643a4554482c68797065726c69717569643a534f4c001200000001706f6c6963792e6d61784c6576657261676535001700000006706f6c6963792e6d61784f726465724e6f74696f6e616c323530302e35001a00000005706f6c6963792e6d6178506f736974696f6e4e6f74696f6e616c3130303030001700000005706f6c6963792e6d617847726f73734578706f737572653235303030001600000003706f6c6963792e6d61784f7264657273506572446179323030001b00000003706f6c6963792e6d61785072696365446576696174696f6e42707333303000090000000a6372656174656441743137393430303030303000090000000a65787069726573417431373936353932303030000c0000000d617070726f76654e6f6e63653137393430303030303132333400090000004061636b53686132353663336333633363336333633363336333633363336333633363336333633363336333633363336333633363336333633363336333633363336333633363336333",35 "hashHex": "a13c666acb04f094ba30c46f4df0e10cde6d6fb6b872a55beac3cc884e673447"36 },37 {38 "name": "authorization-testnet-one-instrument",39 "domain": "SPW-VENUE-AUTH-v1",40 "source": "packages/derivatives/src/live/canonical.ts venueAuthorizationBytes / venueAuthorizationHash",41 "object": {42 "v": 1,43 "authorizationId": "7a1c1f0e-8f5f-4b1e-9c56-000000000501",44 "keyId": "spw-0123456789abcdef",45 "venue": "hyperliquid",46 "network": "testnet",47 "account": "0x70997970c51812dc3a010c7d01b50e0d17dc79c8",48 "agentAddress": "0x90f79bf6eb2c4f870365e785982e1f101e93b906",49 "agentName": "a_B-9",50 "mode": "MANUAL_LIVE",51 "policy": {52 "allowedInstruments": [53 "hyperliquid:BTC"54 ],55 "maxLeverage": 20,56 "maxOrderNotional": "0.5",57 "maxPositionNotional": "100",58 "maxGrossExposure": "100",59 "maxOrdersPerDay": 1,60 "maxPriceDeviationBps": 1061 },62 "createdAt": 1794000000,63 "expiresAt": 1796592000,64 "approveNonce": 1794000001234,65 "ackSha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3"66 },67 "canonicalHex": "5350572d56454e55452d415554482d7631000001000000017631000f00000024617574686f72697a6174696f6e496437613163316630652d386635662d346231652d396335362d3030303030303030303530310005000000146b657949647370772d3031323334353637383961626364656600050000000b76656e756568797065726c69717569640007000000076e6574776f726b746573746e657400070000002a6163636f756e74307837303939373937306335313831326463336130313063376430316235306530643137646337396338000c0000002a6167656e74416464726573733078393066373962663665623263346638373033363565373835393832653166313031653933623930360009000000056167656e744e616d65615f422d3900040000000b6d6f64654d414e55414c5f4c49564500190000000f706f6c6963792e616c6c6f776564496e737472756d656e747368797065726c69717569643a425443001200000002706f6c6963792e6d61784c657665726167653230001700000003706f6c6963792e6d61784f726465724e6f74696f6e616c302e35001a00000003706f6c6963792e6d6178506f736974696f6e4e6f74696f6e616c313030001700000003706f6c6963792e6d617847726f73734578706f73757265313030001600000001706f6c6963792e6d61784f726465727350657244617931001b00000002706f6c6963792e6d61785072696365446576696174696f6e427073313000090000000a6372656174656441743137393430303030303000090000000a65787069726573417431373936353932303030000c0000000d617070726f76654e6f6e63653137393430303030303132333400090000004061636b53686132353663336333633363336333633363336333633363336333633363336333633363336333633363336333633363336333633363336333633363336333633363336333",68 "hashHex": "e6ee188146a569efb10ac30d463e9178bcd54e98f87063c679a24da138e6cc52"69 }70]71