From 66ef6b9d312a1f67352de41e3019d0d3000bebe4 Mon Sep 17 00:00:00 2001 From: Less Date: Mon, 18 Mar 2024 20:33:07 +0700 Subject: [PATCH] chore: remove deprecated vote types --- src/sign/types.ts | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/src/sign/types.ts b/src/sign/types.ts index 10848e481..5e23da2b7 100644 --- a/src/sign/types.ts +++ b/src/sign/types.ts @@ -188,45 +188,6 @@ export const cancelProposal2Types = { ] }; -export const voteTypes = { - Vote: [ - { name: 'from', type: 'address' }, - { name: 'space', type: 'string' }, - { name: 'timestamp', type: 'uint64' }, - { name: 'proposal', type: 'string' }, - { name: 'choice', type: 'uint32' }, - { name: 'reason', type: 'string' }, - { name: 'app', type: 'string' }, - { name: 'metadata', type: 'string' } - ] -}; - -export const voteArrayTypes = { - Vote: [ - { name: 'from', type: 'address' }, - { name: 'space', type: 'string' }, - { name: 'timestamp', type: 'uint64' }, - { name: 'proposal', type: 'string' }, - { name: 'choice', type: 'uint32[]' }, - { name: 'reason', type: 'string' }, - { name: 'app', type: 'string' }, - { name: 'metadata', type: 'string' } - ] -}; - -export const voteStringTypes = { - Vote: [ - { name: 'from', type: 'address' }, - { name: 'space', type: 'string' }, - { name: 'timestamp', type: 'uint64' }, - { name: 'proposal', type: 'string' }, - { name: 'choice', type: 'string' }, - { name: 'reason', type: 'string' }, - { name: 'app', type: 'string' }, - { name: 'metadata', type: 'string' } - ] -}; - export const vote2Types = { Vote: [ { name: 'from', type: 'address' },