const length5 = [ "m/44'/0'/0'/0/0" , "m/44'/0'/0'/0/1" , "m/44'/0'/0'/1/0" , "m/44'/0'/0'/1/1" , "m/44'/0'/1'/0/0" , "m/44'/0'/1'/0/1" , "m/44'/0'/1'/1/0" , "m/44'/0'/1'/1/1" , "m/44'/1'/0'/0/0" , "m/44'/1'/0'/0/1" , "m/44'/1'/0'/1/0" , "m/44'/1'/0'/1/1" , "m/44'/1'/1'/0/0" , "m/44'/1'/1'/0/1" , "m/44'/1'/1'/1/0" , "m/44'/1'/1'/1/1" ] ; const wsLength5 = [ "m / 44' / 0' / 0' / 0 / 0" , "m / 44' / 0' / 0' / 0 / 1" , "m / 44' / 0' / 0' / 1 / 0" , "m / 44' / 0' / 0' / 1 / 1" , "m / 44' / 0' / 1' / 0 / 0" , "m / 44' / 0' / 1' / 0 / 1" , "m / 44' / 0' / 1' / 1 / 0" , "m / 44' / 0' / 1' / 1 / 1" , "m / 44' / 1' / 0' / 0 / 0" , "m / 44' / 1' / 0' / 0 / 1" , "m / 44' / 1' / 0' / 1 / 0" , "m / 44' / 1' / 0' / 1 / 1" , "m / 44' / 1' / 1' / 0 / 0" , "m / 44' / 1' / 1' / 0 / 1" , "m / 44' / 1' / 1' / 1 / 0" , "m / 44' / 1' / 1' / 1 / 1" ] ; const length4 = [ "m/44'/0'/0'/0" , "m/44'/0'/0'/1" , "m/44'/0'/1'/0" , "m/44'/0'/1'/1" , "m/44'/1'/0'/0" , "m/44'/1'/0'/1" , "m/44'/1'/1'/0" , "m/44'/1'/1'/1" ] ; const wsLength4 = [ "m / 44' / 0' / 0' / 0" , "m / 44' / 0' / 0' / 1" , "m / 44' / 0' / 1' / 0" , "m / 44' / 0' / 1' / 1" , "m / 44' / 1' / 0' / 0" , "m / 44' / 1' / 0' / 1" , "m / 44' / 1' / 1' / 0" , "m / 44' / 1' / 1' / 1" ] ; const length3 = [ "m/44'/0'/0'" , "m/44'/0'/1'" , "m/44'/1'/0'" , "m/44'/1'/1'" ] ; const wsLength3 = [ "m / 44' / 0' / 0'" , "m / 44' / 0' / 1'" , "m / 44' / 1' / 0'" , "m / 44' / 1' / 1'" ] ; const validCoinType = [ "m/44'/3'/0'/0" , "m/44'/60'/0'/0" , "m/44'/37310'/0'/0" ] ; const invalidCoinType = [ "m/44'/-1'/0'/0" , "m/44'/3.2'/0'/0" , "m/44'/twenty'/0'/0" ] ; const validAccount = [ "m/44'/0'/3'/0" , "m/44'/0'/30'/0" , "m/44'/0'/97878'/0" ] ; const invalidAccount = [ "m/44'/0'/-1'/0" , "m/44'/0'/a'/0" , "m/44'/0'/9.3'/0" ] ; const validChange = [ "m/44'/0'/0'/1" , "m/44'/0'/0'/0" ] ; const inValidChange = [ "m/44'/0'/0'/3" , "m/44'/0'/0'/-1" , "m/44'/0'/0'/0.5" , "m/44'/0'/0'/a" ] ; const validPaths = [ ... validCoinType , ... validAccount , ... validChange ] ; const inValidPaths = [ ... length5 , ... wsLength5 , ... invalidCoinType , ... invalidAccount , ... inValidChange ] ; export const valid = [ ... length4 , ... length3 , ... validPaths ] ; export const invalid = [ ... wsLength4 , ... wsLength3 , ... inValidPaths ] ; export const whitespaceValid = [ ... wsLength4 , ... wsLength3 , ... valid ] ; export const whitespaceInvalid = [ ... invalid ] ;