Solidity Function Calls Sample Clauses

Solidity Function Calls. ‌ Nested function calls in Solidity are the reason behind several identified vulner- abilities. We briefly describe how a smart contract can call a function of another contract or delegate execution. More information can be found in the Solid- ity documentation [46]. Firstly, a contract can call functions defined in another contract: – addressOfContract .call(data): Low-level call, for which the name and ar- guments of the invoked function must be specified in data according to the Ethereum ABI. The call method returns Boolean true if the execution was successful (or if there is no contract at the specified address) and false if it failed (e.g., if the invoked function threw an exception). – contract .function(arg1 , arg2 , ...): High-level call10, which may return a value as output on success. If the invoked method fails (or does not exist), an exception is raised in the caller, which means that all changes made by the caller are reverted, and the exception is automatically propagated up in the call hierarchy. If the function specified for call does not exist, then the fallback function of the callee is invoked. The fallback function does not have a name11 and argu- ments, and it cannot return anything. A contract can have at most one fallback function, and no function is executed if a fallback is not found (note that this does not constitute a failure). The fallback function is also invoked if ether12 is sent to the contract using one of the two methods: – addressOfContract .send(amount ): Sends the specified amount of currency to the contract, invoking its fallback function (if there exists one). If send fails (e.g., if the fallback function throws an exception), then it returns Boolean false; otherwise, it returns true. – addressOfContract .transfer(amount ): Similar to send, but raises an ex- ception on failure, which is handled similar to a high-level function call fail- ure. Finally, a contract can also “delegate” execution to another contract using ad- dressOfContract .delegatecall(data). Delegation is similar to a low-level call, but there is a fundamental difference: in this case, the function specified by data is executed in the context of the caller (e.g., the function will see the contract variables of the caller, not the callee). In other words, contracts may “borrow code” from other contracts using delegatecall, which enables the creation of libraries.
AutoNDA by SimpleDocs

