您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

SecurityToken.ts 65KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396
  1. /* Autogenerated file. Do not edit manually. */
  2. /* tslint:disable */
  3. /* eslint-disable */
  4. import type {
  5. BaseContract,
  6. BigNumberish,
  7. BytesLike,
  8. FunctionFragment,
  9. Result,
  10. Interface,
  11. EventFragment,
  12. AddressLike,
  13. ContractRunner,
  14. ContractMethod,
  15. Listener,
  16. } from "ethers";
  17. import type {
  18. TypedContractEvent,
  19. TypedDeferredTopicFilter,
  20. TypedEventLog,
  21. TypedLogDescription,
  22. TypedListener,
  23. TypedContractMethod,
  24. } from "../common";
  25. export declare namespace IERC20 {
  26. export type TokenDetailsStruct = {
  27. name: string;
  28. symbol: string;
  29. decimals: BigNumberish;
  30. maxSupply: BigNumberish;
  31. };
  32. export type TokenDetailsStructOutput = [
  33. name: string,
  34. symbol: string,
  35. decimals: bigint,
  36. maxSupply: bigint
  37. ] & { name: string; symbol: string; decimals: bigint; maxSupply: bigint };
  38. }
  39. export declare namespace IPartitions {
  40. export type PartitionStruct = { name: BytesLike; data: BytesLike };
  41. export type PartitionStructOutput = [name: string, data: string] & {
  42. name: string;
  43. data: string;
  44. };
  45. }
  46. export declare namespace IERC1410 {
  47. export type IssuanceStruct = {
  48. partition: BytesLike;
  49. tokenHolder: AddressLike;
  50. value: BigNumberish;
  51. data: BytesLike;
  52. };
  53. export type IssuanceStructOutput = [
  54. partition: string,
  55. tokenHolder: string,
  56. value: bigint,
  57. data: string
  58. ] & { partition: string; tokenHolder: string; value: bigint; data: string };
  59. export type RedemptionStruct = {
  60. partition: BytesLike;
  61. tokenHolder: AddressLike;
  62. value: BigNumberish;
  63. data: BytesLike;
  64. };
  65. export type RedemptionStructOutput = [
  66. partition: string,
  67. tokenHolder: string,
  68. value: bigint,
  69. data: string
  70. ] & { partition: string; tokenHolder: string; value: bigint; data: string };
  71. export type TransferStructStruct = {
  72. partition: BytesLike;
  73. from: AddressLike;
  74. to: AddressLike;
  75. value: BigNumberish;
  76. data: BytesLike;
  77. operatorData: BytesLike;
  78. };
  79. export type TransferStructStructOutput = [
  80. partition: string,
  81. from: string,
  82. to: string,
  83. value: bigint,
  84. data: string,
  85. operatorData: string
  86. ] & {
  87. partition: string;
  88. from: string;
  89. to: string;
  90. value: bigint;
  91. data: string;
  92. operatorData: string;
  93. };
  94. }
  95. export interface SecurityTokenInterface extends Interface {
  96. getFunction(
  97. nameOrSignature:
  98. | "ADMIN_ROLE"
  99. | "CONTROLLER_ROLE"
  100. | "ISSUER_ROLE"
  101. | "KYCtokenHolders"
  102. | "LOCKER_ROLE"
  103. | "OPERATOR_ROLE"
  104. | "VERSION"
  105. | "admins"
  106. | "authorizeController"
  107. | "authorizeOperator"
  108. | "balanceOf"
  109. | "balanceOfByPartition"
  110. | "certificateNonce"
  111. | "controllerRedeem"
  112. | "controllerRedeemByPartition"
  113. | "controllerTransfer"
  114. | "controllerTransferByPartition"
  115. | "controllers"
  116. | "createLock"
  117. | "decimals"
  118. | "getAllDocuments"
  119. | "getDefaultPartitions"
  120. | "getDocument"
  121. | "getRoleMembers"
  122. | "getRoleMembersLength"
  123. | "getTarget"
  124. | "getTargetImplementation"
  125. | "grantRole"
  126. | "hasLock"
  127. | "hasRole"
  128. | "initialize"
  129. | "isAdmin"
  130. | "isControllable"
  131. | "isController"
  132. | "isIssuable"
  133. | "isIssuer"
  134. | "isLocker"
  135. | "isOperator"
  136. | "isOperatorFor"
  137. | "isTokenHolderKYC"
  138. | "issue"
  139. | "issueByPartition"
  140. | "issueByPartitionAndBatches"
  141. | "issuers"
  142. | "lockedAmount"
  143. | "lockers"
  144. | "maxSupply"
  145. | "name"
  146. | "numOfControllers"
  147. | "operatorRedeemByPartition"
  148. | "operatorRedeemByPartitionAndBatches"
  149. | "operatorTransferBetweenPartitions"
  150. | "operatorTransferByPartition"
  151. | "operatorTransferByPartitionAndBatches"
  152. | "operators"
  153. | "partitionsOf"
  154. | "redeemFrom"
  155. | "removeDocument"
  156. | "removeLock"
  157. | "renounceIssuance"
  158. | "revokeController"
  159. | "revokeOperator"
  160. | "revokeRole"
  161. | "setDefaultPartitions"
  162. | "setDocument"
  163. | "setTarget"
  164. | "symbol"
  165. | "totalLockedAmount"
  166. | "totalPartitions"
  167. | "totalSupply"
  168. | "totalSupplyByPartition"
  169. | "unKYCtokenHolders"
  170. ): FunctionFragment;
  171. getEvent(
  172. nameOrSignatureOrTopic:
  173. | "AuthorizedOperator"
  174. | "ControllerAuthorized"
  175. | "ControllerRedemption"
  176. | "ControllerRedemptionByPartition"
  177. | "ControllerRevoked"
  178. | "ControllerTransfer"
  179. | "ControllerTransferByPartition"
  180. | "DocumentRemoved"
  181. | "DocumentUpdated"
  182. | "Initialized"
  183. | "IssuanceRenunciation"
  184. | "Issued"
  185. | "IssuedByPartition"
  186. | "LockCreated"
  187. | "LockReleased"
  188. | "Redeemed"
  189. | "RedeemedByPartition"
  190. | "RevokedOperator"
  191. | "RoleGranted"
  192. | "RoleRevoked"
  193. | "SecurityTokenInitialized"
  194. | "Transfer"
  195. | "TransferByPartition"
  196. ): EventFragment;
  197. encodeFunctionData(
  198. functionFragment: "ADMIN_ROLE",
  199. values?: undefined
  200. ): string;
  201. encodeFunctionData(
  202. functionFragment: "CONTROLLER_ROLE",
  203. values?: undefined
  204. ): string;
  205. encodeFunctionData(
  206. functionFragment: "ISSUER_ROLE",
  207. values?: undefined
  208. ): string;
  209. encodeFunctionData(
  210. functionFragment: "KYCtokenHolders",
  211. values: [AddressLike[]]
  212. ): string;
  213. encodeFunctionData(
  214. functionFragment: "LOCKER_ROLE",
  215. values?: undefined
  216. ): string;
  217. encodeFunctionData(
  218. functionFragment: "OPERATOR_ROLE",
  219. values?: undefined
  220. ): string;
  221. encodeFunctionData(functionFragment: "VERSION", values?: undefined): string;
  222. encodeFunctionData(functionFragment: "admins", values?: undefined): string;
  223. encodeFunctionData(
  224. functionFragment: "authorizeController",
  225. values: [AddressLike, BytesLike]
  226. ): string;
  227. encodeFunctionData(
  228. functionFragment: "authorizeOperator",
  229. values: [AddressLike, AddressLike[]]
  230. ): string;
  231. encodeFunctionData(
  232. functionFragment: "balanceOf",
  233. values: [AddressLike]
  234. ): string;
  235. encodeFunctionData(
  236. functionFragment: "balanceOfByPartition",
  237. values: [BytesLike, AddressLike]
  238. ): string;
  239. encodeFunctionData(
  240. functionFragment: "certificateNonce",
  241. values?: undefined
  242. ): string;
  243. encodeFunctionData(
  244. functionFragment: "controllerRedeem",
  245. values: [AddressLike, BigNumberish, BytesLike, BytesLike]
  246. ): string;
  247. encodeFunctionData(
  248. functionFragment: "controllerRedeemByPartition",
  249. values: [BytesLike, AddressLike, BigNumberish, BytesLike, BytesLike]
  250. ): string;
  251. encodeFunctionData(
  252. functionFragment: "controllerTransfer",
  253. values: [AddressLike, AddressLike, BigNumberish, BytesLike, BytesLike]
  254. ): string;
  255. encodeFunctionData(
  256. functionFragment: "controllerTransferByPartition",
  257. values: [
  258. BytesLike,
  259. AddressLike,
  260. AddressLike,
  261. BigNumberish,
  262. BytesLike,
  263. BytesLike
  264. ]
  265. ): string;
  266. encodeFunctionData(
  267. functionFragment: "controllers",
  268. values?: undefined
  269. ): string;
  270. encodeFunctionData(
  271. functionFragment: "createLock",
  272. values: [BytesLike, AddressLike, BigNumberish]
  273. ): string;
  274. encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
  275. encodeFunctionData(
  276. functionFragment: "getAllDocuments",
  277. values?: undefined
  278. ): string;
  279. encodeFunctionData(
  280. functionFragment: "getDefaultPartitions",
  281. values?: undefined
  282. ): string;
  283. encodeFunctionData(
  284. functionFragment: "getDocument",
  285. values: [BytesLike]
  286. ): string;
  287. encodeFunctionData(
  288. functionFragment: "getRoleMembers",
  289. values: [BytesLike]
  290. ): string;
  291. encodeFunctionData(
  292. functionFragment: "getRoleMembersLength",
  293. values: [BytesLike]
  294. ): string;
  295. encodeFunctionData(functionFragment: "getTarget", values?: undefined): string;
  296. encodeFunctionData(
  297. functionFragment: "getTargetImplementation",
  298. values?: undefined
  299. ): string;
  300. encodeFunctionData(
  301. functionFragment: "grantRole",
  302. values: [BytesLike, AddressLike]
  303. ): string;
  304. encodeFunctionData(
  305. functionFragment: "hasLock",
  306. values: [AddressLike, BytesLike]
  307. ): string;
  308. encodeFunctionData(
  309. functionFragment: "hasRole",
  310. values: [BytesLike, AddressLike]
  311. ): string;
  312. encodeFunctionData(
  313. functionFragment: "initialize",
  314. values: [
  315. AddressLike,
  316. AddressLike,
  317. AddressLike[],
  318. AddressLike[],
  319. AddressLike[],
  320. IERC20.TokenDetailsStruct,
  321. IPartitions.PartitionStruct[]
  322. ]
  323. ): string;
  324. encodeFunctionData(
  325. functionFragment: "isAdmin",
  326. values: [AddressLike]
  327. ): string;
  328. encodeFunctionData(
  329. functionFragment: "isControllable",
  330. values?: undefined
  331. ): string;
  332. encodeFunctionData(
  333. functionFragment: "isController",
  334. values: [AddressLike]
  335. ): string;
  336. encodeFunctionData(
  337. functionFragment: "isIssuable",
  338. values?: undefined
  339. ): string;
  340. encodeFunctionData(
  341. functionFragment: "isIssuer",
  342. values: [AddressLike]
  343. ): string;
  344. encodeFunctionData(
  345. functionFragment: "isLocker",
  346. values: [AddressLike]
  347. ): string;
  348. encodeFunctionData(
  349. functionFragment: "isOperator",
  350. values: [AddressLike]
  351. ): string;
  352. encodeFunctionData(
  353. functionFragment: "isOperatorFor",
  354. values: [AddressLike, AddressLike]
  355. ): string;
  356. encodeFunctionData(
  357. functionFragment: "isTokenHolderKYC",
  358. values: [AddressLike]
  359. ): string;
  360. encodeFunctionData(
  361. functionFragment: "issue",
  362. values: [AddressLike, BigNumberish, BytesLike]
  363. ): string;
  364. encodeFunctionData(
  365. functionFragment: "issueByPartition",
  366. values: [BytesLike, AddressLike, BigNumberish, BytesLike]
  367. ): string;
  368. encodeFunctionData(
  369. functionFragment: "issueByPartitionAndBatches",
  370. values: [IERC1410.IssuanceStruct[]]
  371. ): string;
  372. encodeFunctionData(functionFragment: "issuers", values?: undefined): string;
  373. encodeFunctionData(
  374. functionFragment: "lockedAmount",
  375. values: [AddressLike, BytesLike]
  376. ): string;
  377. encodeFunctionData(functionFragment: "lockers", values?: undefined): string;
  378. encodeFunctionData(functionFragment: "maxSupply", values?: undefined): string;
  379. encodeFunctionData(functionFragment: "name", values?: undefined): string;
  380. encodeFunctionData(
  381. functionFragment: "numOfControllers",
  382. values?: undefined
  383. ): string;
  384. encodeFunctionData(
  385. functionFragment: "operatorRedeemByPartition",
  386. values: [BytesLike, AddressLike, BigNumberish, BytesLike]
  387. ): string;
  388. encodeFunctionData(
  389. functionFragment: "operatorRedeemByPartitionAndBatches",
  390. values: [IERC1410.RedemptionStruct[]]
  391. ): string;
  392. encodeFunctionData(
  393. functionFragment: "operatorTransferBetweenPartitions",
  394. values: [
  395. BytesLike,
  396. BytesLike,
  397. AddressLike,
  398. AddressLike,
  399. BigNumberish,
  400. BytesLike,
  401. BytesLike
  402. ]
  403. ): string;
  404. encodeFunctionData(
  405. functionFragment: "operatorTransferByPartition",
  406. values: [
  407. BytesLike,
  408. AddressLike,
  409. AddressLike,
  410. BigNumberish,
  411. BytesLike,
  412. BytesLike
  413. ]
  414. ): string;
  415. encodeFunctionData(
  416. functionFragment: "operatorTransferByPartitionAndBatches",
  417. values: [IERC1410.TransferStructStruct[]]
  418. ): string;
  419. encodeFunctionData(functionFragment: "operators", values?: undefined): string;
  420. encodeFunctionData(
  421. functionFragment: "partitionsOf",
  422. values: [AddressLike]
  423. ): string;
  424. encodeFunctionData(
  425. functionFragment: "redeemFrom",
  426. values: [AddressLike, BigNumberish, BytesLike]
  427. ): string;
  428. encodeFunctionData(
  429. functionFragment: "removeDocument",
  430. values: [BytesLike]
  431. ): string;
  432. encodeFunctionData(
  433. functionFragment: "removeLock",
  434. values: [BytesLike, AddressLike, BigNumberish]
  435. ): string;
  436. encodeFunctionData(
  437. functionFragment: "renounceIssuance",
  438. values?: undefined
  439. ): string;
  440. encodeFunctionData(
  441. functionFragment: "revokeController",
  442. values: [AddressLike, BytesLike]
  443. ): string;
  444. encodeFunctionData(
  445. functionFragment: "revokeOperator",
  446. values: [AddressLike, AddressLike[]]
  447. ): string;
  448. encodeFunctionData(
  449. functionFragment: "revokeRole",
  450. values: [BytesLike, AddressLike]
  451. ): string;
  452. encodeFunctionData(
  453. functionFragment: "setDefaultPartitions",
  454. values: [BytesLike[]]
  455. ): string;
  456. encodeFunctionData(
  457. functionFragment: "setDocument",
  458. values: [BytesLike, string, string, BytesLike]
  459. ): string;
  460. encodeFunctionData(
  461. functionFragment: "setTarget",
  462. values: [AddressLike]
  463. ): string;
  464. encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
  465. encodeFunctionData(
  466. functionFragment: "totalLockedAmount",
  467. values: [AddressLike]
  468. ): string;
  469. encodeFunctionData(
  470. functionFragment: "totalPartitions",
  471. values?: undefined
  472. ): string;
  473. encodeFunctionData(
  474. functionFragment: "totalSupply",
  475. values?: undefined
  476. ): string;
  477. encodeFunctionData(
  478. functionFragment: "totalSupplyByPartition",
  479. values: [BytesLike]
  480. ): string;
  481. encodeFunctionData(
  482. functionFragment: "unKYCtokenHolders",
  483. values: [AddressLike[]]
  484. ): string;
  485. decodeFunctionResult(functionFragment: "ADMIN_ROLE", data: BytesLike): Result;
  486. decodeFunctionResult(
  487. functionFragment: "CONTROLLER_ROLE",
  488. data: BytesLike
  489. ): Result;
  490. decodeFunctionResult(
  491. functionFragment: "ISSUER_ROLE",
  492. data: BytesLike
  493. ): Result;
  494. decodeFunctionResult(
  495. functionFragment: "KYCtokenHolders",
  496. data: BytesLike
  497. ): Result;
  498. decodeFunctionResult(
  499. functionFragment: "LOCKER_ROLE",
  500. data: BytesLike
  501. ): Result;
  502. decodeFunctionResult(
  503. functionFragment: "OPERATOR_ROLE",
  504. data: BytesLike
  505. ): Result;
  506. decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result;
  507. decodeFunctionResult(functionFragment: "admins", data: BytesLike): Result;
  508. decodeFunctionResult(
  509. functionFragment: "authorizeController",
  510. data: BytesLike
  511. ): Result;
  512. decodeFunctionResult(
  513. functionFragment: "authorizeOperator",
  514. data: BytesLike
  515. ): Result;
  516. decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
  517. decodeFunctionResult(
  518. functionFragment: "balanceOfByPartition",
  519. data: BytesLike
  520. ): Result;
  521. decodeFunctionResult(
  522. functionFragment: "certificateNonce",
  523. data: BytesLike
  524. ): Result;
  525. decodeFunctionResult(
  526. functionFragment: "controllerRedeem",
  527. data: BytesLike
  528. ): Result;
  529. decodeFunctionResult(
  530. functionFragment: "controllerRedeemByPartition",
  531. data: BytesLike
  532. ): Result;
  533. decodeFunctionResult(
  534. functionFragment: "controllerTransfer",
  535. data: BytesLike
  536. ): Result;
  537. decodeFunctionResult(
  538. functionFragment: "controllerTransferByPartition",
  539. data: BytesLike
  540. ): Result;
  541. decodeFunctionResult(
  542. functionFragment: "controllers",
  543. data: BytesLike
  544. ): Result;
  545. decodeFunctionResult(functionFragment: "createLock", data: BytesLike): Result;
  546. decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
  547. decodeFunctionResult(
  548. functionFragment: "getAllDocuments",
  549. data: BytesLike
  550. ): Result;
  551. decodeFunctionResult(
  552. functionFragment: "getDefaultPartitions",
  553. data: BytesLike
  554. ): Result;
  555. decodeFunctionResult(
  556. functionFragment: "getDocument",
  557. data: BytesLike
  558. ): Result;
  559. decodeFunctionResult(
  560. functionFragment: "getRoleMembers",
  561. data: BytesLike
  562. ): Result;
  563. decodeFunctionResult(
  564. functionFragment: "getRoleMembersLength",
  565. data: BytesLike
  566. ): Result;
  567. decodeFunctionResult(functionFragment: "getTarget", data: BytesLike): Result;
  568. decodeFunctionResult(
  569. functionFragment: "getTargetImplementation",
  570. data: BytesLike
  571. ): Result;
  572. decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
  573. decodeFunctionResult(functionFragment: "hasLock", data: BytesLike): Result;
  574. decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
  575. decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
  576. decodeFunctionResult(functionFragment: "isAdmin", data: BytesLike): Result;
  577. decodeFunctionResult(
  578. functionFragment: "isControllable",
  579. data: BytesLike
  580. ): Result;
  581. decodeFunctionResult(
  582. functionFragment: "isController",
  583. data: BytesLike
  584. ): Result;
  585. decodeFunctionResult(functionFragment: "isIssuable", data: BytesLike): Result;
  586. decodeFunctionResult(functionFragment: "isIssuer", data: BytesLike): Result;
  587. decodeFunctionResult(functionFragment: "isLocker", data: BytesLike): Result;
  588. decodeFunctionResult(functionFragment: "isOperator", data: BytesLike): Result;
  589. decodeFunctionResult(
  590. functionFragment: "isOperatorFor",
  591. data: BytesLike
  592. ): Result;
  593. decodeFunctionResult(
  594. functionFragment: "isTokenHolderKYC",
  595. data: BytesLike
  596. ): Result;
  597. decodeFunctionResult(functionFragment: "issue", data: BytesLike): Result;
  598. decodeFunctionResult(
  599. functionFragment: "issueByPartition",
  600. data: BytesLike
  601. ): Result;
  602. decodeFunctionResult(
  603. functionFragment: "issueByPartitionAndBatches",
  604. data: BytesLike
  605. ): Result;
  606. decodeFunctionResult(functionFragment: "issuers", data: BytesLike): Result;
  607. decodeFunctionResult(
  608. functionFragment: "lockedAmount",
  609. data: BytesLike
  610. ): Result;
  611. decodeFunctionResult(functionFragment: "lockers", data: BytesLike): Result;
  612. decodeFunctionResult(functionFragment: "maxSupply", data: BytesLike): Result;
  613. decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
  614. decodeFunctionResult(
  615. functionFragment: "numOfControllers",
  616. data: BytesLike
  617. ): Result;
  618. decodeFunctionResult(
  619. functionFragment: "operatorRedeemByPartition",
  620. data: BytesLike
  621. ): Result;
  622. decodeFunctionResult(
  623. functionFragment: "operatorRedeemByPartitionAndBatches",
  624. data: BytesLike
  625. ): Result;
  626. decodeFunctionResult(
  627. functionFragment: "operatorTransferBetweenPartitions",
  628. data: BytesLike
  629. ): Result;
  630. decodeFunctionResult(
  631. functionFragment: "operatorTransferByPartition",
  632. data: BytesLike
  633. ): Result;
  634. decodeFunctionResult(
  635. functionFragment: "operatorTransferByPartitionAndBatches",
  636. data: BytesLike
  637. ): Result;
  638. decodeFunctionResult(functionFragment: "operators", data: BytesLike): Result;
  639. decodeFunctionResult(
  640. functionFragment: "partitionsOf",
  641. data: BytesLike
  642. ): Result;
  643. decodeFunctionResult(functionFragment: "redeemFrom", data: BytesLike): Result;
  644. decodeFunctionResult(
  645. functionFragment: "removeDocument",
  646. data: BytesLike
  647. ): Result;
  648. decodeFunctionResult(functionFragment: "removeLock", data: BytesLike): Result;
  649. decodeFunctionResult(
  650. functionFragment: "renounceIssuance",
  651. data: BytesLike
  652. ): Result;
  653. decodeFunctionResult(
  654. functionFragment: "revokeController",
  655. data: BytesLike
  656. ): Result;
  657. decodeFunctionResult(
  658. functionFragment: "revokeOperator",
  659. data: BytesLike
  660. ): Result;
  661. decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
  662. decodeFunctionResult(
  663. functionFragment: "setDefaultPartitions",
  664. data: BytesLike
  665. ): Result;
  666. decodeFunctionResult(
  667. functionFragment: "setDocument",
  668. data: BytesLike
  669. ): Result;
  670. decodeFunctionResult(functionFragment: "setTarget", data: BytesLike): Result;
  671. decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
  672. decodeFunctionResult(
  673. functionFragment: "totalLockedAmount",
  674. data: BytesLike
  675. ): Result;
  676. decodeFunctionResult(
  677. functionFragment: "totalPartitions",
  678. data: BytesLike
  679. ): Result;
  680. decodeFunctionResult(
  681. functionFragment: "totalSupply",
  682. data: BytesLike
  683. ): Result;
  684. decodeFunctionResult(
  685. functionFragment: "totalSupplyByPartition",
  686. data: BytesLike
  687. ): Result;
  688. decodeFunctionResult(
  689. functionFragment: "unKYCtokenHolders",
  690. data: BytesLike
  691. ): Result;
  692. }
  693. export namespace AuthorizedOperatorEvent {
  694. export type InputTuple = [operator: AddressLike, tokenHolder: AddressLike];
  695. export type OutputTuple = [operator: string, tokenHolder: string];
  696. export interface OutputObject {
  697. operator: string;
  698. tokenHolder: string;
  699. }
  700. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  701. export type Filter = TypedDeferredTopicFilter<Event>;
  702. export type Log = TypedEventLog<Event>;
  703. export type LogDescription = TypedLogDescription<Event>;
  704. }
  705. export namespace ControllerAuthorizedEvent {
  706. export type InputTuple = [issuer: AddressLike, newController: AddressLike];
  707. export type OutputTuple = [issuer: string, newController: string];
  708. export interface OutputObject {
  709. issuer: string;
  710. newController: string;
  711. }
  712. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  713. export type Filter = TypedDeferredTopicFilter<Event>;
  714. export type Log = TypedEventLog<Event>;
  715. export type LogDescription = TypedLogDescription<Event>;
  716. }
  717. export namespace ControllerRedemptionEvent {
  718. export type InputTuple = [
  719. _controller: AddressLike,
  720. _tokenHolder: AddressLike,
  721. _value: BigNumberish,
  722. _data: BytesLike,
  723. _operatorData: BytesLike
  724. ];
  725. export type OutputTuple = [
  726. _controller: string,
  727. _tokenHolder: string,
  728. _value: bigint,
  729. _data: string,
  730. _operatorData: string
  731. ];
  732. export interface OutputObject {
  733. _controller: string;
  734. _tokenHolder: string;
  735. _value: bigint;
  736. _data: string;
  737. _operatorData: string;
  738. }
  739. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  740. export type Filter = TypedDeferredTopicFilter<Event>;
  741. export type Log = TypedEventLog<Event>;
  742. export type LogDescription = TypedLogDescription<Event>;
  743. }
  744. export namespace ControllerRedemptionByPartitionEvent {
  745. export type InputTuple = [
  746. partition: BytesLike,
  747. controller: AddressLike,
  748. tokenHolder: AddressLike,
  749. value: BigNumberish,
  750. data: BytesLike,
  751. controllerData: BytesLike
  752. ];
  753. export type OutputTuple = [
  754. partition: string,
  755. controller: string,
  756. tokenHolder: string,
  757. value: bigint,
  758. data: string,
  759. controllerData: string
  760. ];
  761. export interface OutputObject {
  762. partition: string;
  763. controller: string;
  764. tokenHolder: string;
  765. value: bigint;
  766. data: string;
  767. controllerData: string;
  768. }
  769. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  770. export type Filter = TypedDeferredTopicFilter<Event>;
  771. export type Log = TypedEventLog<Event>;
  772. export type LogDescription = TypedLogDescription<Event>;
  773. }
  774. export namespace ControllerRevokedEvent {
  775. export type InputTuple = [issuer: AddressLike, oldController: AddressLike];
  776. export type OutputTuple = [issuer: string, oldController: string];
  777. export interface OutputObject {
  778. issuer: string;
  779. oldController: string;
  780. }
  781. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  782. export type Filter = TypedDeferredTopicFilter<Event>;
  783. export type Log = TypedEventLog<Event>;
  784. export type LogDescription = TypedLogDescription<Event>;
  785. }
  786. export namespace ControllerTransferEvent {
  787. export type InputTuple = [
  788. _controller: AddressLike,
  789. _from: AddressLike,
  790. _to: AddressLike,
  791. _value: BigNumberish,
  792. _data: BytesLike,
  793. _operatorData: BytesLike
  794. ];
  795. export type OutputTuple = [
  796. _controller: string,
  797. _from: string,
  798. _to: string,
  799. _value: bigint,
  800. _data: string,
  801. _operatorData: string
  802. ];
  803. export interface OutputObject {
  804. _controller: string;
  805. _from: string;
  806. _to: string;
  807. _value: bigint;
  808. _data: string;
  809. _operatorData: string;
  810. }
  811. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  812. export type Filter = TypedDeferredTopicFilter<Event>;
  813. export type Log = TypedEventLog<Event>;
  814. export type LogDescription = TypedLogDescription<Event>;
  815. }
  816. export namespace ControllerTransferByPartitionEvent {
  817. export type InputTuple = [
  818. partition: BytesLike,
  819. controller: AddressLike,
  820. from: AddressLike,
  821. to: AddressLike,
  822. value: BigNumberish,
  823. data: BytesLike,
  824. controllerData: BytesLike
  825. ];
  826. export type OutputTuple = [
  827. partition: string,
  828. controller: string,
  829. from: string,
  830. to: string,
  831. value: bigint,
  832. data: string,
  833. controllerData: string
  834. ];
  835. export interface OutputObject {
  836. partition: string;
  837. controller: string;
  838. from: string;
  839. to: string;
  840. value: bigint;
  841. data: string;
  842. controllerData: string;
  843. }
  844. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  845. export type Filter = TypedDeferredTopicFilter<Event>;
  846. export type Log = TypedEventLog<Event>;
  847. export type LogDescription = TypedLogDescription<Event>;
  848. }
  849. export namespace DocumentRemovedEvent {
  850. export type InputTuple = [
  851. _name: string,
  852. _uri: string,
  853. _documentHash: BytesLike
  854. ];
  855. export type OutputTuple = [
  856. _name: string,
  857. _uri: string,
  858. _documentHash: string
  859. ];
  860. export interface OutputObject {
  861. _name: string;
  862. _uri: string;
  863. _documentHash: string;
  864. }
  865. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  866. export type Filter = TypedDeferredTopicFilter<Event>;
  867. export type Log = TypedEventLog<Event>;
  868. export type LogDescription = TypedLogDescription<Event>;
  869. }
  870. export namespace DocumentUpdatedEvent {
  871. export type InputTuple = [
  872. _name: string,
  873. _uri: string,
  874. _documentHash: BytesLike
  875. ];
  876. export type OutputTuple = [
  877. _name: string,
  878. _uri: string,
  879. _documentHash: string
  880. ];
  881. export interface OutputObject {
  882. _name: string;
  883. _uri: string;
  884. _documentHash: string;
  885. }
  886. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  887. export type Filter = TypedDeferredTopicFilter<Event>;
  888. export type Log = TypedEventLog<Event>;
  889. export type LogDescription = TypedLogDescription<Event>;
  890. }
  891. export namespace InitializedEvent {
  892. export type InputTuple = [version: BigNumberish];
  893. export type OutputTuple = [version: bigint];
  894. export interface OutputObject {
  895. version: bigint;
  896. }
  897. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  898. export type Filter = TypedDeferredTopicFilter<Event>;
  899. export type Log = TypedEventLog<Event>;
  900. export type LogDescription = TypedLogDescription<Event>;
  901. }
  902. export namespace IssuanceRenunciationEvent {
  903. export type InputTuple = [issuer: AddressLike];
  904. export type OutputTuple = [issuer: string];
  905. export interface OutputObject {
  906. issuer: string;
  907. }
  908. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  909. export type Filter = TypedDeferredTopicFilter<Event>;
  910. export type Log = TypedEventLog<Event>;
  911. export type LogDescription = TypedLogDescription<Event>;
  912. }
  913. export namespace IssuedEvent {
  914. export type InputTuple = [
  915. _operator: AddressLike,
  916. _to: AddressLike,
  917. _value: BigNumberish,
  918. _data: BytesLike
  919. ];
  920. export type OutputTuple = [
  921. _operator: string,
  922. _to: string,
  923. _value: bigint,
  924. _data: string
  925. ];
  926. export interface OutputObject {
  927. _operator: string;
  928. _to: string;
  929. _value: bigint;
  930. _data: string;
  931. }
  932. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  933. export type Filter = TypedDeferredTopicFilter<Event>;
  934. export type Log = TypedEventLog<Event>;
  935. export type LogDescription = TypedLogDescription<Event>;
  936. }
  937. export namespace IssuedByPartitionEvent {
  938. export type InputTuple = [
  939. partition: BytesLike,
  940. operator: AddressLike,
  941. to: AddressLike,
  942. amount: BigNumberish,
  943. data: BytesLike,
  944. operatorData: BytesLike
  945. ];
  946. export type OutputTuple = [
  947. partition: string,
  948. operator: string,
  949. to: string,
  950. amount: bigint,
  951. data: string,
  952. operatorData: string
  953. ];
  954. export interface OutputObject {
  955. partition: string;
  956. operator: string;
  957. to: string;
  958. amount: bigint;
  959. data: string;
  960. operatorData: string;
  961. }
  962. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  963. export type Filter = TypedDeferredTopicFilter<Event>;
  964. export type Log = TypedEventLog<Event>;
  965. export type LogDescription = TypedLogDescription<Event>;
  966. }
  967. export namespace LockCreatedEvent {
  968. export type InputTuple = [
  969. account: AddressLike,
  970. partition: BytesLike,
  971. value: BigNumberish
  972. ];
  973. export type OutputTuple = [account: string, partition: string, value: bigint];
  974. export interface OutputObject {
  975. account: string;
  976. partition: string;
  977. value: bigint;
  978. }
  979. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  980. export type Filter = TypedDeferredTopicFilter<Event>;
  981. export type Log = TypedEventLog<Event>;
  982. export type LogDescription = TypedLogDescription<Event>;
  983. }
  984. export namespace LockReleasedEvent {
  985. export type InputTuple = [
  986. account: AddressLike,
  987. partition: BytesLike,
  988. value: BigNumberish
  989. ];
  990. export type OutputTuple = [account: string, partition: string, value: bigint];
  991. export interface OutputObject {
  992. account: string;
  993. partition: string;
  994. value: bigint;
  995. }
  996. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  997. export type Filter = TypedDeferredTopicFilter<Event>;
  998. export type Log = TypedEventLog<Event>;
  999. export type LogDescription = TypedLogDescription<Event>;
  1000. }
  1001. export namespace RedeemedEvent {
  1002. export type InputTuple = [
  1003. _operator: AddressLike,
  1004. _from: AddressLike,
  1005. _value: BigNumberish,
  1006. _data: BytesLike
  1007. ];
  1008. export type OutputTuple = [
  1009. _operator: string,
  1010. _from: string,
  1011. _value: bigint,
  1012. _data: string
  1013. ];
  1014. export interface OutputObject {
  1015. _operator: string;
  1016. _from: string;
  1017. _value: bigint;
  1018. _data: string;
  1019. }
  1020. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  1021. export type Filter = TypedDeferredTopicFilter<Event>;
  1022. export type Log = TypedEventLog<Event>;
  1023. export type LogDescription = TypedLogDescription<Event>;
  1024. }
  1025. export namespace RedeemedByPartitionEvent {
  1026. export type InputTuple = [
  1027. partition: BytesLike,
  1028. operator: AddressLike,
  1029. from: AddressLike,
  1030. value: BigNumberish,
  1031. operatorData: BytesLike
  1032. ];
  1033. export type OutputTuple = [
  1034. partition: string,
  1035. operator: string,
  1036. from: string,
  1037. value: bigint,
  1038. operatorData: string
  1039. ];
  1040. export interface OutputObject {
  1041. partition: string;
  1042. operator: string;
  1043. from: string;
  1044. value: bigint;
  1045. operatorData: string;
  1046. }
  1047. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  1048. export type Filter = TypedDeferredTopicFilter<Event>;
  1049. export type Log = TypedEventLog<Event>;
  1050. export type LogDescription = TypedLogDescription<Event>;
  1051. }
  1052. export namespace RevokedOperatorEvent {
  1053. export type InputTuple = [operator: AddressLike, tokenHolder: AddressLike];
  1054. export type OutputTuple = [operator: string, tokenHolder: string];
  1055. export interface OutputObject {
  1056. operator: string;
  1057. tokenHolder: string;
  1058. }
  1059. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  1060. export type Filter = TypedDeferredTopicFilter<Event>;
  1061. export type Log = TypedEventLog<Event>;
  1062. export type LogDescription = TypedLogDescription<Event>;
  1063. }
  1064. export namespace RoleGrantedEvent {
  1065. export type InputTuple = [role: BytesLike, account: AddressLike];
  1066. export type OutputTuple = [role: string, account: string];
  1067. export interface OutputObject {
  1068. role: string;
  1069. account: string;
  1070. }
  1071. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  1072. export type Filter = TypedDeferredTopicFilter<Event>;
  1073. export type Log = TypedEventLog<Event>;
  1074. export type LogDescription = TypedLogDescription<Event>;
  1075. }
  1076. export namespace RoleRevokedEvent {
  1077. export type InputTuple = [role: BytesLike, account: AddressLike];
  1078. export type OutputTuple = [role: string, account: string];
  1079. export interface OutputObject {
  1080. role: string;
  1081. account: string;
  1082. }
  1083. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  1084. export type Filter = TypedDeferredTopicFilter<Event>;
  1085. export type Log = TypedEventLog<Event>;
  1086. export type LogDescription = TypedLogDescription<Event>;
  1087. }
  1088. export namespace SecurityTokenInitializedEvent {
  1089. export type InputTuple = [_version: BigNumberish];
  1090. export type OutputTuple = [_version: bigint];
  1091. export interface OutputObject {
  1092. _version: bigint;
  1093. }
  1094. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  1095. export type Filter = TypedDeferredTopicFilter<Event>;
  1096. export type Log = TypedEventLog<Event>;
  1097. export type LogDescription = TypedLogDescription<Event>;
  1098. }
  1099. export namespace TransferEvent {
  1100. export type InputTuple = [
  1101. from: AddressLike,
  1102. to: AddressLike,
  1103. value: BigNumberish
  1104. ];
  1105. export type OutputTuple = [from: string, to: string, value: bigint];
  1106. export interface OutputObject {
  1107. from: string;
  1108. to: string;
  1109. value: bigint;
  1110. }
  1111. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  1112. export type Filter = TypedDeferredTopicFilter<Event>;
  1113. export type Log = TypedEventLog<Event>;
  1114. export type LogDescription = TypedLogDescription<Event>;
  1115. }
  1116. export namespace TransferByPartitionEvent {
  1117. export type InputTuple = [
  1118. _fromPartition: BytesLike,
  1119. _toPartition: BytesLike,
  1120. _operator: AddressLike,
  1121. _from: AddressLike,
  1122. _to: AddressLike,
  1123. _value: BigNumberish,
  1124. _data: BytesLike,
  1125. _operatorData: BytesLike
  1126. ];
  1127. export type OutputTuple = [
  1128. _fromPartition: string,
  1129. _toPartition: string,
  1130. _operator: string,
  1131. _from: string,
  1132. _to: string,
  1133. _value: bigint,
  1134. _data: string,
  1135. _operatorData: string
  1136. ];
  1137. export interface OutputObject {
  1138. _fromPartition: string;
  1139. _toPartition: string;
  1140. _operator: string;
  1141. _from: string;
  1142. _to: string;
  1143. _value: bigint;
  1144. _data: string;
  1145. _operatorData: string;
  1146. }
  1147. export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  1148. export type Filter = TypedDeferredTopicFilter<Event>;
  1149. export type Log = TypedEventLog<Event>;
  1150. export type LogDescription = TypedLogDescription<Event>;
  1151. }
  1152. export interface SecurityToken extends BaseContract {
  1153. connect(runner?: ContractRunner | null): SecurityToken;
  1154. waitForDeployment(): Promise<this>;
  1155. interface: SecurityTokenInterface;
  1156. queryFilter<TCEvent extends TypedContractEvent>(
  1157. event: TCEvent,
  1158. fromBlockOrBlockhash?: string | number | undefined,
  1159. toBlock?: string | number | undefined
  1160. ): Promise<Array<TypedEventLog<TCEvent>>>;
  1161. queryFilter<TCEvent extends TypedContractEvent>(
  1162. filter: TypedDeferredTopicFilter<TCEvent>,
  1163. fromBlockOrBlockhash?: string | number | undefined,
  1164. toBlock?: string | number | undefined
  1165. ): Promise<Array<TypedEventLog<TCEvent>>>;
  1166. on<TCEvent extends TypedContractEvent>(
  1167. event: TCEvent,
  1168. listener: TypedListener<TCEvent>
  1169. ): Promise<this>;
  1170. on<TCEvent extends TypedContractEvent>(
  1171. filter: TypedDeferredTopicFilter<TCEvent>,
  1172. listener: TypedListener<TCEvent>
  1173. ): Promise<this>;
  1174. once<TCEvent extends TypedContractEvent>(
  1175. event: TCEvent,
  1176. listener: TypedListener<TCEvent>
  1177. ): Promise<this>;
  1178. once<TCEvent extends TypedContractEvent>(
  1179. filter: TypedDeferredTopicFilter<TCEvent>,
  1180. listener: TypedListener<TCEvent>
  1181. ): Promise<this>;
  1182. listeners<TCEvent extends TypedContractEvent>(
  1183. event: TCEvent
  1184. ): Promise<Array<TypedListener<TCEvent>>>;
  1185. listeners(eventName?: string): Promise<Array<Listener>>;
  1186. removeAllListeners<TCEvent extends TypedContractEvent>(
  1187. event?: TCEvent
  1188. ): Promise<this>;
  1189. ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
  1190. CONTROLLER_ROLE: TypedContractMethod<[], [string], "view">;
  1191. ISSUER_ROLE: TypedContractMethod<[], [string], "view">;
  1192. KYCtokenHolders: TypedContractMethod<
  1193. [tokenHolders: AddressLike[]],
  1194. [void],
  1195. "nonpayable"
  1196. >;
  1197. LOCKER_ROLE: TypedContractMethod<[], [string], "view">;
  1198. OPERATOR_ROLE: TypedContractMethod<[], [string], "view">;
  1199. VERSION: TypedContractMethod<[], [bigint], "view">;
  1200. admins: TypedContractMethod<[], [string[]], "view">;
  1201. authorizeController: TypedContractMethod<
  1202. [controller: AddressLike, certificate: BytesLike],
  1203. [void],
  1204. "nonpayable"
  1205. >;
  1206. authorizeOperator: TypedContractMethod<
  1207. [operator: AddressLike, tokenHolders: AddressLike[]],
  1208. [void],
  1209. "nonpayable"
  1210. >;
  1211. balanceOf: TypedContractMethod<[tokenHolder: AddressLike], [bigint], "view">;
  1212. balanceOfByPartition: TypedContractMethod<
  1213. [partition: BytesLike, tokenHolder: AddressLike],
  1214. [bigint],
  1215. "view"
  1216. >;
  1217. certificateNonce: TypedContractMethod<[], [bigint], "view">;
  1218. controllerRedeem: TypedContractMethod<
  1219. [
  1220. tokenHolder: AddressLike,
  1221. value: BigNumberish,
  1222. data: BytesLike,
  1223. controllerData: BytesLike
  1224. ],
  1225. [void],
  1226. "nonpayable"
  1227. >;
  1228. controllerRedeemByPartition: TypedContractMethod<
  1229. [
  1230. partition: BytesLike,
  1231. tokenHolder: AddressLike,
  1232. value: BigNumberish,
  1233. data: BytesLike,
  1234. controllerData: BytesLike
  1235. ],
  1236. [string],
  1237. "nonpayable"
  1238. >;
  1239. controllerTransfer: TypedContractMethod<
  1240. [
  1241. from: AddressLike,
  1242. to: AddressLike,
  1243. value: BigNumberish,
  1244. data: BytesLike,
  1245. controllerData: BytesLike
  1246. ],
  1247. [void],
  1248. "nonpayable"
  1249. >;
  1250. controllerTransferByPartition: TypedContractMethod<
  1251. [
  1252. partition: BytesLike,
  1253. from: AddressLike,
  1254. to: AddressLike,
  1255. value: BigNumberish,
  1256. data: BytesLike,
  1257. controllerData: BytesLike
  1258. ],
  1259. [string],
  1260. "nonpayable"
  1261. >;
  1262. controllers: TypedContractMethod<[], [string[]], "view">;
  1263. createLock: TypedContractMethod<
  1264. [partition: BytesLike, holder: AddressLike, value: BigNumberish],
  1265. [void],
  1266. "nonpayable"
  1267. >;
  1268. decimals: TypedContractMethod<[], [bigint], "view">;
  1269. getAllDocuments: TypedContractMethod<[], [string[]], "view">;
  1270. getDefaultPartitions: TypedContractMethod<[], [string[]], "view">;
  1271. getDocument: TypedContractMethod<
  1272. [nameHash: BytesLike],
  1273. [[string, string, string, bigint]],
  1274. "view"
  1275. >;
  1276. getRoleMembers: TypedContractMethod<[role: BytesLike], [string[]], "view">;
  1277. getRoleMembersLength: TypedContractMethod<
  1278. [role: BytesLike],
  1279. [bigint],
  1280. "view"
  1281. >;
  1282. getTarget: TypedContractMethod<[], [string], "view">;
  1283. getTargetImplementation: TypedContractMethod<[], [string], "view">;
  1284. grantRole: TypedContractMethod<
  1285. [role: BytesLike, account: AddressLike],
  1286. [void],
  1287. "nonpayable"
  1288. >;
  1289. hasLock: TypedContractMethod<
  1290. [account: AddressLike, partition: BytesLike],
  1291. [boolean],
  1292. "view"
  1293. >;
  1294. hasRole: TypedContractMethod<
  1295. [role: BytesLike, account: AddressLike],
  1296. [boolean],
  1297. "view"
  1298. >;
  1299. initialize: TypedContractMethod<
  1300. [
  1301. _rulesAndPartitions: AddressLike,
  1302. _issuer: AddressLike,
  1303. _controllers: AddressLike[],
  1304. _operators: AddressLike[],
  1305. _lockers: AddressLike[],
  1306. _details: IERC20.TokenDetailsStruct,
  1307. _defaultPartitions: IPartitions.PartitionStruct[]
  1308. ],
  1309. [void],
  1310. "nonpayable"
  1311. >;
  1312. isAdmin: TypedContractMethod<[account: AddressLike], [boolean], "view">;
  1313. isControllable: TypedContractMethod<[], [boolean], "view">;
  1314. isController: TypedContractMethod<[account: AddressLike], [boolean], "view">;
  1315. isIssuable: TypedContractMethod<[], [boolean], "view">;
  1316. isIssuer: TypedContractMethod<[account: AddressLike], [boolean], "view">;
  1317. isLocker: TypedContractMethod<[account: AddressLike], [boolean], "view">;
  1318. isOperator: TypedContractMethod<[account: AddressLike], [boolean], "view">;
  1319. isOperatorFor: TypedContractMethod<
  1320. [operator: AddressLike, arg1: AddressLike],
  1321. [boolean],
  1322. "view"
  1323. >;
  1324. isTokenHolderKYC: TypedContractMethod<
  1325. [tokenHolder: AddressLike],
  1326. [boolean],
  1327. "view"
  1328. >;
  1329. issue: TypedContractMethod<
  1330. [tokenHolder: AddressLike, value: BigNumberish, data: BytesLike],
  1331. [void],
  1332. "nonpayable"
  1333. >;
  1334. issueByPartition: TypedContractMethod<
  1335. [
  1336. partition: BytesLike,
  1337. tokenHolder: AddressLike,
  1338. value: BigNumberish,
  1339. data: BytesLike
  1340. ],
  1341. [void],
  1342. "nonpayable"
  1343. >;
  1344. issueByPartitionAndBatches: TypedContractMethod<
  1345. [issuances: IERC1410.IssuanceStruct[]],
  1346. [void],
  1347. "nonpayable"
  1348. >;
  1349. issuers: TypedContractMethod<[], [string[]], "view">;
  1350. lockedAmount: TypedContractMethod<
  1351. [account: AddressLike, partition: BytesLike],
  1352. [bigint],
  1353. "view"
  1354. >;
  1355. lockers: TypedContractMethod<[], [string[]], "view">;
  1356. maxSupply: TypedContractMethod<[], [bigint], "view">;
  1357. name: TypedContractMethod<[], [string], "view">;
  1358. numOfControllers: TypedContractMethod<[], [bigint], "view">;
  1359. operatorRedeemByPartition: TypedContractMethod<
  1360. [
  1361. partition: BytesLike,
  1362. tokenHolder: AddressLike,
  1363. value: BigNumberish,
  1364. data: BytesLike
  1365. ],
  1366. [void],
  1367. "nonpayable"
  1368. >;
  1369. operatorRedeemByPartitionAndBatches: TypedContractMethod<
  1370. [redemptions: IERC1410.RedemptionStruct[]],
  1371. [void],
  1372. "nonpayable"
  1373. >;
  1374. operatorTransferBetweenPartitions: TypedContractMethod<
  1375. [
  1376. fromPartition: BytesLike,
  1377. toPartition: BytesLike,
  1378. from: AddressLike,
  1379. to: AddressLike,
  1380. value: BigNumberish,
  1381. data: BytesLike,
  1382. operatorData: BytesLike
  1383. ],
  1384. [void],
  1385. "nonpayable"
  1386. >;
  1387. operatorTransferByPartition: TypedContractMethod<
  1388. [
  1389. partition: BytesLike,
  1390. from: AddressLike,
  1391. to: AddressLike,
  1392. value: BigNumberish,
  1393. data: BytesLike,
  1394. operatorData: BytesLike
  1395. ],
  1396. [string],
  1397. "nonpayable"
  1398. >;
  1399. operatorTransferByPartitionAndBatches: TypedContractMethod<
  1400. [transfers: IERC1410.TransferStructStruct[]],
  1401. [void],
  1402. "nonpayable"
  1403. >;
  1404. operators: TypedContractMethod<[], [string[]], "view">;
  1405. partitionsOf: TypedContractMethod<
  1406. [tokenHolder: AddressLike],
  1407. [string[]],
  1408. "view"
  1409. >;
  1410. redeemFrom: TypedContractMethod<
  1411. [tokenHolder: AddressLike, value: BigNumberish, data: BytesLike],
  1412. [void],
  1413. "nonpayable"
  1414. >;
  1415. removeDocument: TypedContractMethod<
  1416. [nameHash: BytesLike],
  1417. [void],
  1418. "nonpayable"
  1419. >;
  1420. removeLock: TypedContractMethod<
  1421. [partition: BytesLike, holder: AddressLike, value: BigNumberish],
  1422. [void],
  1423. "nonpayable"
  1424. >;
  1425. renounceIssuance: TypedContractMethod<[], [void], "nonpayable">;
  1426. revokeController: TypedContractMethod<
  1427. [controller: AddressLike, certificate: BytesLike],
  1428. [void],
  1429. "nonpayable"
  1430. >;
  1431. revokeOperator: TypedContractMethod<
  1432. [operator: AddressLike, tokenHolders: AddressLike[]],
  1433. [void],
  1434. "nonpayable"
  1435. >;
  1436. revokeRole: TypedContractMethod<
  1437. [role: BytesLike, account: AddressLike],
  1438. [void],
  1439. "nonpayable"
  1440. >;
  1441. setDefaultPartitions: TypedContractMethod<
  1442. [partitions: BytesLike[]],
  1443. [void],
  1444. "nonpayable"
  1445. >;
  1446. setDocument: TypedContractMethod<
  1447. [nameHash: BytesLike, name: string, uri: string, documentHash: BytesLike],
  1448. [void],
  1449. "nonpayable"
  1450. >;
  1451. setTarget: TypedContractMethod<[target: AddressLike], [void], "nonpayable">;
  1452. symbol: TypedContractMethod<[], [string], "view">;
  1453. totalLockedAmount: TypedContractMethod<
  1454. [account: AddressLike],
  1455. [bigint],
  1456. "view"
  1457. >;
  1458. totalPartitions: TypedContractMethod<[], [string[]], "view">;
  1459. totalSupply: TypedContractMethod<[], [bigint], "view">;
  1460. totalSupplyByPartition: TypedContractMethod<
  1461. [partition: BytesLike],
  1462. [bigint],
  1463. "view"
  1464. >;
  1465. unKYCtokenHolders: TypedContractMethod<
  1466. [tokenHolders: AddressLike[]],
  1467. [void],
  1468. "nonpayable"
  1469. >;
  1470. getFunction<T extends ContractMethod = ContractMethod>(
  1471. key: string | FunctionFragment
  1472. ): T;
  1473. getFunction(
  1474. nameOrSignature: "ADMIN_ROLE"
  1475. ): TypedContractMethod<[], [string], "view">;
  1476. getFunction(
  1477. nameOrSignature: "CONTROLLER_ROLE"
  1478. ): TypedContractMethod<[], [string], "view">;
  1479. getFunction(
  1480. nameOrSignature: "ISSUER_ROLE"
  1481. ): TypedContractMethod<[], [string], "view">;
  1482. getFunction(
  1483. nameOrSignature: "KYCtokenHolders"
  1484. ): TypedContractMethod<[tokenHolders: AddressLike[]], [void], "nonpayable">;
  1485. getFunction(
  1486. nameOrSignature: "LOCKER_ROLE"
  1487. ): TypedContractMethod<[], [string], "view">;
  1488. getFunction(
  1489. nameOrSignature: "OPERATOR_ROLE"
  1490. ): TypedContractMethod<[], [string], "view">;
  1491. getFunction(
  1492. nameOrSignature: "VERSION"
  1493. ): TypedContractMethod<[], [bigint], "view">;
  1494. getFunction(
  1495. nameOrSignature: "admins"
  1496. ): TypedContractMethod<[], [string[]], "view">;
  1497. getFunction(
  1498. nameOrSignature: "authorizeController"
  1499. ): TypedContractMethod<
  1500. [controller: AddressLike, certificate: BytesLike],
  1501. [void],
  1502. "nonpayable"
  1503. >;
  1504. getFunction(
  1505. nameOrSignature: "authorizeOperator"
  1506. ): TypedContractMethod<
  1507. [operator: AddressLike, tokenHolders: AddressLike[]],
  1508. [void],
  1509. "nonpayable"
  1510. >;
  1511. getFunction(
  1512. nameOrSignature: "balanceOf"
  1513. ): TypedContractMethod<[tokenHolder: AddressLike], [bigint], "view">;
  1514. getFunction(
  1515. nameOrSignature: "balanceOfByPartition"
  1516. ): TypedContractMethod<
  1517. [partition: BytesLike, tokenHolder: AddressLike],
  1518. [bigint],
  1519. "view"
  1520. >;
  1521. getFunction(
  1522. nameOrSignature: "certificateNonce"
  1523. ): TypedContractMethod<[], [bigint], "view">;
  1524. getFunction(
  1525. nameOrSignature: "controllerRedeem"
  1526. ): TypedContractMethod<
  1527. [
  1528. tokenHolder: AddressLike,
  1529. value: BigNumberish,
  1530. data: BytesLike,
  1531. controllerData: BytesLike
  1532. ],
  1533. [void],
  1534. "nonpayable"
  1535. >;
  1536. getFunction(
  1537. nameOrSignature: "controllerRedeemByPartition"
  1538. ): TypedContractMethod<
  1539. [
  1540. partition: BytesLike,
  1541. tokenHolder: AddressLike,
  1542. value: BigNumberish,
  1543. data: BytesLike,
  1544. controllerData: BytesLike
  1545. ],
  1546. [string],
  1547. "nonpayable"
  1548. >;
  1549. getFunction(
  1550. nameOrSignature: "controllerTransfer"
  1551. ): TypedContractMethod<
  1552. [
  1553. from: AddressLike,
  1554. to: AddressLike,
  1555. value: BigNumberish,
  1556. data: BytesLike,
  1557. controllerData: BytesLike
  1558. ],
  1559. [void],
  1560. "nonpayable"
  1561. >;
  1562. getFunction(
  1563. nameOrSignature: "controllerTransferByPartition"
  1564. ): TypedContractMethod<
  1565. [
  1566. partition: BytesLike,
  1567. from: AddressLike,
  1568. to: AddressLike,
  1569. value: BigNumberish,
  1570. data: BytesLike,
  1571. controllerData: BytesLike
  1572. ],
  1573. [string],
  1574. "nonpayable"
  1575. >;
  1576. getFunction(
  1577. nameOrSignature: "controllers"
  1578. ): TypedContractMethod<[], [string[]], "view">;
  1579. getFunction(
  1580. nameOrSignature: "createLock"
  1581. ): TypedContractMethod<
  1582. [partition: BytesLike, holder: AddressLike, value: BigNumberish],
  1583. [void],
  1584. "nonpayable"
  1585. >;
  1586. getFunction(
  1587. nameOrSignature: "decimals"
  1588. ): TypedContractMethod<[], [bigint], "view">;
  1589. getFunction(
  1590. nameOrSignature: "getAllDocuments"
  1591. ): TypedContractMethod<[], [string[]], "view">;
  1592. getFunction(
  1593. nameOrSignature: "getDefaultPartitions"
  1594. ): TypedContractMethod<[], [string[]], "view">;
  1595. getFunction(
  1596. nameOrSignature: "getDocument"
  1597. ): TypedContractMethod<
  1598. [nameHash: BytesLike],
  1599. [[string, string, string, bigint]],
  1600. "view"
  1601. >;
  1602. getFunction(
  1603. nameOrSignature: "getRoleMembers"
  1604. ): TypedContractMethod<[role: BytesLike], [string[]], "view">;
  1605. getFunction(
  1606. nameOrSignature: "getRoleMembersLength"
  1607. ): TypedContractMethod<[role: BytesLike], [bigint], "view">;
  1608. getFunction(
  1609. nameOrSignature: "getTarget"
  1610. ): TypedContractMethod<[], [string], "view">;
  1611. getFunction(
  1612. nameOrSignature: "getTargetImplementation"
  1613. ): TypedContractMethod<[], [string], "view">;
  1614. getFunction(
  1615. nameOrSignature: "grantRole"
  1616. ): TypedContractMethod<
  1617. [role: BytesLike, account: AddressLike],
  1618. [void],
  1619. "nonpayable"
  1620. >;
  1621. getFunction(
  1622. nameOrSignature: "hasLock"
  1623. ): TypedContractMethod<
  1624. [account: AddressLike, partition: BytesLike],
  1625. [boolean],
  1626. "view"
  1627. >;
  1628. getFunction(
  1629. nameOrSignature: "hasRole"
  1630. ): TypedContractMethod<
  1631. [role: BytesLike, account: AddressLike],
  1632. [boolean],
  1633. "view"
  1634. >;
  1635. getFunction(
  1636. nameOrSignature: "initialize"
  1637. ): TypedContractMethod<
  1638. [
  1639. _rulesAndPartitions: AddressLike,
  1640. _issuer: AddressLike,
  1641. _controllers: AddressLike[],
  1642. _operators: AddressLike[],
  1643. _lockers: AddressLike[],
  1644. _details: IERC20.TokenDetailsStruct,
  1645. _defaultPartitions: IPartitions.PartitionStruct[]
  1646. ],
  1647. [void],
  1648. "nonpayable"
  1649. >;
  1650. getFunction(
  1651. nameOrSignature: "isAdmin"
  1652. ): TypedContractMethod<[account: AddressLike], [boolean], "view">;
  1653. getFunction(
  1654. nameOrSignature: "isControllable"
  1655. ): TypedContractMethod<[], [boolean], "view">;
  1656. getFunction(
  1657. nameOrSignature: "isController"
  1658. ): TypedContractMethod<[account: AddressLike], [boolean], "view">;
  1659. getFunction(
  1660. nameOrSignature: "isIssuable"
  1661. ): TypedContractMethod<[], [boolean], "view">;
  1662. getFunction(
  1663. nameOrSignature: "isIssuer"
  1664. ): TypedContractMethod<[account: AddressLike], [boolean], "view">;
  1665. getFunction(
  1666. nameOrSignature: "isLocker"
  1667. ): TypedContractMethod<[account: AddressLike], [boolean], "view">;
  1668. getFunction(
  1669. nameOrSignature: "isOperator"
  1670. ): TypedContractMethod<[account: AddressLike], [boolean], "view">;
  1671. getFunction(
  1672. nameOrSignature: "isOperatorFor"
  1673. ): TypedContractMethod<
  1674. [operator: AddressLike, arg1: AddressLike],
  1675. [boolean],
  1676. "view"
  1677. >;
  1678. getFunction(
  1679. nameOrSignature: "isTokenHolderKYC"
  1680. ): TypedContractMethod<[tokenHolder: AddressLike], [boolean], "view">;
  1681. getFunction(
  1682. nameOrSignature: "issue"
  1683. ): TypedContractMethod<
  1684. [tokenHolder: AddressLike, value: BigNumberish, data: BytesLike],
  1685. [void],
  1686. "nonpayable"
  1687. >;
  1688. getFunction(
  1689. nameOrSignature: "issueByPartition"
  1690. ): TypedContractMethod<
  1691. [
  1692. partition: BytesLike,
  1693. tokenHolder: AddressLike,
  1694. value: BigNumberish,
  1695. data: BytesLike
  1696. ],
  1697. [void],
  1698. "nonpayable"
  1699. >;
  1700. getFunction(
  1701. nameOrSignature: "issueByPartitionAndBatches"
  1702. ): TypedContractMethod<
  1703. [issuances: IERC1410.IssuanceStruct[]],
  1704. [void],
  1705. "nonpayable"
  1706. >;
  1707. getFunction(
  1708. nameOrSignature: "issuers"
  1709. ): TypedContractMethod<[], [string[]], "view">;
  1710. getFunction(
  1711. nameOrSignature: "lockedAmount"
  1712. ): TypedContractMethod<
  1713. [account: AddressLike, partition: BytesLike],
  1714. [bigint],
  1715. "view"
  1716. >;
  1717. getFunction(
  1718. nameOrSignature: "lockers"
  1719. ): TypedContractMethod<[], [string[]], "view">;
  1720. getFunction(
  1721. nameOrSignature: "maxSupply"
  1722. ): TypedContractMethod<[], [bigint], "view">;
  1723. getFunction(
  1724. nameOrSignature: "name"
  1725. ): TypedContractMethod<[], [string], "view">;
  1726. getFunction(
  1727. nameOrSignature: "numOfControllers"
  1728. ): TypedContractMethod<[], [bigint], "view">;
  1729. getFunction(
  1730. nameOrSignature: "operatorRedeemByPartition"
  1731. ): TypedContractMethod<
  1732. [
  1733. partition: BytesLike,
  1734. tokenHolder: AddressLike,
  1735. value: BigNumberish,
  1736. data: BytesLike
  1737. ],
  1738. [void],
  1739. "nonpayable"
  1740. >;
  1741. getFunction(
  1742. nameOrSignature: "operatorRedeemByPartitionAndBatches"
  1743. ): TypedContractMethod<
  1744. [redemptions: IERC1410.RedemptionStruct[]],
  1745. [void],
  1746. "nonpayable"
  1747. >;
  1748. getFunction(
  1749. nameOrSignature: "operatorTransferBetweenPartitions"
  1750. ): TypedContractMethod<
  1751. [
  1752. fromPartition: BytesLike,
  1753. toPartition: BytesLike,
  1754. from: AddressLike,
  1755. to: AddressLike,
  1756. value: BigNumberish,
  1757. data: BytesLike,
  1758. operatorData: BytesLike
  1759. ],
  1760. [void],
  1761. "nonpayable"
  1762. >;
  1763. getFunction(
  1764. nameOrSignature: "operatorTransferByPartition"
  1765. ): TypedContractMethod<
  1766. [
  1767. partition: BytesLike,
  1768. from: AddressLike,
  1769. to: AddressLike,
  1770. value: BigNumberish,
  1771. data: BytesLike,
  1772. operatorData: BytesLike
  1773. ],
  1774. [string],
  1775. "nonpayable"
  1776. >;
  1777. getFunction(
  1778. nameOrSignature: "operatorTransferByPartitionAndBatches"
  1779. ): TypedContractMethod<
  1780. [transfers: IERC1410.TransferStructStruct[]],
  1781. [void],
  1782. "nonpayable"
  1783. >;
  1784. getFunction(
  1785. nameOrSignature: "operators"
  1786. ): TypedContractMethod<[], [string[]], "view">;
  1787. getFunction(
  1788. nameOrSignature: "partitionsOf"
  1789. ): TypedContractMethod<[tokenHolder: AddressLike], [string[]], "view">;
  1790. getFunction(
  1791. nameOrSignature: "redeemFrom"
  1792. ): TypedContractMethod<
  1793. [tokenHolder: AddressLike, value: BigNumberish, data: BytesLike],
  1794. [void],
  1795. "nonpayable"
  1796. >;
  1797. getFunction(
  1798. nameOrSignature: "removeDocument"
  1799. ): TypedContractMethod<[nameHash: BytesLike], [void], "nonpayable">;
  1800. getFunction(
  1801. nameOrSignature: "removeLock"
  1802. ): TypedContractMethod<
  1803. [partition: BytesLike, holder: AddressLike, value: BigNumberish],
  1804. [void],
  1805. "nonpayable"
  1806. >;
  1807. getFunction(
  1808. nameOrSignature: "renounceIssuance"
  1809. ): TypedContractMethod<[], [void], "nonpayable">;
  1810. getFunction(
  1811. nameOrSignature: "revokeController"
  1812. ): TypedContractMethod<
  1813. [controller: AddressLike, certificate: BytesLike],
  1814. [void],
  1815. "nonpayable"
  1816. >;
  1817. getFunction(
  1818. nameOrSignature: "revokeOperator"
  1819. ): TypedContractMethod<
  1820. [operator: AddressLike, tokenHolders: AddressLike[]],
  1821. [void],
  1822. "nonpayable"
  1823. >;
  1824. getFunction(
  1825. nameOrSignature: "revokeRole"
  1826. ): TypedContractMethod<
  1827. [role: BytesLike, account: AddressLike],
  1828. [void],
  1829. "nonpayable"
  1830. >;
  1831. getFunction(
  1832. nameOrSignature: "setDefaultPartitions"
  1833. ): TypedContractMethod<[partitions: BytesLike[]], [void], "nonpayable">;
  1834. getFunction(
  1835. nameOrSignature: "setDocument"
  1836. ): TypedContractMethod<
  1837. [nameHash: BytesLike, name: string, uri: string, documentHash: BytesLike],
  1838. [void],
  1839. "nonpayable"
  1840. >;
  1841. getFunction(
  1842. nameOrSignature: "setTarget"
  1843. ): TypedContractMethod<[target: AddressLike], [void], "nonpayable">;
  1844. getFunction(
  1845. nameOrSignature: "symbol"
  1846. ): TypedContractMethod<[], [string], "view">;
  1847. getFunction(
  1848. nameOrSignature: "totalLockedAmount"
  1849. ): TypedContractMethod<[account: AddressLike], [bigint], "view">;
  1850. getFunction(
  1851. nameOrSignature: "totalPartitions"
  1852. ): TypedContractMethod<[], [string[]], "view">;
  1853. getFunction(
  1854. nameOrSignature: "totalSupply"
  1855. ): TypedContractMethod<[], [bigint], "view">;
  1856. getFunction(
  1857. nameOrSignature: "totalSupplyByPartition"
  1858. ): TypedContractMethod<[partition: BytesLike], [bigint], "view">;
  1859. getFunction(
  1860. nameOrSignature: "unKYCtokenHolders"
  1861. ): TypedContractMethod<[tokenHolders: AddressLike[]], [void], "nonpayable">;
  1862. getEvent(
  1863. key: "AuthorizedOperator"
  1864. ): TypedContractEvent<
  1865. AuthorizedOperatorEvent.InputTuple,
  1866. AuthorizedOperatorEvent.OutputTuple,
  1867. AuthorizedOperatorEvent.OutputObject
  1868. >;
  1869. getEvent(
  1870. key: "ControllerAuthorized"
  1871. ): TypedContractEvent<
  1872. ControllerAuthorizedEvent.InputTuple,
  1873. ControllerAuthorizedEvent.OutputTuple,
  1874. ControllerAuthorizedEvent.OutputObject
  1875. >;
  1876. getEvent(
  1877. key: "ControllerRedemption"
  1878. ): TypedContractEvent<
  1879. ControllerRedemptionEvent.InputTuple,
  1880. ControllerRedemptionEvent.OutputTuple,
  1881. ControllerRedemptionEvent.OutputObject
  1882. >;
  1883. getEvent(
  1884. key: "ControllerRedemptionByPartition"
  1885. ): TypedContractEvent<
  1886. ControllerRedemptionByPartitionEvent.InputTuple,
  1887. ControllerRedemptionByPartitionEvent.OutputTuple,
  1888. ControllerRedemptionByPartitionEvent.OutputObject
  1889. >;
  1890. getEvent(
  1891. key: "ControllerRevoked"
  1892. ): TypedContractEvent<
  1893. ControllerRevokedEvent.InputTuple,
  1894. ControllerRevokedEvent.OutputTuple,
  1895. ControllerRevokedEvent.OutputObject
  1896. >;
  1897. getEvent(
  1898. key: "ControllerTransfer"
  1899. ): TypedContractEvent<
  1900. ControllerTransferEvent.InputTuple,
  1901. ControllerTransferEvent.OutputTuple,
  1902. ControllerTransferEvent.OutputObject
  1903. >;
  1904. getEvent(
  1905. key: "ControllerTransferByPartition"
  1906. ): TypedContractEvent<
  1907. ControllerTransferByPartitionEvent.InputTuple,
  1908. ControllerTransferByPartitionEvent.OutputTuple,
  1909. ControllerTransferByPartitionEvent.OutputObject
  1910. >;
  1911. getEvent(
  1912. key: "DocumentRemoved"
  1913. ): TypedContractEvent<
  1914. DocumentRemovedEvent.InputTuple,
  1915. DocumentRemovedEvent.OutputTuple,
  1916. DocumentRemovedEvent.OutputObject
  1917. >;
  1918. getEvent(
  1919. key: "DocumentUpdated"
  1920. ): TypedContractEvent<
  1921. DocumentUpdatedEvent.InputTuple,
  1922. DocumentUpdatedEvent.OutputTuple,
  1923. DocumentUpdatedEvent.OutputObject
  1924. >;
  1925. getEvent(
  1926. key: "Initialized"
  1927. ): TypedContractEvent<
  1928. InitializedEvent.InputTuple,
  1929. InitializedEvent.OutputTuple,
  1930. InitializedEvent.OutputObject
  1931. >;
  1932. getEvent(
  1933. key: "IssuanceRenunciation"
  1934. ): TypedContractEvent<
  1935. IssuanceRenunciationEvent.InputTuple,
  1936. IssuanceRenunciationEvent.OutputTuple,
  1937. IssuanceRenunciationEvent.OutputObject
  1938. >;
  1939. getEvent(
  1940. key: "Issued"
  1941. ): TypedContractEvent<
  1942. IssuedEvent.InputTuple,
  1943. IssuedEvent.OutputTuple,
  1944. IssuedEvent.OutputObject
  1945. >;
  1946. getEvent(
  1947. key: "IssuedByPartition"
  1948. ): TypedContractEvent<
  1949. IssuedByPartitionEvent.InputTuple,
  1950. IssuedByPartitionEvent.OutputTuple,
  1951. IssuedByPartitionEvent.OutputObject
  1952. >;
  1953. getEvent(
  1954. key: "LockCreated"
  1955. ): TypedContractEvent<
  1956. LockCreatedEvent.InputTuple,
  1957. LockCreatedEvent.OutputTuple,
  1958. LockCreatedEvent.OutputObject
  1959. >;
  1960. getEvent(
  1961. key: "LockReleased"
  1962. ): TypedContractEvent<
  1963. LockReleasedEvent.InputTuple,
  1964. LockReleasedEvent.OutputTuple,
  1965. LockReleasedEvent.OutputObject
  1966. >;
  1967. getEvent(
  1968. key: "Redeemed"
  1969. ): TypedContractEvent<
  1970. RedeemedEvent.InputTuple,
  1971. RedeemedEvent.OutputTuple,
  1972. RedeemedEvent.OutputObject
  1973. >;
  1974. getEvent(
  1975. key: "RedeemedByPartition"
  1976. ): TypedContractEvent<
  1977. RedeemedByPartitionEvent.InputTuple,
  1978. RedeemedByPartitionEvent.OutputTuple,
  1979. RedeemedByPartitionEvent.OutputObject
  1980. >;
  1981. getEvent(
  1982. key: "RevokedOperator"
  1983. ): TypedContractEvent<
  1984. RevokedOperatorEvent.InputTuple,
  1985. RevokedOperatorEvent.OutputTuple,
  1986. RevokedOperatorEvent.OutputObject
  1987. >;
  1988. getEvent(
  1989. key: "RoleGranted"
  1990. ): TypedContractEvent<
  1991. RoleGrantedEvent.InputTuple,
  1992. RoleGrantedEvent.OutputTuple,
  1993. RoleGrantedEvent.OutputObject
  1994. >;
  1995. getEvent(
  1996. key: "RoleRevoked"
  1997. ): TypedContractEvent<
  1998. RoleRevokedEvent.InputTuple,
  1999. RoleRevokedEvent.OutputTuple,
  2000. RoleRevokedEvent.OutputObject
  2001. >;
  2002. getEvent(
  2003. key: "SecurityTokenInitialized"
  2004. ): TypedContractEvent<
  2005. SecurityTokenInitializedEvent.InputTuple,
  2006. SecurityTokenInitializedEvent.OutputTuple,
  2007. SecurityTokenInitializedEvent.OutputObject
  2008. >;
  2009. getEvent(
  2010. key: "Transfer"
  2011. ): TypedContractEvent<
  2012. TransferEvent.InputTuple,
  2013. TransferEvent.OutputTuple,
  2014. TransferEvent.OutputObject
  2015. >;
  2016. getEvent(
  2017. key: "TransferByPartition"
  2018. ): TypedContractEvent<
  2019. TransferByPartitionEvent.InputTuple,
  2020. TransferByPartitionEvent.OutputTuple,
  2021. TransferByPartitionEvent.OutputObject
  2022. >;
  2023. filters: {
  2024. "AuthorizedOperator(address,address)": TypedContractEvent<
  2025. AuthorizedOperatorEvent.InputTuple,
  2026. AuthorizedOperatorEvent.OutputTuple,
  2027. AuthorizedOperatorEvent.OutputObject
  2028. >;
  2029. AuthorizedOperator: TypedContractEvent<
  2030. AuthorizedOperatorEvent.InputTuple,
  2031. AuthorizedOperatorEvent.OutputTuple,
  2032. AuthorizedOperatorEvent.OutputObject
  2033. >;
  2034. "ControllerAuthorized(address,address)": TypedContractEvent<
  2035. ControllerAuthorizedEvent.InputTuple,
  2036. ControllerAuthorizedEvent.OutputTuple,
  2037. ControllerAuthorizedEvent.OutputObject
  2038. >;
  2039. ControllerAuthorized: TypedContractEvent<
  2040. ControllerAuthorizedEvent.InputTuple,
  2041. ControllerAuthorizedEvent.OutputTuple,
  2042. ControllerAuthorizedEvent.OutputObject
  2043. >;
  2044. "ControllerRedemption(address,address,uint256,bytes,bytes)": TypedContractEvent<
  2045. ControllerRedemptionEvent.InputTuple,
  2046. ControllerRedemptionEvent.OutputTuple,
  2047. ControllerRedemptionEvent.OutputObject
  2048. >;
  2049. ControllerRedemption: TypedContractEvent<
  2050. ControllerRedemptionEvent.InputTuple,
  2051. ControllerRedemptionEvent.OutputTuple,
  2052. ControllerRedemptionEvent.OutputObject
  2053. >;
  2054. "ControllerRedemptionByPartition(bytes32,address,address,uint256,bytes,bytes)": TypedContractEvent<
  2055. ControllerRedemptionByPartitionEvent.InputTuple,
  2056. ControllerRedemptionByPartitionEvent.OutputTuple,
  2057. ControllerRedemptionByPartitionEvent.OutputObject
  2058. >;
  2059. ControllerRedemptionByPartition: TypedContractEvent<
  2060. ControllerRedemptionByPartitionEvent.InputTuple,
  2061. ControllerRedemptionByPartitionEvent.OutputTuple,
  2062. ControllerRedemptionByPartitionEvent.OutputObject
  2063. >;
  2064. "ControllerRevoked(address,address)": TypedContractEvent<
  2065. ControllerRevokedEvent.InputTuple,
  2066. ControllerRevokedEvent.OutputTuple,
  2067. ControllerRevokedEvent.OutputObject
  2068. >;
  2069. ControllerRevoked: TypedContractEvent<
  2070. ControllerRevokedEvent.InputTuple,
  2071. ControllerRevokedEvent.OutputTuple,
  2072. ControllerRevokedEvent.OutputObject
  2073. >;
  2074. "ControllerTransfer(address,address,address,uint256,bytes,bytes)": TypedContractEvent<
  2075. ControllerTransferEvent.InputTuple,
  2076. ControllerTransferEvent.OutputTuple,
  2077. ControllerTransferEvent.OutputObject
  2078. >;
  2079. ControllerTransfer: TypedContractEvent<
  2080. ControllerTransferEvent.InputTuple,
  2081. ControllerTransferEvent.OutputTuple,
  2082. ControllerTransferEvent.OutputObject
  2083. >;
  2084. "ControllerTransferByPartition(bytes32,address,address,address,uint256,bytes,bytes)": TypedContractEvent<
  2085. ControllerTransferByPartitionEvent.InputTuple,
  2086. ControllerTransferByPartitionEvent.OutputTuple,
  2087. ControllerTransferByPartitionEvent.OutputObject
  2088. >;
  2089. ControllerTransferByPartition: TypedContractEvent<
  2090. ControllerTransferByPartitionEvent.InputTuple,
  2091. ControllerTransferByPartitionEvent.OutputTuple,
  2092. ControllerTransferByPartitionEvent.OutputObject
  2093. >;
  2094. "DocumentRemoved(string,string,bytes32)": TypedContractEvent<
  2095. DocumentRemovedEvent.InputTuple,
  2096. DocumentRemovedEvent.OutputTuple,
  2097. DocumentRemovedEvent.OutputObject
  2098. >;
  2099. DocumentRemoved: TypedContractEvent<
  2100. DocumentRemovedEvent.InputTuple,
  2101. DocumentRemovedEvent.OutputTuple,
  2102. DocumentRemovedEvent.OutputObject
  2103. >;
  2104. "DocumentUpdated(string,string,bytes32)": TypedContractEvent<
  2105. DocumentUpdatedEvent.InputTuple,
  2106. DocumentUpdatedEvent.OutputTuple,
  2107. DocumentUpdatedEvent.OutputObject
  2108. >;
  2109. DocumentUpdated: TypedContractEvent<
  2110. DocumentUpdatedEvent.InputTuple,
  2111. DocumentUpdatedEvent.OutputTuple,
  2112. DocumentUpdatedEvent.OutputObject
  2113. >;
  2114. "Initialized(uint64)": TypedContractEvent<
  2115. InitializedEvent.InputTuple,
  2116. InitializedEvent.OutputTuple,
  2117. InitializedEvent.OutputObject
  2118. >;
  2119. Initialized: TypedContractEvent<
  2120. InitializedEvent.InputTuple,
  2121. InitializedEvent.OutputTuple,
  2122. InitializedEvent.OutputObject
  2123. >;
  2124. "IssuanceRenunciation(address)": TypedContractEvent<
  2125. IssuanceRenunciationEvent.InputTuple,
  2126. IssuanceRenunciationEvent.OutputTuple,
  2127. IssuanceRenunciationEvent.OutputObject
  2128. >;
  2129. IssuanceRenunciation: TypedContractEvent<
  2130. IssuanceRenunciationEvent.InputTuple,
  2131. IssuanceRenunciationEvent.OutputTuple,
  2132. IssuanceRenunciationEvent.OutputObject
  2133. >;
  2134. "Issued(address,address,uint256,bytes)": TypedContractEvent<
  2135. IssuedEvent.InputTuple,
  2136. IssuedEvent.OutputTuple,
  2137. IssuedEvent.OutputObject
  2138. >;
  2139. Issued: TypedContractEvent<
  2140. IssuedEvent.InputTuple,
  2141. IssuedEvent.OutputTuple,
  2142. IssuedEvent.OutputObject
  2143. >;
  2144. "IssuedByPartition(bytes32,address,address,uint256,bytes,bytes)": TypedContractEvent<
  2145. IssuedByPartitionEvent.InputTuple,
  2146. IssuedByPartitionEvent.OutputTuple,
  2147. IssuedByPartitionEvent.OutputObject
  2148. >;
  2149. IssuedByPartition: TypedContractEvent<
  2150. IssuedByPartitionEvent.InputTuple,
  2151. IssuedByPartitionEvent.OutputTuple,
  2152. IssuedByPartitionEvent.OutputObject
  2153. >;
  2154. "LockCreated(address,bytes32,uint256)": TypedContractEvent<
  2155. LockCreatedEvent.InputTuple,
  2156. LockCreatedEvent.OutputTuple,
  2157. LockCreatedEvent.OutputObject
  2158. >;
  2159. LockCreated: TypedContractEvent<
  2160. LockCreatedEvent.InputTuple,
  2161. LockCreatedEvent.OutputTuple,
  2162. LockCreatedEvent.OutputObject
  2163. >;
  2164. "LockReleased(address,bytes32,uint256)": TypedContractEvent<
  2165. LockReleasedEvent.InputTuple,
  2166. LockReleasedEvent.OutputTuple,
  2167. LockReleasedEvent.OutputObject
  2168. >;
  2169. LockReleased: TypedContractEvent<
  2170. LockReleasedEvent.InputTuple,
  2171. LockReleasedEvent.OutputTuple,
  2172. LockReleasedEvent.OutputObject
  2173. >;
  2174. "Redeemed(address,address,uint256,bytes)": TypedContractEvent<
  2175. RedeemedEvent.InputTuple,
  2176. RedeemedEvent.OutputTuple,
  2177. RedeemedEvent.OutputObject
  2178. >;
  2179. Redeemed: TypedContractEvent<
  2180. RedeemedEvent.InputTuple,
  2181. RedeemedEvent.OutputTuple,
  2182. RedeemedEvent.OutputObject
  2183. >;
  2184. "RedeemedByPartition(bytes32,address,address,uint256,bytes)": TypedContractEvent<
  2185. RedeemedByPartitionEvent.InputTuple,
  2186. RedeemedByPartitionEvent.OutputTuple,
  2187. RedeemedByPartitionEvent.OutputObject
  2188. >;
  2189. RedeemedByPartition: TypedContractEvent<
  2190. RedeemedByPartitionEvent.InputTuple,
  2191. RedeemedByPartitionEvent.OutputTuple,
  2192. RedeemedByPartitionEvent.OutputObject
  2193. >;
  2194. "RevokedOperator(address,address)": TypedContractEvent<
  2195. RevokedOperatorEvent.InputTuple,
  2196. RevokedOperatorEvent.OutputTuple,
  2197. RevokedOperatorEvent.OutputObject
  2198. >;
  2199. RevokedOperator: TypedContractEvent<
  2200. RevokedOperatorEvent.InputTuple,
  2201. RevokedOperatorEvent.OutputTuple,
  2202. RevokedOperatorEvent.OutputObject
  2203. >;
  2204. "RoleGranted(bytes32,address)": TypedContractEvent<
  2205. RoleGrantedEvent.InputTuple,
  2206. RoleGrantedEvent.OutputTuple,
  2207. RoleGrantedEvent.OutputObject
  2208. >;
  2209. RoleGranted: TypedContractEvent<
  2210. RoleGrantedEvent.InputTuple,
  2211. RoleGrantedEvent.OutputTuple,
  2212. RoleGrantedEvent.OutputObject
  2213. >;
  2214. "RoleRevoked(bytes32,address)": TypedContractEvent<
  2215. RoleRevokedEvent.InputTuple,
  2216. RoleRevokedEvent.OutputTuple,
  2217. RoleRevokedEvent.OutputObject
  2218. >;
  2219. RoleRevoked: TypedContractEvent<
  2220. RoleRevokedEvent.InputTuple,
  2221. RoleRevokedEvent.OutputTuple,
  2222. RoleRevokedEvent.OutputObject
  2223. >;
  2224. "SecurityTokenInitialized(uint8)": TypedContractEvent<
  2225. SecurityTokenInitializedEvent.InputTuple,
  2226. SecurityTokenInitializedEvent.OutputTuple,
  2227. SecurityTokenInitializedEvent.OutputObject
  2228. >;
  2229. SecurityTokenInitialized: TypedContractEvent<
  2230. SecurityTokenInitializedEvent.InputTuple,
  2231. SecurityTokenInitializedEvent.OutputTuple,
  2232. SecurityTokenInitializedEvent.OutputObject
  2233. >;
  2234. "Transfer(address,address,uint256)": TypedContractEvent<
  2235. TransferEvent.InputTuple,
  2236. TransferEvent.OutputTuple,
  2237. TransferEvent.OutputObject
  2238. >;
  2239. Transfer: TypedContractEvent<
  2240. TransferEvent.InputTuple,
  2241. TransferEvent.OutputTuple,
  2242. TransferEvent.OutputObject
  2243. >;
  2244. "TransferByPartition(bytes32,bytes32,address,address,address,uint256,bytes,bytes)": TypedContractEvent<
  2245. TransferByPartitionEvent.InputTuple,
  2246. TransferByPartitionEvent.OutputTuple,
  2247. TransferByPartitionEvent.OutputObject
  2248. >;
  2249. TransferByPartition: TypedContractEvent<
  2250. TransferByPartitionEvent.InputTuple,
  2251. TransferByPartitionEvent.OutputTuple,
  2252. TransferByPartitionEvent.OutputObject
  2253. >;
  2254. };
  2255. }