Related to Solidity Function Calls

  • Administrative Functions Include any or a combination of: liaising with other departments on work flows and other matters; participating in interdepartmental meetings; coordinating transactions with external agencies on behalf of department; formulating and updating departmental procedures; recommending changes to Administration; compiling statistical reports on departmental activity. Administrative Levels Duties First level: As listed above. Second level: Participates in development and monitoring of departmental budget.

  • Primary Function (a) The primary function of the troubleshooter shall be to address concerns of bargaining unit employees who seek a determination of their employment status (an employee of regular status or an employee of auxiliary status) pursuant to the terms of this Collective Agreement.

  • Governmental Function In accordance with C.G.S. § 1-218, if the amount of this Contract exceeds two million five hundred thousand dollars ($2,500,000), and the Contractor is a "person" performing a "governmental function", as those terms are defined in C.G.S. § 1 200(4) and (11), the Agency is entitled to receive a copy of the Records and files related to the Contractor's performance of the governmental function, which may be disclosed by the Agency pursuant to the FOIA.

  • Commercially Useful Function a Small Local Business Enterprise or Emerging Local Business Enterprise (SLBE/ELBE) performs a commercially useful function when it is responsible for execution of the work and is carrying out its responsibilities by actually performing, managing, and supervising the work involved. To perform a commercially useful function, the SLBE/ELBE shall also be responsible, with respect to materials and supplies used on the contract, for negotiating price, determining quantity and quality, ordering the material, and installing (where applicable) and paying for the material itself. To determine whether an SLBE/XXXX is performing a commercially useful function, an evaluation will be performed of the amount of work subcontracted, normal industry practices, whether the amount the SLBE/ELBE firm is to be paid under the contract is commensurate with the work it is actually performing and the SLBE/ELBE credit claimed for its performance of the work, and other relevant factors. Specifically, a SLBE/ELBE does not perform a commercially useful function if its role is limited to that of an extra participant in a transaction, contract, or project through which funds are passed in order to obtain the appearance of meaningful and useful SLBE/ELBE participation, when in similar transactions in which SLBE-ELBE firms do not participate, there is no such role performed. Disadvantaged Business Enterprise (DBE): a certified business that is (1) at least fifty-one (51%) owned by socially and economically Disadvantaged Individuals, or, in the case of a publicly owned business at least fifty-one percent (51%) of the stock is owned by one or more socially and economically Disadvantaged Individuals; and (2) whose daily business operations are managed and directed by one or more socially and economically disadvantaged owners. Disadvantaged Individuals include Black Americans, Hispanic Americans, Asian Americans, and other minorities, or individual found to be disadvantaged by the Small Business Administration pursuant to Section 8 of the Small Business Reauthorization Act. Disabled Veteran Business Enterprise (DVBE): a certified business that is (1) at least fifty-one percent (51%) owned by one or more disabled veterans; and (2) business operations must be managed and controlled by one or more disabled veterans. Disabled Veteran is a veteran of the U.S. military, naval, or air service; the veteran must have a service-connected disability or at least 10% or more; and the veteran must reside in California. The firm shall be certified by the State of California’s Department of General Services, Office of Small and Minority Business. Emerging Business Enterprise (EBE): a business whose gross annual receipts do not exceed the amount set by the City Manager, and which meets all other criteria set forth in the regulations implementing the City’s Small and Local Business Preference Program. The City Manager shall review the threshold amount for EBEs on an annual basis, and adjust as necessary to reflect changes in the marketplace. Emerging Local Business Enterprise (ELBE): a Local Business Enterprise that is also an Emerging Business Enterprise. Local Business Enterprise (LBE): a firm having a Principal Place of Business and a Significant Employment Presence in San Diego County, California, that has been in operation for 12 consecutive months and a valid business tax certificate. This definition is subsumed within the definition of Small Local Business Enterprise. Minority Business Enterprise (MBE): a certified business that is (1) at least fifty-one percent (51%) owned by one or more minority individuals, or, in the case of a publicly owned business at least fifty- one percent (51%) of the stock is owned by one or more minority individuals; and (2) whose daily business operations are managed and directed by one or more minorities owners. Minorities include the groups with the following ethnic origins: African, Asian Pacific, Asian Subcontinent, Hispanic, Native Alaskan, Native American, and Native Hawaiian. Other Business Enterprise (OBE): any business which does not otherwise qualify as Minority, Woman, Disadvantaged or Disabled Veteran Business Enterprise. Principal Place of Business: a location wherein a firm maintains a physical office and through which it obtains no less than fifty percent (50%) of its overall customers or sales dollars. Significant Employee Presence: no less than twenty-five percent (25%) of a business’s total number of employees are domiciled in San Diego County. Small Business Enterprise (SBE): a business whose gross annual receipts do not exceed the amount set by the City Manager, and that meets all other criteria set forth in regulations implementing the City’s Small and Local Business Preference Program. The City Manager shall review the threshold amount for SBEs on an annual basis, and adjust as necessary to reflect changes in the marketplace. A business certified as a DVBE by the State of California, and that has provided proof of such certification to the City Manager, shall be deemed to be an SBE. Small Local Business Enterprise (SLBE): a Local Business Enterprise that is also a Small Business Enterprise. Women Business Enterprise (WBE): a certified business that is (1) at least fifty-one percent (51 %) owned by a woman or women, or, in the case of a publicly owned business at least fifty-one percent (51%) of the stock is owned by one or more women; and (2) whose daily business operations are managed and directed by one or more women owners.

  • Performance of Government Functions Nothing contained in this contract shall be deemed or construed so as to in any way estop, limit, or impair the City from exercising or performing any regulatory, policing, legislative, governmental, or other powers or functions.

  • PROCEDURE TO SELECT, APPOINT AND MANAGE SUB-CONTRACTORS 4.1 The Supplier shall comply with requirements under Clause 25 (Transfer and Sub-Contracting).

  • GOVERNMENTAL FUNCTIONS 1. Remuneration, including pensions, paid by, or out of funds created by, one of the States or a political subdivision or a local authority thereof to any individual in respect of services rendered to that State or subdivision or local authority thereof in the discharge of functions of a governmental nature may be taxed in that State.

  • MANAGEMENT FUNCTION 3.01 The Union recognizes the right of the Company to hire, promote, transfer, demote and layoff employees and to suspend, discharge or otherwise discipline employees for just cause subject to the right of any employee to lodge a grievance in the manner and to the extent as herein provided. The Union further recognizes the right of the Company to operate and manage its business in all respects, to maintain order and efficiency in its operations, and to determine the location of its operations, its products, the scheduling of its operations and its methods, processes, and means of conducting its business. The Union further acknowledges that the Company has the right to make and alter, from time to time, rules and regulations to be observed by employees, which rules and regulations shall not be inconsistent with the provisions of this Agreement.

  • MANAGEMENT FUNCTIONS B-1 The Association recognizes that the management of the Hospital and the direction of the working forces are fixed exclusively in the Hospital and shall remain solely with the Hospital except as specifically limited by the provisions of this Agreement, and without restricting the generality of the foregoing, the Association acknowledges that it is the exclusive function of the Hospital to:

  • Mixed Functions An employee engaged for more than two hours during one day or shift on duties carrying a higher rate than his or her ordinary classification shall be paid the higher rate for such day or shift. If for two hours or less during one day or shift he or she shall be paid the higher rate for the time so worked.

Time is Money Join Law Insider Premium to draft better contracts faster.